Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Open Dialog Wiinow !

Status
Not open for further replies.

captanblack

Programmer
Mar 2, 2004
20
IR
Hi

is it possible to determine if active window is an open dialog window ?

So Thanx
 
You can determine if a specific OpenDialog (in this case OpenDialog1)is active by:

Code:
var
   Handle : THandle;
begin
  Handle := OpenDialog1.Handle;
  if Handle<>0 then
     ShowMessage (IntToStr(Handle));

Robertio
Alias: Robbie Calder
Software Developer
 
Hi Robertio


ok , it is not in my application man , my application is resident in memory and need to know if active window in the desktop of the user is an open dialog window then it will do something ... ! what about this ?


So Thanx
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top