Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Resizing dialog boxes
#5
Gintaras Wrote:
Code:
Copy      Help
int h=win("Quick")
int x y cx cy
GetWinXY h x y cx cy
if(cx>=500)
,x+100
,cx-200
,MoveWindow h x y cx cy 1


This example doesn't seem to be working. It does not cut the left and right of the window, just the right and moves the window to the left.

What I need is for a way to do both sides equally by 30% each. So for example, if the window is 700, it will remove 210 from the left and 210 from the right. Leaving what is in the center of the window, pretty much.

Am i making any sense? Cry


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)