SoftTree Technologies SoftTree Technologies
Technical Support Forums
RegisterSearchFAQMemberlistUsergroupsLog in
WindowActivate

 
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite View previous topic
View next topic
WindowActivate
Author Message
M. Taylor



Joined: 07 Feb 2003
Posts: 2

Post WindowActivate Reply with quote

Has anyone been successful with the WindowActivate
command when the window you're trying to activate
is minimized. I run WindowFind first to get my handle
then I run WindowActivate to bring it to the
forefront and it doesn't maximize it. If I leave the
window already maximized the WindowActivate works.
Is there anyway to get it to maximize?

Fri Feb 07, 2003 1:54 pm View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7847

Post Re: WindowActivate Reply with quote

Dim( handle, number )
// find window
WindowFind( "Untitled - Notepad", handle )
// maximize it
Call( "user32.dll", "ShowWindow", "uu", False, handle, 3 )

: Has anyone been successful with the WindowActivate
: command when the window you're trying to activate
: is minimized. I run WindowFind first to get my handle
: then I run WindowActivate to bring it to the
: forefront and it doesn't maximize it. If I leave the
: window already maximized the WindowActivate works.
: Is there anyway to get it to maximize?

Fri Feb 07, 2003 3:30 pm View user's profile Send private message
M. Taylor



Joined: 07 Feb 2003
Posts: 2

Post Re: WindowActivate Reply with quote

: Dim( handle, number )
: // find window
: WindowFind( "Untitled - Notepad", handle )
: // maximize it
: Call( "user32.dll", "ShowWindow", "uu", False,
: handle, 3 )

Thanks, that worked.

Fri Feb 07, 2003 4:03 pm View user's profile Send private message
Display posts from previous:    
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite All times are GMT - 4 Hours
Page 1 of 1

 
Jump to: 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


 

 

Powered by phpBB © 2001, 2005 phpBB Group
Design by Freestyle XL / Flowers Online.