You can also just use the MessageBox method on TApplication. Delphi defines a global variable called "Application".
function MessageBox(const Text, Caption: PChar; Flags: Longint = MB_OK): Integer;
In any form you can just do:
Application.MessageBox(Message, Caption, Flags)
Look at the...
As far as I know, if it is a handle for a window that belongs to another process, how do you know that this "process" was written in Delphi??
Once you step "outside" your application, you have to use whatever Windows provides (DLLs, Handles, Win32API, COM, DDE)
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.