ease Posted May 29, 2008 Posted May 29, 2008 Hi, I'd like to operate on context menu in another application. but I don't know how to get the handle of context menu. Currently, we only have _GUICtrlMenu_GetMenu() to get application menu. Could you help me? Thanks!
rasim Posted May 29, 2008 Posted May 29, 2008 From help:Remarks_GUICtrlMenu_GetMenu does not work on floating menu bars. Floating menu bars are custom controls that mimic standardmenus, but are not menus.
PsaltyDS Posted May 29, 2008 Posted May 29, 2008 I'd like to operate on context menu in another application. but I don't know how to get the handle of context menu.What does it look like in AU3Info.exe, the AutoIt window info tool? Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law
ease Posted May 30, 2008 Author Posted May 30, 2008 What does it look like in AU3Info.exe, the AutoIt window info tool? Hi,AutoIT window info tool can't find the handle of context menu.And I find may be this api FindWindowEx can solve the problem.FindWindowEx( NULL, NULL, MAKEINTATOM(0x8000), NULL ); 0x8000 is the atom for a menu class. When an application calls this function, the function checks whether a context menu is being displayed that the application created. But I don't know how to use MAKEINTATOM in autoIT.I also search the this problem in this forum. there are some preson have asked these problems,but no one get the right answer.I expect that I can get the answer.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now