- Timestamp:
- Jan 11, 2000, 7:32:07 PM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/new/win32wbasenonclient.cpp
r2406 r2411 1 /* $Id: win32wbasenonclient.cpp,v 1. 2 2000-01-11 13:06:27 sandervlExp $ */1 /* $Id: win32wbasenonclient.cpp,v 1.3 2000-01-11 18:32:07 cbratschi Exp $ */ 2 2 /* 3 3 * Win32 Window Base Class for OS/2 (non-client methods) … … 42 42 #define SC_PUTMARK (SC_SCREENSAVE+2) 43 43 44 #define HAS_DLGFRAME(style,exStyle) \45 (((exStyle) & WS_EX_DLGMODALFRAME) || \46 (((style) & WS_DLGFRAME) && !((style) & WS_THICKFRAME)))47 48 #define HAS_THICKFRAME(style,exStyle) \49 (((style) & WS_THICKFRAME) && \50 !((exStyle) & WS_EX_DLGMODALFRAME) && \51 !((style) & WS_CHILD))52 53 #define HAS_THINFRAME(style) \54 (((style) & WS_BORDER) || !((style) & (WS_CHILD | WS_POPUP)))55 56 #define HAS_BIGFRAME(style,exStyle) \57 (((style) & (WS_THICKFRAME | WS_DLGFRAME)) || \58 ((exStyle) & WS_EX_DLGMODALFRAME))59 60 #define HAS_ANYFRAME(style,exStyle) \61 (((style) & (WS_THICKFRAME | WS_DLGFRAME | WS_BORDER)) || \62 ((exStyle) & WS_EX_DLGMODALFRAME) || \63 !((style) & (WS_CHILD | WS_POPUP)))64 65 #define HAS_3DFRAME(exStyle) \66 ((exStyle & WS_EX_CLIENTEDGE) || (exStyle & WS_EX_STATICEDGE) || (exStyle & WS_EX_WINDOWEDGE))67 68 #define HAS_BORDER(style, exStyle) \69 ((style & WS_BORDER) || HAS_THICKFRAME(style) || HAS_DLGFRAME(style,exStyle))70 71 #define IS_OVERLAPPED(style) \72 !(style & (WS_CHILD | WS_POPUP))73 74 #define HAS_MENU() (!(getStyle() & WS_CHILD) && (GetMenu() != 0))75 76 44 /* bits in the dwKeyData */ 77 45 #define KEYDATA_ALT 0x2000
Note:
See TracChangeset
for help on using the changeset viewer.