`
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" Printed November 23, 2024, 6:10 am This article has been viewed/printed 35278 times. Google search has resulted in 21 hits on this article since January 25, 2004. |