SHOW:
|
|
- or go back to the newest paste.
1 | - | Window is child |
1 | + | Window is child - WS_CHILD |
2 | ||
3 | - | windows is parent |
3 | + | windows is parent - (~WS_CHILD) but a child window is also a parent of their children |
4 | ||
5 | - | window is active |
5 | + | window is active - no style for that (GetForegroundWindow returns the current actual active window) |
6 | window is inactive - no style for that (GetForegroundWindow returns the current actual active window) | |
7 | - | window is inactive |
7 | + | |
8 | window is movable - no style for that its done by managing the event on WM_SYSCOMMAND but... without WS_SYSMENU it wont have the menu to move the window | |
9 | - | window is movable |
9 | + | |
10 | window is resizable at sides - handled by the program on WM_SIZING | |
11 | - | window is resizable at sides |
11 | + | window is resizable at corners and sides - handled by the program on WM_SIZING |
12 | window is has resize handle at bottom right corner - handled by the program on WM_SIZING | |
13 | - | window is resizable at corners and sides |
13 | + | window is resizable at a fixed aspect ratio only - handled by the program on WM_SIZING |
14 | *but it require the WS_SIZEBOX / WS_THICKFRAME for the window to be resizable* | |
15 | - | window is has resize handle at bottom right corner |
15 | + | |
16 | window has titlebar - WS_CAPTION | |
17 | - | window is resizable at a fixed aspect ratio only |
17 | + | window has titlebar button on left instead of on right hand side - WS_EX_RIGHT | WS_EX_RTLREADING |
18 | ||
19 | - | window has titlebar |
19 | + | window has thin border - WS_BORDER or WS_EX_*EDGE |
20 | ||
21 | - | window has titlebar button on left instead of on right hand side |
21 | + | window can be clicked outside of - hu? |
22 | ||
23 | - | window has thin border |
23 | + | window blinks if user tries to click outside of it |
24 | *it can be handled manually with FlashWindow() on WM_ACTIVATE... but if you try to click on a parent that got disabled by a message box... this happen automatically* | |
25 | - | window can be clicked outside of |
25 | + | |
26 | window can be hidden (for dialogs only, not the same as minimized, that would have a task bar task button) | |
27 | - | window blinks if user tries to click outside of it |
27 | + | |
28 | *theres no cant cannot be hidden, that is either minimize that would should minimized on the desktop or hidden programatically by handling the WM_SYSCOMMAND* | |
29 | ||
30 | window has close button - (WS_CAPTION always have a close button, that would be disabled without WS_SYSMENU style) | |
31 | window has minimize button - WS_MINIMIZEBOX | |
32 | window has maximize button - WS_MAXIMIZEBOX | |
33 | - | window has close button |
33 | + | window has help button - WS_EX_CONTEXTHELP |
34 | ||
35 | - | window has minimize button |
35 | + | window has vertical scroll bar - WS_VSCROLL |
36 | window has horizontal scroll bar - WS_HSCROLL | |
37 | - | window has maximize button |
37 | + | |
38 | window can be maximised/restored down on taskbar double click - can be overriden by manipulating WM_NCBUTTONDOWN | |
39 | - | window has help button |
39 | + | |
40 | window has hidden close button on left hand side of titlebar (double click) - WS_SYSMENU | |
41 | - | window has vertical scroll bar |
41 | + | |
42 | ||
43 | - | window has horizontal scroll bar |
43 | + | |
44 |