Changeset 113 for trunk/include
- Timestamp:
- Aug 10, 2006, 7:50:03 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/qwindowdefs_pm.h
r97 r113 99 99 const ULONG QT_EXTRAWINDATASIZE = sizeof(LONG) * 2; 100 100 101 #ifdef __cplusplus 102 class Q_EXPORT QPMObjectWindow 103 { 104 public: 105 QPMObjectWindow( bool deferred = FALSE ); 106 virtual ~QPMObjectWindow(); 107 108 bool create(); 109 bool destroy(); 110 HWND hwnd() const { return w; } 111 112 MRESULT send( ULONG msg, MPARAM mp1, MPARAM mp2 ) const { 113 return WinSendMsg( w, msg, mp1, mp2 ); 114 } 115 bool post( ULONG msg, MPARAM mp1, MPARAM mp2 ) const { 116 return WinPostMsg( w, msg, mp1, mp2 ); 117 } 118 119 virtual MRESULT message( ULONG msg, MPARAM mp1, MPARAM mp2 ) = 0; 120 121 private: 122 static MRESULT EXPENTRY windowProc( HWND, ULONG, MPARAM, MPARAM ); 123 124 HWND w; 125 }; 101 126 #endif 127 128 #endif
Note:
See TracChangeset
for help on using the changeset viewer.