CMenu::GetMenuState not correct b4 menu is drawn |
Post Reply |
Author | |
jason.g.havok
Newbie Joined: 24 November 2009 Status: Offline Points: 1 |
Post Options
Thanks(0)
Posted: 24 November 2009 at 9:54pm |
I'm using some rather old Codejock software, the Xtreme Toolkit for MFC.
I have a situation where I need to determine the checked/unchecked state of a menu item. For some reason, the state always reports unchecked unless I allow the menu to be drawn (I navigate down to it). I don't click the item (which naturally would check it), I simply allow it to be rendered. After this point, the menu item returns the proper checked state. Any ideas/leads I can pursue? Thanks, Jason G. |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hi,
You have wrong logic here. Your application have hold state for commands and update GUI accordingly.
|
|
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 |