English
Forum

GetFocus

 
- 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

 
XProfan X3
Website:  [...] 
Facebook:  [...] 
12/27/15  
 



« 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:
WAY from 100,70,2
....
'If IsKey(17) & IsKey(70)' Strg+F (the out)

If MenuItem(100)

    ...

EndIf


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...
 
XProfan X3
Website:  [...] 
Facebook:  [...] 
12/27/15  
 



Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

5.355 Views

Untitledvor 0 min.
prfBook11/20/18
rafl11/10/16
Oliver03/10/16
Matthias Arlt02/18/16
More...

Themeninformationen

this Topic has 2 subscriber:

ByteAttack (2x)
Jörg Sellmeyer (1x)


Admins  |  AGB  |  Applications  |  Authors  |  Chat  |  Privacy Policy  |  Download  |  Entrance  |  Help  |  Merchantportal  |  Imprint  |  Mart  |  Interfaces  |  SDK  |  Services  |  Games  |  Search  |  Support

One proposition all XProfan, The there's!


My XProfan
Private Messages
Own Storage Forum
Topics-Remember-List
Own Posts
Own Topics
Clipboard
Log off
 Deutsch English Français Español Italia
Translations

Privacy Policy


we use Cookies only as Session-Cookies because of the technical necessity and with us there no Cookies of Drittanbietern.

If you here on our Website click or navigate, stimmst You ours registration of Information in our Cookies on XProfan.Net To.

further Information To our Cookies and moreover, How You The control above keep, find You in ours nachfolgenden Datenschutzerklärung.


all rightDatenschutzerklärung
i want none Cookie