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 » Is there any way to disable drawing of the border for CExtBarButton Collapse All
Subject Author Date
Anatoly Paraev Jun 7, 2007 - 1:47 PM

Is it possible to switch off drawing of the border for CExtBarButton button - something similar to CExtButton::SetDrawBorder, but for a button on toolbar?
Thanks in advance

Technical Support Jun 11, 2007 - 9:49 AM

We have just added GetDrawBorder() and SetDrawBorder() methods to the CExtBarButton class with which you can specify whether the button border should be displayed when the mouse pointer is over the toolbar button. If you have a valid subscription, please contact us via email so we can tell you how to download this update from our ftp server.

Technical Support Jun 8, 2007 - 12:50 PM

You should override CExtBarButton::PaintCompound() in which the bDrawBorder member should be set to false when initializing the CExtPaintManager::PAINTPUSHBUTTONDATA structure. Please note we plan to implement this feature in the next release.