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 » Round shape Button Collapse All
Subject Author Date
Anil Siddhpura Aug 3, 2009 - 5:23 AM


Is it possible to create Round(Circular) shape button? I would like to create acircular shape button just like as in Media player’s "Play" button


Technical Support Aug 4, 2009 - 1:52 AM

If you have skin images for normal/hovered/pressed/disabled states (a least one image for normal state is required, others are optional), you can simply assign them to the CExtIconButton control. The CExtButton::m_icon property is the CExtCmdIcon object and it’s public. The CExtCmdIcon class has the following public properties:

CExtBitmap m_bmpNormal, m_bmpDisabled, m_bmpHover, m_bmpPressed;

You should load your round button bitmaps into these properties of the CExtCmdIcon class.
The CExtShellDialogFile dialog uses the CExtCmdIcon buttons at the top of the dialog near shell combo box control.