Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Win32/Win64 API (native code) (https://www.delphipraxis.net/17-win32-win64-api-native-code/)
-   -   Delphi Programm als Shell-Ersatz (https://www.delphipraxis.net/23213-programm-als-shell-ersatz.html)

Savar 30. Mai 2004 23:29


Programm als Shell-Ersatz
 
Gibt es eine Möglichkeit ein fremdes Programm per ShellExecute als Unterprogramm in einem Hauptprogramm laufen zu lassen?

Ich möchte eine Art Shell-Ersatz haben in dem dann alle anderen Programme laufen, aber z.B. beim Maximieren innerhalb des Fensters bleiben und nicht den ganzen Bildschirm ausfüllen. :gruebel:

shellexecute(...) öffnet die Anwendung in einem unabhängigen Fenster, gibt es Parameter, die das ändern?

Assarbad 29. Aug 2004 13:38

Re: Programm als Shell-Ersatz
 
Im Platform SDK steht:

Syntax

HINSTANCE ShellExecute( HWND hwnd,
LPCTSTR lpOperation,
LPCTSTR lpFile,
LPCTSTR lpParameters,
LPCTSTR lpDirectory,
INT nShowCmd
);
Parameters

hwnd
[in] Handle to a parent window. This window receives any message boxes that an application produces, such as error reporting.


Alle Zeitangaben in WEZ +1. Es ist jetzt 20:47 Uhr.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz