Professional UI Solutions
Site Map   /  Register
 
 

Forum

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 » Problems about floating window Collapse All
Subject Author Date
Chun Pong Lau Sep 28, 2010 - 12:36 AM

Dear support team,


(1) I cannot set the topmost property on a floating dockable control bar by the following method:


     ::SetWindowPos(hWnd, HWND_TOPMOST, 0,0,0,0, (UINT)(SWP_NOMOVE | SWP_NOSIZE));


(2) When I minimize the mainframe, the floating window will be hidden. How can I show it at this time?


Regards,


Chun Pong

Technical Support Sep 28, 2010 - 11:22 AM

This functionality is provided by Windows rather than by Prof-UIS. Floating bars become automatically hidden when their parent frame window gets minimized. Please create a standalone floating CMiniFrameWnd window instead of a floating control bar. You should specify NULL as the parent window when creating your CMiniFrameWnd window.

Chun Pong Lau Sep 28, 2010 - 12:38 AM

Thanks in advance.