Professional UI Solutions
Site Map   /  Register


Please Log In to post a new message or reply to an existing one. If you are not registered, please register.

NOTE: Some forums may be read-only if you are not currently subscribed to our technical support services.

Forums » Prof-UIS General Discussion » how to remember old bars position Collapse All
Subject Author Date
Hanbi Ye Jul 30, 2007 - 2:29 PM

My application need when switch two page of docked controlbars , I want to kept the bar which they shared position same as position where I move to. ie. if inthe first page , the bar is at top of the frame, when switch to 2nd page, move it to bottom of mainframe or floating, when I switch back to 1st page I want to it still at bottom of the mainframe or floating, not move back to top

Technical Support Jul 31, 2007 - 11:38 AM

This task is reasonable if you are using one control bar with a tab page container having two page windows. In this case you should use your CExtControlBar-derived class which handles the WM_WINDOWPOSCHGANGED message and analyzes whether the GetParentFrame() method returns a pointer to the main frame window or floating mini frame window.