Programmatically popup a menu (seperate thread)
-
Hi all. Im trying to popup a menu from a seperate process. The following code can click a menu, but it doesnt affect menus with subitems, which i think is kinda weird. There must be another way. Any ideas?
SendMessage(MenusParentWindowHandle,WM_COMMAND,MenusID,IndexOfTheSelectedMenu), Nothing)
PS. I changed all the var names for easy readin.
All Your Source Are Belong To Us!
-
Hi all. Im trying to popup a menu from a seperate process. The following code can click a menu, but it doesnt affect menus with subitems, which i think is kinda weird. There must be another way. Any ideas?
SendMessage(MenusParentWindowHandle,WM_COMMAND,MenusID,IndexOfTheSelectedMenu), Nothing)
PS. I changed all the var names for easy readin.
All Your Source Are Belong To Us!
-
Hi all. Im trying to popup a menu from a seperate process. The following code can click a menu, but it doesnt affect menus with subitems, which i think is kinda weird. There must be another way. Any ideas?
SendMessage(MenusParentWindowHandle,WM_COMMAND,MenusID,IndexOfTheSelectedMenu), Nothing)
PS. I changed all the var names for easy readin.
All Your Source Are Belong To Us!
Are you calling Api? If yes then you had called findwindow api ya? then it's simple call another API Findwindowex
-
Are you calling Api? If yes then you had called findwindow api ya? then it's simple call another API Findwindowex
The FindWindowEx function retrieves a handle to a window whose class name and window name match the specified strings. The function searches child windows, beginning with the one following the specified child window. This function does not perform a case-sensitive search. What i want to do is something entirely different. Nice try though.
All your source are belong to us!