![]() |
OnInitPopupMenu mand WM_INITPOPUPMEN not happening |
Post Reply
|
| Author | |
MichaelN
Senior Member
Joined: 19 September 2006 Status: Offline Points: 112 |
Post Options
Thanks(0)
Quote Reply
Topic: OnInitPopupMenu mand WM_INITPOPUPMEN not happeningPosted: 14 January 2007 at 1:28pm |
|
OnInitPopupMenu is not being called, even though I have ON_WM_INITPOPUPMENU() in the messagemap and a OninitPopupMenu() handler for my CMDIChildWnd. I gave up on that and added a WindowProc() handler with a test for message == WM_INITPOPUPMENU. It is no go for any of these. Is WM_INITPOPUPMENU being yanked out by the codejock framework? I really need to modify my popup menus. If these no longer work, then what do I do instead? Thanks,
Michael
|
|
![]() |
|
MichaelN
Senior Member
Joined: 19 September 2006 Status: Offline Points: 112 |
Post Options
Thanks(0)
Quote Reply
Posted: 14 January 2007 at 2:33pm |
|
Correction: Oops! I meant OnMenuInitPopup() and WM_INITMENUPOPUP. In othr wiords, I am using the correct names. And the messages are not received.
Michael
|
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 15 January 2007 at 1:03am |
|
Hello,
See Notifications sample.
Add ON_XTP_INITCOMMANDSPOPUP() to message map instread.
|
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
MichaelN
Senior Member
Joined: 19 September 2006 Status: Offline Points: 112 |
Post Options
Thanks(0)
Quote Reply
Posted: 15 January 2007 at 4:41pm |
|
Thanks. That is getting called now.
Michael
|
|
![]() |
|
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 |