![]() |
Toolbar Checked Color |
Post Reply ![]() |
Author | |
jimmy ![]() Senior Member ![]() Joined: 11 November 2003 Location: Austria Status: Offline Points: 516 |
![]() ![]() ![]() ![]() ![]() Posted: 24 October 2006 at 6:48am |
Hello,
I've a toolbar with some checked buttons. But one button will wrong paint, if it is checked. Why ??? Jimmy |
|
![]() |
|
jimmy ![]() Senior Member ![]() Joined: 11 November 2003 Location: Austria Status: Offline Points: 516 |
![]() ![]() ![]() ![]() ![]() |
There is no way to upload an image.
Can't upload image ???? Jimmy |
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
Hello,
Please try again. Was available to upload only for admins.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
jimmy ![]() Senior Member ![]() Joined: 11 November 2003 Location: Austria Status: Offline Points: 516 |
![]() ![]() ![]() ![]() ![]() |
first and second button are checked. No mouse over the buttons. Why is 2. button not orange ?? Jimmy |
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
Hello,
in ToolkitPro and in standard MFC toolbars pCmdUI->SetCheck can be called with parameter 0 - unchecked, 1 - checked and 2 - indeterminate
obviously that you call it with parameter 2.
check Update handler for this Id - may be code looks like
pCmdUI->SetCheck(bChecked) but bChecked is 2.
replace is to
pCmdUI->SetCheck(bChecked ? 1 : 0);
|
|
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 |