Enables one (or more) Windows Extended Window flags and flags, and thus changes the appearance of a window.
W: Long - Handle of a window, or (forB. HWnd%) or a control (forB. box)
S: Long - the value (s) for Window Style (s), or Extended window style (s)
Q: Long - flag, which styles are used: 0 = Window-Style / 1 = Extended Window Style
Score: 0
This looks like a window can be changed, which is already open. AddWindowStyle () adds
this, the specified Style with S added. This can have a combination of multiple window
His styles. However, the standard Windows styles may not with the extended window styles
be combined! If they want more one (or) extended window style (s) to add, then
must be specified for F is 1, for standard Windows styles a 0
Examples:
(1. Adds Profanfenster a horizontal and vertical scroller added)
(2. Adds a list box adds a window frame and makes the window a tool window. Yes, you really!)
Window 0,0-800,600 'Example 1
AddWindowStyle (% hwnd, $ 300000.0) '(both Scroller add)
(listbox% = Create "listbox", hwnd%, "", 176,8,496,368)
Example 2
AddWindowStyle (% listbox, $ C00000, 0) '(add borders)
AddWindowStyle (listbox%, 1,1) '(tool WindowStyle Trail)
SetText% listbox, "This' is still a list box!" '(Window title set)