it can do a lot for you
if you look at the structures i posted earlier, you will see that i have horz and vert scroll info structs
i use the same code for both axis
at the beginning, i just grab a pointer into the structure
if it is horz scroll, the scroll info struct is right there
if it is vert scroll, i add the struct size and - bang - i am pointing at vert scroll info
then - both use the same code
again - with the handles...
when the child windows and controls are created in a loop, the handles fill the structure
in WM_SIZE, i use an index into the handle struct to adjust window/control sizes and positions
so - it saves more than a few bytes :t