Better dividers

BlitzMax Forums/BlitzMax Module Tweaks/Better dividers

JoshK(Posted 2007) [#1]
You can create dividers with the LABEL_SEPARATOR flag.

Open "mods\brl.mod\win32maxgui.mod\win32gui\win32label.cpp" and find this line:
if ((GetWindowLong(_gadget.hwnd(),GWL_STYLE)&SS_TYPEMASK)==SS_ETCHEDFRAME) h=4;

Change it to this:
if ((GetWindowLong(_gadget.hwnd(),GWL_STYLE)&SS_TYPEMASK)==SS_ETCHEDFRAME) h=2;


You should also make your dividers about 4 pixels wider than the window they are on, to avoid a little visual glitch on the ends.