Hi, I have a CDisplay class (CWnd), and I want to programatically add a configurable menu to it, ie, no class wizard junk. Problem is, that I want to support 3-4 instances of this object in one app while maintaining system-wide resource ID integrity and the ability to relay UI msg's when the user clicks the menu. Any creative suggestions?
J
Jon Marcus
@Jon Marcus
Posts
-
Resource ID's and CMenu -
PostMessage and MSG handlerthanks, but I didcovered a much simpler way to do this, which works well.
-
PostMessage and MSG handlerI have a regular DLL using MFC and within this DLL is a worker thread. While this thread is running, it is trying to update a dialog box (owned by the DLL) with some information on the thread's progress. Everything works OK except that the WPARAM and LPARAM values I pass to the dialog are not getting through, and are always zero. Is there some special reason for this?