Print Page | Close Window

OnInitPopupMenu mand WM_INITPOPUPMEN not happening

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=6115
Printed Date: 12 November 2025 at 3:15am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: OnInitPopupMenu mand WM_INITPOPUPMEN not happening
Posted By: MichaelN
Subject: OnInitPopupMenu mand WM_INITPOPUPMEN not happening
Date 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



Replies:
Posted By: MichaelN
Date 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


Posted By: Oleg
Date 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


Posted By: MichaelN
Date Posted: 15 January 2007 at 4:41pm
Thanks. That is getting called now.
 
Michael



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net