` Identifying menu activities (Jim Kane) - Icetips Article
Icetips - Templates, Tools & Utilities for Clarion Developers

Templates, Tools and Utilities
for Clarion Developers

Icetips Article

Back to article list   Search Articles     Add Comment     Printer friendly     Direct link  

Windows API: Identifying menu activities
2002-12-02 -- Jim Kane
 
Newsgroups: softvelocity.products.c55ee The only way I know is to subclass and watch windows messages. You would also have to do a lot of api calls to figure out the hwnd and menu id for each menu item based on its text. In anycase when the menu is first activated wm_syscommand is generated. wm_menuselected is generated when the item is selected, and wm_command is generated when the menu item is clicked. When ever I have modified clarion menus via the api, I have found them to be very 'windows standard' so any of the large amount of info on menu releated messages found in msdn applies. jim kane "Kristian" wrote in message news:3de60405@news.softvelocity.com... > Hi! > > Can anyone give me a hint of how to indentify that some of the menues are > highlighted (but not selected) > > Kristain > >


Today is November 21, 2024, 3:58 am
This article has been viewed 35273 times.
Google search has resulted in 21 hits on this article since January 25, 2004.



Back to article list   Search Articles   Add Comment   Printer friendly

Login

User Name:

Password: