| View previous topic :: View next topic |
| Author |
Message |
beardboy
Joined: 02 Mar 2004 Posts: 444 Location: SLC, Utah
|
Posted: Sat Apr 17, 2004 2:37 am Post subject: WinMenuSelectItem |
|
|
Would it be possible to have this check to see if a menu / submenu item is checked / unchecked?
thanks,
beardboy |
|
| Back to top |
|
 |
Rajat
Joined: 28 Mar 2004 Posts: 1717
|
Posted: Sat Apr 17, 2004 3:44 am Post subject: |
|
|
i'll vouch for that! unless Chris can come up with some nice trick to do it with existing commands! _________________
 |
|
| Back to top |
|
 |
beardboy
Joined: 02 Mar 2004 Posts: 444 Location: SLC, Utah
|
Posted: Sat Apr 17, 2004 4:04 am Post subject: |
|
|
One way I thought of possibly doing it with existing commands would be to use PixelGetColor. But that would require the application to be active (or at least the menu visible), and would have to know the exact X/Y of the menu item you are curious about.
thanks,
beardboy |
|
| Back to top |
|
 |
Rajat
Joined: 28 Mar 2004 Posts: 1717
|
Posted: Sat Apr 17, 2004 4:27 am Post subject: |
|
|
i thought on that line too... its not global. _________________
 |
|
| Back to top |
|
 |
Chris Site Admin
Joined: 02 Mar 2004 Posts: 10467
|
Posted: Sat Apr 17, 2004 6:51 am Post subject: |
|
|
| Not yet, but it looks like it can be done with GetMenuItemInfo(). But like WinMenuSelectItem, I don't think it would work on non-standard menu bars such as those used by MS Outlook and Outlook Express. In spite of this, you would actually have a use for it? |
|
| Back to top |
|
 |
|