Español
SKControl.DLL

Control Abfrage con GetFocus

 

ByteAttack
¡Hola,
irgendwie muss Soy un Denkfehler haben más o menos???
Yo möchte wissen, si una ColorComboEditBox el enfoque ha...
Laut Hilfedatei debería lo con GW_CHILD trabajo.
Also entweder mach Yo qué falso, oder wünsche me weniger Demenz....
Wenn alguien una Concepto ha, así möge él ellos me Por favor, kundtun
KompilierenMarcaSeparación
USERMESSAGES 16
DEF GetWindow(2) !"USER32","GetWindow"
Def GetSysColor(1) !"USER32","GetSysColor"
 $I SKControl.inc
declare GW_CHILD&,string#,skdll&,ende%,EditBox&,Zeile%,GWHandle&
GW_CHILD& = 5
dim string#,255
skdll&=UseDll("SKControl.dll")
SKCtrl_InitDll()
WindowStyle 24
Window (%maxX/2)-320,((%maxY/2)-240)-640,480
Windowtitle "SKControl.DLL - Handles"
Set("TrueColor",1)
Cls GetSysColor(15)
EditBox&=SKCtrl_CreateColorComboEditBox(%hwnd,0,RGB(255,255,0),RGB(0,0,125),300,10,200,100,%hInstance)
ClearList
AddString "Eintrag 1"
AddString "Eintrag 2"
MoveListToHandle(EditBox&)
Zeile%=SelectString(EditBox&,-1,"Eintrag 1")
GWHandle&=GetWindow(EditBox&,GW_CHILD&)
print "GW_CHILD :"+Str$(GWHandle&)+" - "+GetString$(GWHandle&,Zeile%)+"\n"
print "EditBox& :"+Str$(EditBox&)+" - "+GetString$(EditBox&,Zeile%)+"\n"

WhileNot ende%

    WaitInput
    Case %Umessage=16 : ende%=1
    Locate 5,0
    print "%GetFocus: "+Str$(%GetFocus)

    If GetFocus(GWHandle&)

        print "GWHandle"

    ElseIf GetFocus(EditBox&)

        print "MainHandle"

    EndIf

EndWhile

dispose string#
SKCtrl_DeInitDll()
FreeDll skdll&
end
 
11.09.2014  
 



Habs ahora no en el Schirm aber por qué siempre dieses:

Sinestar encargado ende%

WaitInput
Case %Umessage=16 : ende%=1

en lugar de do{ oder mientras que 1 y Case %Umessage=16 : romper ?
 
11.09.2014  
 




ByteAttack
IF (11.09.14)

Habs ahora no en el Schirm aber por qué siempre dieses:

Sinestar encargado ende%

WaitInput
Case %Umessage=16 : ende%=1

en lugar de do{ oder mientras que 1 y Case %Umessage=16 : romper ?


Ist ahora genau, dass Yo wissen quería....
 
11.09.2014  
 



Jaja, witzig, sorry.
 
11.09.2014  
 



Respuesta


Título del Tema, max. 100 Signo.
 

Systemprofile:

Kein Systemprofil creado. [anlegen]

XProfan:

 Contribución  Font  Smilies  ▼ 

Bitte registro en una Contribución a verfassen.
 

Tema opciones

2.987 Views

Untitledvor 0 min.
Gast.081517.12.2024
Sven Bader27.01.2023
Stephan Sonneborn20.11.2015
ByteAttack06.08.2015
Más...

Themeninformationen

Dieses Thema ha 2 subscriber:

iF (2x)
ByteAttack (2x)


Admins  |  AGB  |  Applications  |  Autores  |  Chat  |  Política de Privacidad  |  Descargar  |  Entrance  |  Ayuda  |  Merchantportal  |  Pie de imprenta  |  Mart  |  Interfaces  |  SDK  |  Services  |  Juegos  |  Búsqueda  |  Support

Ein Projekt aller XProfan, el lo son!


Mi XProfan
Privado Noticias
Eigenes Ablageforum
Temas-Merkliste
Eigene Beiträge
Eigene Temas
Zwischenablage
Cancelar
 Deutsch English Français Español Italia
Traducciones

Política de Privacidad


Wir uso Cookies sólo como Session-Cookies wegen el technischen Notwendigkeit y en uns hay no Cookies de Drittanbietern.

Wenn du hier en unsere Webseite klickst oder navigierst, stimmst du unserer Erfassung de Informationen en unseren Cookies en XProfan.Net a.

Weitere Informationen a unseren Cookies y dazu, como du el Kontrolle darüber behältst, findest du en unserer nachfolgenden Datenschutzerklärung.


einverstandenDatenschutzerklärung
Yo möchte no Cookie