Re: Popup menu problem



<the_znail@xxxxxxxxxxx> wrote in message
news:1193388822.906782.114990@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Is there a way to hook that message to TargetApp without using a DLL?
Because MyApp is a plug-in to TargetApp and I don't want to use
another DLL just for hooking.. :)


If your plug-in is a DLL loaded into TargetApp, you can go ahead and
subclass the window owning the menu to handle the WM_INITPOPUPMENU message.

-- David



.



Relevant Pages

  • Re: Popup menu problem
    ... How is an app a plug-in to another app? ... there is no way to make an app a plug-in unless ... And there is no way to hook a DLL across processes without using a DLL. ... Because MyApp is a plug-in to TargetApp and I don't want to use ...
    (microsoft.public.vc.mfc)
  • Re: Dynamic sizing structure?
    ... Each DLL contains a call that creates an object. ... where the plugin provided virtual methods which the client ... when I dynamically loaded the plug-in, ... with the same superclass definition. ...
    (microsoft.public.vc.mfc)
  • Message Map not responding in DLL to WM_SIZE
    ... This is the first time I've written an mfc dll, ... passes them on to a dll protocol plug-in for it to process as it likes. ... I have an object called CNodeConfig. ... m_docked it doesn't resize the CNodeConfig object. ...
    (microsoft.public.vc.mfc)
  • Re: Problem using EngSetPrinterData in user-mode
    ... I have faced such the problem only when I try to set the printer data from ... UNI dll (rendering plug-in). ...
    (microsoft.public.development.device.drivers)
  • Threads & Plug-In DLL
    ... use a plug-in dll with a thread. ... The plug-in is MFC and is derived from ... the thread is MFC and derived from CWinThread. ... in the dll's switch that's used with 'WaitForMultipleObjects', ...
    (microsoft.public.vc.mfc)