Hi, you might want to try
Code: Select all
GuiContextMenu:
if !(InStr(A_GuiControl, "LV01"))
return
Sleep, -1 ; process the message queue
Menu, EditMenu, Show, % A_GuiX, % A_GuiY
Gui, %A_Gui%:+LastFound
WinSet, ReDraw
return
Hi, you might want to try
Code: Select all
GuiContextMenu:
if !(InStr(A_GuiControl, "LV01"))
return
Sleep, -1 ; process the message queue
Menu, EditMenu, Show, % A_GuiX, % A_GuiY
Gui, %A_Gui%:+LastFound
WinSet, ReDraw
return
As a result of my testing it seems that a 'real' edit control will be created and destroyed 'on demand' (like already said in the linked articles). Because each edit has its own unique HWND, it's not possible to register the control. Moreover, the controls don't seem to send WM_CTLCOLOREDIT messages to the AHK Gui.
Return to “Scripts and Functions (v1)”
Users browsing this forum: No registered users and 106 guests