ok, I have an idea what this function does, but I can't seem to get it to work. if someone could please just give me some sample code or something, that would be good. thanks
Printable View
ok, I have an idea what this function does, but I can't seem to get it to work. if someone could please just give me some sample code or something, that would be good. thanks
never tried the function, but will soon. Thanks for pointing it out. Supposedly, you give it the handle to a window that has a menu, the handle to the menu (for determining if it's the main menu or a submenu, i would imagine), and x and y coordinates (window coordinates for top-level or client coordinates for a submenu) and it returns the index number(?) of the menu item you chose. The only possible use i can think of for this function is for determining if someone has clicked a menu in another application. That's why i want to check it out. I'm trying to figure out how to add menu options to another program, such as aol, that i could then use in my own program. (i don't currently use aol, but it was fun to mess with, programming wise)