What does this NUMBER relate to? I have looked at the lists of windows
styles that other people have posted, but they are not numbers, they are
strings. I can't find anything in the Win32::GUI docs and I didn't see
any numbers in the generic windows stuff either. Lil' help? TIA.

The value for pushstyle should be a number. As for what it relates to:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winui/winui/WindowsUserInterface/Windowing/Windows/WindowReference/WindowStyles.asp

Under the hood each style is simply a bit pattern, So in this example:

       -popstyle    => WS_CAPTION | WS_SIZEBOX,
       -pushstyle   => WS_CHILD |WS_CLIPCHILDREN,

we are removing the WS_CAPTION and WS_SIZEBOX styles from the window and adding the WS_CHILD, WS_CLIPCHILDREN styles.

Cheers,

jez.



Reply via email to