This App is No Longer Maintained. Visit the Replacement at StrokesPlus.net

StrokesPlus Forum
                       
StrokesPlus Forum
Home | Profile | Active Topics
Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Bug and Issues
 New Bugs
 acSetWindowSize
 Forum Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

ycomp

14 Posts

Posted - 11/09/2014 :  12:06:51  Show Profile
I can't make heads or tails of the acSetWindowSize() function...

acSetWindowSize(hwndTarget, x, y, left, top, width, height)
   Parameters:
     hwndTarget: The handle to the window to be moved/sized; "nil" will use the x and y to locate the window
     x: The X (left) coordinate of the window to be moved/sized
     y: The Y (top) coordinate of the window to be moved/sized
     width: The new width of the window
     height: The new height of the window


what works for me is:

acSetWindowSize(hwndTarget, x, y, width, height, ????, ????)

in so far as to set the width and the height of the window. However, I can't get it to reposition the window correctly. Please any advice would help. I need to reposition it also.


I'm using 2.8.2

Rob

USA
2615 Posts

Posted - 11/09/2014 :  12:10:02  Show Profile  Visit Rob's Homepage
I think that's old documentation. You have to call active Windows also.
Go to Top of Page

ycomp

14 Posts

Posted - 11/09/2014 :  12:16:37  Show Profile
where can I find the latest documentation? I have 2.8.2 installed and that's from its help.

I'm working with the foreground window, got the handle from acGetForegroundWindow()
Go to Top of Page

Rob

USA
2615 Posts

Posted - 11/09/2014 :  12:18:17  Show Profile  Visit Rob's Homepage
That was autocorrect fall. I meant acMoveWindow. There is no other documentation, I think I never updated that from a long time ago.
Go to Top of Page

ycomp

14 Posts

Posted - 11/09/2014 :  12:19:18  Show Profile
ah got it, ok I'll try that too. thanks
Go to Top of Page
  Previous Topic Topic Next Topic  
 Forum Locked
 Printer Friendly
Jump To:
StrokesPlus Forum © 2011-2018 Rob Yapchanyk Go To Top Of Page
Snitz Forums 2000