![]() |
ribbon button state problem |
Post Reply
|
| Author | |
gernot
Newbie
Joined: 20 June 2006 Location: Austria Status: Offline Points: 12 |
Post Options
Thanks(0)
Quote Reply
Topic: ribbon button state problemPosted: 24 June 2006 at 4:04pm |
|
When I click a button on my Office 2007 style ribbon band, it remains in the 'pressed' state forever. This happens even if I do not implement any handler for that button. My ribbon band is on top of a dialog box.
Can somebody give me a hint?
Regards,
Gernot
|
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 24 June 2006 at 9:35pm |
|
Add like in sample:
ON_MESSAGE(WM_KICKIDLE, OnKickIdle)
+
LRESULT CDialogSampleDlg::OnKickIdle(WPARAM, LPARAM)
{ GetCommandBars()->UpdateCommandBars(); return 0; } |
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
gernot
Newbie
Joined: 20 June 2006 Location: Austria Status: Offline Points: 12 |
Post Options
Thanks(0)
Quote Reply
Posted: 26 June 2006 at 5:27am |
|
Thank you, this solves the problem.
|
|
![]() |
|
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 |