` Printed Icetips Article

Icetips Article



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
>
>



Printed May 6, 2024, 5:08 am
This article has been viewed/printed 35109 times.
Google search has resulted in 21 hits on this article since January 25, 2004.