English
Source / code snippets

One fremdes Program (Program.exe) in the Window integrate quasi as Frame

 

Member
9106629
is it possible, a EXE File (fremdes Program) within one Fensters to start quasi How with HTML as FRAME ?

be over each Tipp grateful.
 
01/25/25  
 




Sven
Bader
Hello!

circa single dialogs or Fensterelemente into other To to assimilate can you following API-function use, with strangers Programs functions this though not.
Def Setparent(2) !"USER32","SetParent"

You can but the Fensterposition stranger programs change and tappt im dunkeln accordingly on your andocken. here's one small but something unsauberes example:
Cls
Declare handle&, pid&
pid& = ShellExec("calc","open",1)
Sleep 500'Waiting To the window there's, the lever over The PID To detect is costly, would but sauberer
Handle&  = FindWindow("Rechner")
Def Setparent(2) !"USER32","SetParent"
Print Setparent(%hwnd, Handle&)

WhileNot iskey(27)

    sleep 10'one Subclassing which directly on The Fensterbewegung hears would eleganter
    SetWindowPos Handle& = %WinRight, %WinTop

EndWhile

WaitKey
End

i hope so helps you moreover!

Grüß
Sven
 
vor 29 Tagen  
 



Zum Quelltext


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

146 Views

Untitledvor 0 min.
Gast.0815 vor 4 Tagen
Sven Bader vor 7 Tagen
Member 5044459 vor 11 Tagen
Manfred Barei vor 13 Tagen
More...

Themeninformationen

this Topic has 2 subscriber:

Sven Bader (1x)
Member 9106629 (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