Ranorex

Automate application windows resize

 
Post new topic   Reply to topic    Ranorex Forum Index -> General Questions
View previous topic :: View next topic  
Author Message
Chrispy



Joined: 25 Mar 2008
Posts: 5

PostPosted: Thu Apr 24, 2008 10:32 pm    Post subject: Automate application windows resize
I'm trying to automate an application window to be resized to a particular size. I've been looking at what Ranorex functions could help but not come across anything.

Have you any ideas on what I can try?

Thanks

Chris
Back to top
View user's profile Send private message MSN Messenger
Support Team
Site Admin


Joined: 07 Jul 2006
Posts: 256

PostPosted: Fri Apr 25, 2008 10:22 am    Post subject:
You can resize a window using:

RxControlSetPosition() in C++
and Control.SetPosition() in C#/.NET

Exclamation If the window cannot be resized manually, this method might not work, though.

Michael
Ranorex Team
Back to top
View user's profile Send private message Visit poster's website
markus



Joined: 05 Jun 2008
Posts: 1

PostPosted: Thu Jun 05, 2008 5:19 pm    Post subject:
I was able to find information on the RxControlSetPosition() function in the Ranorex 1.4 C++ documentation, but I couldn't find any information on the corresponding Control.SetPosition() method in the RanorexNet documentation.

Searching the RanorexNet documentation for 'SetPosition' didn't turn up any information either. Where is this method documented?

Thanks for your help,
Markus
Back to top
View user's profile Send private message
Support Team
Site Admin


Joined: 07 Jul 2006
Posts: 256

PostPosted: Thu Jun 05, 2008 5:33 pm    Post subject:
The corresponding functionality in RanorexNet is provided by the Control.Location and Control.Size properties.

Regards,
Alex
Ranorex Support Team
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Ranorex Forum Index -> General Questions All times are GMT + 2 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