Changeset 2335 for trunk/src/user32/new/win32wbase.h
- Timestamp:
- Jan 5, 2000, 10:25:08 PM (26 years ago)
- File:
-
- 1 edited
-
trunk/src/user32/new/win32wbase.h (modified) (7 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/new/win32wbase.h
r2312 r2335 1 /* $Id: win32wbase.h,v 1.1 6 2000-01-03 21:37:17 sandervlExp $ */1 /* $Id: win32wbase.h,v 1.17 2000-01-05 21:25:08 cbratschi Exp $ */ 2 2 /* 3 3 * Win32 Window Base Class for OS/2 … … 41 41 //PostThreadMessage is done through Open32; which means the message id will be translated 42 42 //(0xc00 added) 43 #define OPEN32_MSGDIFF 0xC0043 #define OPEN32_MSGDIFF 0xC00 44 44 #define WIN32APP_POSTMSG (0x1000+OPEN32_MSGDIFF) 45 45 … … 86 86 ULONG MsgHitTest(MSG *msg); 87 87 ULONG MsgNCPaint(); 88 ULONG MsgFormatFrame(); 88 89 ULONG DispatchMsgA(MSG *msg); 89 90 ULONG DispatchMsgW(MSG *msg); … … 138 139 { 139 140 *rect = rectClient; 140 rect Client.right -= rectClient.left;141 rect Client.bottom -= rectClient.top;142 rect Client.left = rectClient.top = 0;141 rect->right -= rect->left; 142 rect->bottom -= rect->top; 143 rect->left = rect->top = 0; 143 144 } 144 145 void setClientRect(PRECT rect) { rectClient = *rect; }; … … 164 165 HICON GetIcon() { return (HICON) iconResource; }; 165 166 166 void SetWindowRegion(HRGN hRegion) { hWindowRegion = hRegion; };167 HRGN GetWindowRegion(){ return hWindowRegion; };167 void SetWindowRegion(HRGN hRegion) { hWindowRegion = hRegion; }; 168 HRGN GetWindowRegion() { return hWindowRegion; }; 168 169 169 170 BOOL ShowWindow(ULONG nCmdShow); … … 318 319 BOOL fParentDC; 319 320 320 HRGN hWindowRegion;321 HRGN hWindowRegion; 321 322 322 323 DWORD dwThreadId; //id of thread that created this window … … 367 368 VOID AdjustRectOuter(LPRECT rect,BOOL menu); 368 369 VOID AdjustRectInner(LPRECT rect); 369 LONG HandleNCCalcSize( RECT *winRect);370 LONG HandleNCCalcSize(BOOL calcValidRects,RECT *winRect); 370 371 LONG HandleNCHitTest(POINT pt); 371 372 VOID GetInsideRect(RECT *rect);
Note:
See TracChangeset
for help on using the changeset viewer.
