Toolbar Icons

Started by David Martin, February 27, 2005, 12:01:58 PM

Previous topic - Next topic

Roger Garstang

I think I'm going to be using more toolbars now.  Next thing we need is progressbars in the statusbar...hehehe

Use:
SetParent, then-
FF_StatusBar_GetRect(HWND_STATUSBAR, 2, panel)
MoveWindow(HWND_FILEPROGRESS, panel.nLeft, panel.nTop, panel.nRight-panel.nLeft, panel.nBottom-panel.nTop, %FALSE)

Although internally you probably wouldn't need the wrapper other than to help in code generation.  Might need a small adjustment for XP Themes too, maybe shrinking it on top and bottom and having a 1 pixel space on top and bottom then to leave a little room for Billy to slap his 3D colors all over it.  I think it also draws the right or left bounding line for the panel funny too...I just like keeping themes off when I have one down there because it looks better.