![]() |
LoadMenu discard the MFS_GRAYED flag? |
Post Reply ![]() |
Author | |
blueseaing ![]() Groupie ![]() Joined: 14 June 2004 Status: Offline Points: 42 |
![]() ![]() ![]() ![]() ![]() Posted: 13 September 2004 at 1:44am |
I have such code CMenu cMenu; but the MF_GRAYED not appeared, and if i use the winapi ::TrackPopupMenu() and the BOOL CXTPCommandBar::LoadMenu(CMenu* pMenu, BOOL bRemoveControls) if (bRemoveControls) if ((info.fType & MFT_SEPARATOR) == MFT_SEPARATOR) if (pControl && bSeparator) //added such code but the SetEnabled() function don't effect ??? why?? why?? does the xtp discard the MFS_GRAYED???
|
|
![]() |
|
Oleg ![]() Senior Member ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
it works with 9.10 with TPM_NONOTIFY flag
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
blueseaing ![]() Groupie ![]() Joined: 14 June 2004 Status: Offline Points: 42 |
![]() ![]() ![]() ![]() ![]() |
how can i solve the promblem in xtp8.7, do have any hot fix? please help me.
|
|
![]() |
|
Oleg ![]() Senior Member ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
Add UPDATE handler for ID_FAVORITE_DELETE and call pCmdUI->Enable(FALSE); |
|
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 |