"Jonathan Wilson" jonwil@tpgi.com.au wrote:
From looking at microsoft examples, said examples send WM_SIZE to the status bar and let it reposition itself.
Microsoft examples also tend to be riddled with gotos. I wouldn't use "A Microsoft example did this" as justification for anything.
True. But allowing the status bar to resize itself means that it automaticly takes into acount things like the font its using for the text and stuff.
A possibility that status bar will change its size behind your back justifies the use of GetWindowRect.