WM_CANCELMODE handling

Tech-Archive recommends: Speed Up your PC by fixing your registry

From: V. Prem Krishnan (prem_at_emuzed.com)
Date: 06/21/04


Date: Mon, 21 Jun 2004 17:18:14 +0530


  Within my application, if I click on the start icon, i get a WM_CANCELMODE
with both wParam and lParam as 0.
  WM_CANCELMODE is also sent when an icon from a menu is clicked.
  How do I distinguish between the two ?
  More specifically, I would like to get a notification that the Start icon
has been clicked and pause GAPI immediately.
  Can anyone tell me how to handle this ? This is urgent..
  Regards,
  Prem



Relevant Pages

  • Drop Down Box Help
    ... INT_PTR CALLBACK MainDlgProc(HWND hDlg, UINT msg, WPARAM wParam, LPARAM ... small icon ...
    (microsoft.public.vc.mfc)
  • Re: Problem mit Taskbar-Icon nach Explorer-Restart...
    ... Deiner Verarbeitungsschleife abfragen und dann das Icon neu erzeugen ... Icon in der Taskbar nicht wieder erzeugen, da wie gesagt die WM_CREATE nur ... LRESULT CALLBACK WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM ...
    (microsoft.public.de.vc)
  • Re: Displaying Service From Sys Tray
    ... icon in the system tray. ... Now if OnSysTrayNotifyis the function in your app which handles ... void CRxEngineDlg::OnSysTrayNotify(UINT wParam, LONG lParam) ... nice to bring up the currently running app that is hidden and running as a ...
    (microsoft.public.vc.mfc)
  • Re: Displaying Service From Sys Tray
    ... icon in the system tray. ... void CRxEngineDlg::OnSysTrayNotify(UINT wParam, LONG lParam) ... This will hide the window when you close it. ...
    (microsoft.public.vc.mfc)
  • Re: Is there a limitation on the size and resolution for the prope
    ... I opened the icon file in resource view and its property shows it is ... LPARAM lParam) ... Microsoft MVP, MCSD ... Computer and User console. ...
    (microsoft.public.win32.programmer.ole)