Español
Foro

como HTML-Control aktivieren

 

Jörg
Sellmeyer
Yo lass me en un HTML-Control große Bilder Mostrar. Das klappt auch hervorragend.
Leider bekomme Yo el Control no así aktiviert, dass Yo el Pfeiltasten oder el Mausrad para Scrollen einsetzen kann. Yo muss sólo el Control anklicken.
SetFocus funktioniert no.
KompilierenMarcaSeparación
Cls
Var Bild$ = "File:///irgendein_Bild_groesser_als_das_HTML-Control.jpg"
Var html& = Crear("HTMLWin", %hwnd, Bild$, 0, 0, 28, 200, 300)
SetFocus(html&)

Mientras que 1

    WaitInput

Wend

 
Windows XP SP2 XProfan X4
... und hier mal was ganz anderes als Profan ...
24.11.2015  
 




Jörg
Sellmeyer
Ok - tener selber qué gefunden:  [...] 

Sollte lo una bessere Möglichkeit geben, Por favor, Yo en Mitteilung.
Welchen Grund ha lo porque, dass el Control no con normalen Profanmitteln aktiviert se? SetActiveWindow funktioniert z. B. auch no.
 
XProfan X3
Windows XP SP2 XProfan X4
... und hier mal was ganz anderes als Profan ...
24.11.2015  
 



Es auch solch Verbund-Control el imho incluso en un eigenen
Context gerendert se - por lo tanto es una Komm. auch sólo encima Ocx
posible (oder encima zuhauchen).

Wir hatten el eigentliche Control aber ya al Bammel, schau mal
en esta ocx.inc etc.
 
26.11.2015  
 




Jörg
Sellmeyer
Yo glaub, como belass Yo simplemente en meiner Vorschlaghammer-Método.
 
XProfan X3
Windows XP SP2 XProfan X4
... und hier mal was ganz anderes als Profan ...
26.11.2015  
 



Naah, Nachteil, dass el Ventana no überdeckt ser darf de
una otro Ventana - etwa uno otro APP el entonces
"Festplatten formatiert"?

Schau veces tener qué gefunden en Uwes ocx3a.inc  [...]  :
KompilierenMarcaSeparación
Control&=control("AtlAxWin",ProgID$,Style&,xa%,ya%,xb%,yb%,Wnd&,0,0,0)
~AtlAxGetControl(Control&,addr(IUnknown&))

Gibt aber auch algo como:  [...] 

Bisl Hölle alles.
 
26.11.2015  
 




Jörg
Sellmeyer
Oha - si du ya "Hölle" sagst...
Yo schaus me de tiempo a, bin aber en el Moment bastante zufrieden con meiner Solución. Desde que sowieso en %hwnd teste, no puede auch kein fremdes Programa dazwischenschießen.
 
XProfan X3
Windows XP SP2 XProfan X4
... und hier mal was ganz anderes als Profan ...
26.11.2015  
 



Ein fremdes Programa kann ya todavía dazwischen schießen,
zwischen if y mouse_event son ya "ein pocos hundert" Zyklen
para otro Prozesse/ Hilos. Ließe se zwar otra vez reduzieren
el Gefahr, si uno lo en uno nProc ableisten sería, aber correcto
"sicher" kann lo después de el Verfahren vermutlich no voluntad.

Muss uno se sólo vorstellen, dass eben 2 Prozesse selbiges
Verfahren nutzen. Man debería en mouse_event una Ziel-Handle
transferencia puede aber el bietet scheinbar no una vez el
neuere "SendInput".

Vlt. debería uno konzeptionell betrachtet el Mausklick más como
Nachricht con SendMessage senden direkt a el betreffende
Handle. Pero Jammern en hohem Niveau.
 
27.11.2015  
 



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

6.037 Views

Untitledvor 0 min.
Jörg Sellmeyer23.06.2020
Christof Neuß12.10.2019
Peter Max Müller18.11.2017
Uwe16.11.2017
Más...

Themeninformationen

Dieses Thema ha 2 subscriber:

Jörg Sellmeyer (4x)
iF (3x)


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