| View previous topic :: View next topic |
| Author |
Message |
Joy2DWorld
Joined: 04 Dec 2006 Posts: 561 Location: Galil, Israel
|
Posted: Mon Oct 08, 2007 12:46 am Post subject: |
|
|
NICE!!!!
incredibly useful!!!!!!!!!
(@Sean,
is there call to also get MFS_HILITE info and such ?) _________________ Joyce Jamce |
|
| Back to top |
|
 |
Lexikos
Joined: 17 Oct 2006 Posts: 7299 Location: Australia
|
Posted: Mon Oct 08, 2007 2:22 am Post subject: |
|
|
| GetMenuState & MF_HILITE (which has the same value as MFS_HILITE.) |
|
| Back to top |
|
 |
Sean
Joined: 12 Feb 2007 Posts: 2462
|
Posted: Mon Oct 08, 2007 3:24 am Post subject: |
|
|
| Joy2DWorld wrote: | | is there call to also get MFS_HILITE info and such ? |
I saw Micha's script use the API GetMenuItemInfo, so I suppose the infos about the item state are already there. Otherwise, and if you need only the state infos, GetMenuState can be handy as lexicos said. |
|
| Back to top |
|
 |
kenn
Joined: 11 Oct 2010 Posts: 288
|
|
| Back to top |
|
 |
guest_ Guest
|
Posted: Tue Dec 06, 2011 9:04 pm Post subject: |
|
|
This is a little bit advanced and depends on the software, but after selecting/deselecting an item most applications are receiving a message about the event. You can try i.e. winspector to "trace" what messages are sent after manually selecting a context menu entry.
If you know the message and parameters you could use sendmessage. |
|
| Back to top |
|
 |
|