| |
|
|
- Page 1 - |
|
ByteAttack | someone ne Idea, How I inquire can, whether a Edit "aktiv" is. means, whether it whom Focus has? in the Mainwindow does it. mere on a tab+Dialogue is not More??? (XProfanX3)
example:
$H windows.ph
$H messages.ph
Window Style 31
Window Title "GetFocus"
Window %maxX+5,5 - 1024,768
Cls ~GetSysColor(15)
var Tab&=Create("TabCtrl",%hwnd,"Tab1",5,5,width(%hwnd,0)-8,height(%hwnd,0)-32)
var tab01&=Control("DIALOG","",$54000000,2,25,width(Tab&,0)-6,height(Tab&,0)-28,Tab&,0,%hinstance)
var Edit&=CreateEdit(tab01&,"",110,10,287,24)
SetWindowPos %hwnd=((%maxX/2)-512),((%maxY/2)-384)-1024,768;0
WhileNot (%Umessage = ~wm_close) & (&uWnd = %hWnd)
WaitInput
If IsKey(17) & IsKey(70)' Strg+F
Print %GetFocus
EndIf
EndWhile
|
|
|
| |
|
|
|
« this Posting watts as Solution marked. » |
|
Jörg Sellmeyer | If it to you only around the intercepting of Strg+F goes, can you rather a Hotkey arrange:
If MenuItem(100) |
|
|
| Windows XP SP2 XProfan X4... und hier mal was ganz anderes als Profan ... | 12/27/15 ▲ |
|
|
|
|
|
ByteAttack | Why simply, if it too umständlich goes... thanks Jörg... |
|
|
| |
|
|