statusbar.h
上传用户:fjzzwyy
上传日期:2007-01-14
资源大小:244k
文件大小:2k
源码类别:

绘图程序

开发平台:

Visual C++

  1. #if !defined(AFX_STATUSBAR_H__C526B1A5_30C9_47D3_B4C6_24E023EB8C4E__INCLUDED_)
  2. #define AFX_STATUSBAR_H__C526B1A5_30C9_47D3_B4C6_24E023EB8C4E__INCLUDED_
  3. #if _MSC_VER > 1000
  4. #pragma once
  5. #endif // _MSC_VER > 1000
  6. // Machine generated IDispatch wrapper class(es) created by Microsoft Visual C++
  7. // NOTE: Do not modify the contents of this file.  If this class is regenerated by
  8. //  Microsoft Visual C++, your modifications will be overwritten.
  9. // Dispatch interfaces referenced by this interface
  10. class CPanels;
  11. class CPicture;
  12. class COleFont;
  13. /////////////////////////////////////////////////////////////////////////////
  14. // CStatusBar1 wrapper class
  15. class CStatusBar1 : public CWnd
  16. {
  17. protected:
  18. DECLARE_DYNCREATE(CStatusBar1)
  19. public:
  20. CLSID const& GetClsid()
  21. {
  22. static CLSID const clsid
  23. = { 0x8e3867a3, 0x8586, 0x11d1, { 0xb1, 0x6a, 0x0, 0xc0, 0xf0, 0x28, 0x36, 0x28 } };
  24. return clsid;
  25. }
  26. virtual BOOL Create(LPCTSTR lpszClassName,
  27. LPCTSTR lpszWindowName, DWORD dwStyle,
  28. const RECT& rect,
  29. CWnd* pParentWnd, UINT nID,
  30. CCreateContext* pContext = NULL)
  31. { return CreateControl(GetClsid(), lpszWindowName, dwStyle, rect, pParentWnd, nID); }
  32.     BOOL Create(LPCTSTR lpszWindowName, DWORD dwStyle,
  33. const RECT& rect, CWnd* pParentWnd, UINT nID,
  34. CFile* pPersist = NULL, BOOL bStorage = FALSE,
  35. BSTR bstrLicKey = NULL)
  36. { return CreateControl(GetClsid(), lpszWindowName, dwStyle, rect, pParentWnd, nID,
  37. pPersist, bStorage, bstrLicKey); }
  38. // Attributes
  39. public:
  40. // Operations
  41. public:
  42. CString GetSimpleText();
  43. void SetSimpleText(LPCTSTR lpszNewValue);
  44. long GetStyle();
  45. void SetStyle(long nNewValue);
  46. CPanels GetPanels();
  47. void SetRefPanels(LPDISPATCH newValue);
  48. long GetMousePointer();
  49. void SetMousePointer(long nNewValue);
  50. CPicture GetMouseIcon();
  51. void SetMouseIcon(LPDISPATCH newValue);
  52. void SetRefMouseIcon(LPDISPATCH newValue);
  53. BOOL GetShowTips();
  54. void SetShowTips(BOOL bNewValue);
  55. long GetOLEDropMode();
  56. void SetOLEDropMode(long nNewValue);
  57. BOOL GetEnabled();
  58. void SetEnabled(BOOL bNewValue);
  59. COleFont GetFont();
  60. void SetRefFont(LPDISPATCH newValue);
  61. long GetHWnd();
  62. void SetHWnd(long nNewValue);
  63. void Refresh();
  64. void OLEDrag();
  65. };
  66. //{{AFX_INSERT_LOCATION}}
  67. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  68. #endif // !defined(AFX_STATUSBAR_H__C526B1A5_30C9_47D3_B4C6_24E023EB8C4E__INCLUDED_)