[Win32gui-code] rebars
Status: Beta
Brought to you by:
jtorjo
From: Steve J. <st...@ca...> - 2005-06-09 02:00:27
|
Hiya, I asked recently about rebars. I think the best approach for me to take here is to consider one of the example projects that comes with win32gui, namely, the "menus and rebars" project (win32gui-lib/examples/menus/menus and rebars/menus and rebars.sln). In it, a toolbar and then an edit control are added to a rebar. What I'd like to change about the behaviour of the rebar in that project is for: - the edit control to be of a fixed size, say, 100 pixels. - the edit control to follow directly after the last of the toolbar buttons. At the moment, the edit control is either on a separate line of the rebar to the toolbar, or if the app frame is sized to be large enough, the edit control jumps to the top rebar line but it is right-justified. In summary, what I'd like is for the rebar to look similar to this mocked up picture: http://www.stevejay.net/rebar.jpg Bye, Steve |