Date: 02-16-2022
Return to Index
created by gbSnippets
These are the styles found by WinSpy when no style/exstyle is used in Dialog New:
%DS_SetFont = &H0040& = Default (auto)
%DS_ModalFrame = &H0080& = Default
%DS_3DLook = &H0004& = Default (auto)
%DS_NoFailCreate = &H0010& = Default (auto)
-----
%WS_Border = &H00800000 = Default
%WS_ClipSiblings = &h04000000 = Default
%WS_DlgFrame = &H00400000 = Default
%WS_Popup = &H80000000 = Default
%WS_Caption = &h00c00000 = Default
%WS_Visible = &H10000000 = Default 'not in Help, but in win32api.inc
-----
%WS_Ex_LTRReading = &h00000000 = Default
%WS_Ex_Left = &h00000000 = Default
%WS_Ex_RightScrollbar = &h00000000 = Default
-----
%WS_Ex_ControlParent = &h00010000 = Default per WinSpy - in Help but not default
%WS_Ex_DlgModalFrame = &h00000001 = Default per WinSpy - not in Help
%WS_Ex_WindowEdge = &h00000100 = Default per WinSpy - in Help but not default
==============================================================
%WS_Overlapped = &h0
%WS_OverlappedWin = = not in Help, but in win32api.inc overlapped+border+dlgframe+sysmenu+thickframe
%WS_OverlappedWindow= = overlapped+border+dlgframe+sysmenu+thickframe+minmizebox+maximizebox
==============================================================
These are the styles found by WinSpy when WS_OverlappedWindow is used in Dialog New:
%DS_SetFont = &H0040& = Default
%DS_3DLook = &H0004& = Default
%DS_NoFailCreate = &H0010& = Default
-----
%WS_Overlapped = &h0
%WS_OverlappedWindow= &h00cf0000
%WS_ClipSiblings = &h04000000 = Default
%WS_Visible = &H10000000 = Default per WinSpy - not in Help
-----
%WS_Ex_LTRReading = &h00000000 = Default
%WS_Ex_Left = &h00000000 = Default
%WS_Ex_RightScrollbar = &h00000000 = Default
-----
%WS_Ex_ControlParent = &h00010000 = Default per WinSpy - in Help but not default
%WS_Ex_WindowEdge = &h00000100 = Default per WinSpy - in Help but not default
'gbs_01109
'Date: 03-10-2012
http://www.garybeene.com/sw/gbsnippets.htm