00001 00002 // 00003 // CSizingControlBarCF Version 2.43 00004 // 00005 // Created: Dec 21, 1998 Last Modified: August 03, 2000 00006 // 00007 // See the official site at www.datamekanix.com for documentation and 00008 // the latest news. 00009 // 00011 // Copyright (C) 1998-2000 by Cristi Posea. All rights reserved. 00012 // 00013 // This code is free for personal and commercial use, providing this 00014 // notice remains intact in the source files and all eventual changes are 00015 // clearly marked with comments. 00016 // 00017 // You must obtain the author's consent before you can include this code 00018 // in a software library. 00019 // 00020 // No warrantee of any kind, express or implied, is included with this 00021 // software; use at your own risk, responsibility for damages (if any) to 00022 // anyone resulting from the use of this software rests entirely with the 00023 // user. 00024 // 00025 // Send bug reports, bug fixes, enhancements, requests, flames, etc. to 00026 // [email protected] or post them at the message board at the site. 00028 00029 #if !defined(__SCBARCF_H__) 00030 #define __SCBARCF_H__ 00031 00032 #if _MSC_VER >= 1000 00033 #pragma once 00034 #endif // _MSC_VER >= 1000 00035 // scbarcf.h : header file 00036 // 00037 00038 #include "scbarg.h" 00039 00041 // CSizingControlBarCF 00042 00043 #ifndef baseCSizingControlBarCF 00044 #define baseCSizingControlBarCF CSizingControlBarG 00045 #endif 00046 00047 class CSizingControlBarCF : public baseCSizingControlBarCF 00048 { 00049 DECLARE_DYNAMIC(CSizingControlBarCF) 00050 00051 // Construction 00052 public: 00053 CSizingControlBarCF(); 00054 00055 // Overridables 00056 virtual void OnUpdateCmdUI(CFrameWnd* pTarget, BOOL bDisableIfNoHndler); 00057 00058 // Implementation 00059 protected: 00060 // implementation helpers 00061 virtual void NcPaintGripper(CDC* pDC, CRect rcClient); 00062 00063 protected: 00064 BOOL m_bActive; // a child has focus 00065 CString m_sFontFace; 00066 00067 // Generated message map functions 00068 protected: 00069 //{{AFX_MSG(CSizingControlBarCF) 00070 //}}AFX_MSG 00071 afx_msg LRESULT OnSetText(WPARAM wParam, LPARAM lParam); 00072 00073 DECLARE_MESSAGE_MAP() 00074 }; 00075 00077 00078 #endif // !defined(__SCBARCF_H__)