Login
`
Templates, Tools and Utilities
|
||
Add a comment to an Icetips ArticlePlease add your comments to this article.
Please note that you must provide both a name and a valid email address in order
for us to publish your comment. Comments are moderated and are not visible until they have been approved. Spam is never approved!
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"
Today is November 23, 2024, 3:27 am This article has been viewed 35278 times. Google search has resulted in 21 hits on this article since January 25, 2004.
|
|