![]() |
#1
|
|||
|
|||
![]()
Hi,
I am trying to use the appactivate function from sndkeys32.pas to bring a window of my choice from the background into the foreground as the active window. Unfortunatly this seems to happen: Appactivate make the active window come to the front... if i i then make another window active and the command is executed again.. the command doesnt seem to have an effect. Almost as if it works once... and if you change the active window to somthing else.. and execute the command again.. it wont work.... so my question is does anybody know a more solid method or routine for making deactivated windows activated? Thanks alot. |
#2
|
|||
|
|||
![]()
procedure TForm1.ClickButtonBringFormToFront(Sender: TObject);
Begin Form1.BringToFront; Memo1.SetFocus; //Example end; |
#3
|
|||
|
|||
![]()
sorry i should have made it clear
its a 3rd party window its not a window within my program it is an external applications window which i want to bring to the front from my program |
![]() |
Thread Tools | |
Display Modes | |
|
|