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 » how to remove... Collapse All
Subject Author Date
Kenan Hrustanovic Mar 29, 2005 - 5:19 PM

 


Hello dear support team,


I have two problems, first: how to remove drag&drop points on the left side of each Prof-UIS toolbar, second: how to place toolbar on the bottom of dialog?


1.
CExtBarContentExpandButton* CMyExtToolControlBar::OnCreateBarRightBtn(){ return NULL}


...removes the right button from the toolbar, but I can not find comparable function to remove the drag&drop points from the left side.


2.
I know, how to create CExtToolControlBar on top of dialog.



Thanks, Kenan.

Technical Support Mar 30, 2005 - 4:57 AM

Here are the answers to your questions.


1. You most probably mean how to remove a toolbar gripper. This can be done by removing the CBRS_GRIPPER style:

m_wndToolBar.SetBarStyle( 
 
   m_wndToolBar.GetBarStyle() & ~CBRS_GRIPPER 
 
);
2. To dock a toolbar at the bottom of the dialog can be done in the same manner as it is to be at the top but you should specify the 0x50408234 value in the Style edit box. This value contains CBRS_BOTTOM instead of CBRS_TOP.