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 Tech Support » Disable Docking bars from being closed Collapse All
Subject Author Date
Offer Har Oct 22, 2006 - 8:30 AM

Hi,

I need to disable the closing of a specific docking bar for a specific user’s operation.
Please note that the bar could be tabbed with other bars, and then i need the tabbed dialog to not be able to be closed.

How do I achieve this behavior?

Thanks
Offer

Technical Support Oct 23, 2006 - 8:29 AM

We have an enhanced version of control bars that will be introduced in the next release. This version features exactly what you are looking for. Please contact us via email so we provide you with this update.

Offer Har Oct 24, 2006 - 7:34 PM

Dear support,

I have wrote you by mail, i will also write it here, so that it won’t get lost.

The solution you provided does not solve the problem.
My mail concern is that i don’t have a wait to prevent a bug from being closed, or to catch the event when a bar is being closed, and then prevent it.

You solution give me a way to catch the event of the ’X’ being clicked. This is not the only way to close a docking bar. I can close it from the docking bar menu, from the code, when sending WM_COMMAND, and when it is docked in a tabbed group, just to name few methods.

Please provide a method like WM_CLOSE that is fired just before the docking bar is about to be closed.

Best Regards,

Offer

Technical Support Oct 25, 2006 - 11:29 AM

The menu commands cannot be not handled as "X" button clicks. This relates both to the context menu over tabs and to menu bar’s menus. You can handle the bar commands in the main frame window and only perform displaying of the bar(s).

Offer Har Oct 25, 2006 - 11:43 AM

I agree, i need to manage the commands elsewhere.
My only concern is the tabbed layout now, that does not fully work in the solution you provided me via mail.

Regards,
Offer

Offer Har Oct 23, 2006 - 9:49 AM

I have contacted you, and waiting for the patch...
Thanks,
Offer