Re: menu window



I'm not sure what is the connection between the CMenu::TrackPopupMenu()
question and menu bars, but you are right. On CE menus are true windows.
Popup menu window handle, for example, can be obtained using
FindWindow("MNU", NULL).


<r_z_aret@xxxxxxxxxxxx> wrote in message
news:ifhf52h35tvcpf7pcttjbsbk3gs60e1s7a@xxxxxxxxxx
On Tue, 2 May 2006 10:32:50 +0200, "voidcoder" <voidcoder@xxxxxxxxx>
wrote:

Menus don't have window handles.

They do for Windows CE, and are used in CommandBar_InsertMenubar and
other functions. For Pocket PC, see hwndMB member of SHMENUBARINFO
structure. For other platforms, see return from CommandBar_Create.




"Semion" <semionb@xxxxxxxxx> wrote in message
news:uxeR5ePbGHA.3720@xxxxxxxxxxxxxxxxxxxxxxx
Hello, All!

I use CMenu that i call with TrackPopupMenu() function.
How can I get the window of hte menu?

Thank you in advance.




-----------------------------------------
To reply to me, remove the underscores (_) from my email address (and
please indicate which newsgroup and message).

Robert E. Zaret, eMVP
PenFact, Inc.
20 Park Plaza, Suite 478
Boston, MA 02116
www.penfact.com


.



Relevant Pages

  • WARNING - Long Reply Re: Pop ups keep getting through - and they are driving me NUTS
    ... need to block these with a firewall as a general protection measure. ... Messenger Service Window That Contains an Internet Advertisement ... provide popup messages to users. ... Make sure that you are up-to-date on ALL critical Windows ...
    (microsoft.public.windows.inetexplorer.ie6.browser)
  • Re: Harddisk Problems
    ... To start the Recovery Console, start the computer from the Windows 2000 ... Setup CD or the Windows 2000 Setup floppy disks. ... | Source: Application Popup ... | Application popup: SyncBack.exe - Corrupt File: The file or directory ...
    (microsoft.public.win2000.advanced_server)
  • Re: virus? WARNING - Long Reply
    ... connected to the Internet with a title bar reading "Messenger Service", ... need to block these with a firewall as a general protection measure. ... provide popup messages to users. ... Make sure that you are up-to-date on ALL critical Windows ...
    (microsoft.public.win2000.registry)
  • Re: disabling Internet popup messages
    ... All versions of Windows since.. ... That is an Internet Web PopUp.. ... To enable or disable Internet Connection Firewall ...
    (microsoft.public.windowsxp.security_admin)
  • Re: Pop ups
    ... > and as soon as it logs on I get at least one popup. ... scan with HijackThis. ... If you are running Windows ME or XP, ... System Restore point from the More Options section of Disk Cleanup ...
    (microsoft.public.windowsxp.security_admin)