![]() |
Different states for toolbar buttons |
Post Reply ![]() |
Author | |
Anbhu ![]() Newbie ![]() ![]() Joined: 22 June 2011 Location: Canada Status: Offline Points: 1 |
![]() ![]() ![]() ![]() ![]() Posted: 22 June 2011 at 5:08pm |
Hi All,
i have created my application tool bar using CXTPToolBar and the CXTPPaintManager is derived from office2003 theme.
In office 2003 theme, the disabled and normal state of the buttons does not have border only Mouse hover and click states are having border.
Actually i want to have different images for the 4 states of toolbar buttons (Disabled, Normal, mouse hover and Selected state) and each state should have different colored border. Please provide your ideas how this can be achieved?
Is there any other theme available to implement this?
i was trying to implement this by overiding the CXTPOffice2003Theme::DrawControlEntry function, but i am not able to set different border for mouse hover state.
Any help will appriciated.
Thanks,
|
|
Cheers!!!
|
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
Hi,
Yes, DrawControlEntry is method you need. Can you show what you tried ?
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |