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 » About CExtToolControlBar Collapse All
Subject Author Date
tera t Feb 15, 2008 - 2:01 AM

Hello.

I want to draw a frame in CExtBarButton in CExtToolControlBar.
Is there the method to have easily?

http://www.yukai.jp/~ifreeta/20080215/image02.jpg

Or should I make original CMyBarButtonFrame?

tera t Feb 25, 2008 - 11:21 PM


I was able to draw well.

Technical Support Feb 18, 2008 - 4:31 AM

This feature can be implemented as a custom painted toolbar button. You should create your own toolbar button class derived from the CExtBarButton class. Your class should implement a CExtBarButton::PaintCompound() virtual method that calls the parent class method and then draws the frame over the button surface painted by default.