Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - OnInitPopupMenu mand WM_INITPOPUPMEN not happening
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

OnInitPopupMenu mand WM_INITPOPUPMEN not happening

 Post Reply Post Reply
Author
Message
MichaelN View Drop Down
Senior Member
Senior Member


Joined: 19 September 2006
Status: Offline
Points: 112
Post Options Post Options   Thanks (0) Thanks(0)   Quote MichaelN Quote  Post ReplyReply Direct Link To This Post Topic: OnInitPopupMenu mand WM_INITPOPUPMEN not happening
    Posted: 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
Back to Top
MichaelN View Drop Down
Senior Member
Senior Member


Joined: 19 September 2006
Status: Offline
Points: 112
Post Options Post Options   Thanks (0) Thanks(0)   Quote MichaelN Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
Oleg View Drop Down
Senior Member
Senior Member


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
MichaelN View Drop Down
Senior Member
Senior Member


Joined: 19 September 2006
Status: Offline
Points: 112
Post Options Post Options   Thanks (0) Thanks(0)   Quote MichaelN Quote  Post ReplyReply Direct Link To This Post Posted: 15 January 2007 at 4:41pm
Thanks. That is getting called now.
 
Michael
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.047 seconds.