Page 1 of 1

WindowedScreen resizing ?

Posted: Wed Mar 22, 2006 8:46 am
by Hroudtwolf
Hello again,

I try to resize a windowedscreen.
If I set a new clientrect....

Code: Select all

      SetWindowPos_(ScreenID(),WindowID(#Window_Main),0,0,WindowWidth(#Window_Main)-300,600,#SWP_FRAMECHANGED	)
...., the screen wasn't resized.
And if i check them....

Code: Select all

     GetClientRect_(ScreenID(),RR.RECT)
     Debug rr\right
..., the clientrect was resized but not the windowedscreen.

Where is the little red bad bug ?

Posted: Wed Mar 22, 2006 10:39 pm
by Kaiser
What about making the window screen resizeable and setting the OpenWindowedScreen to Stretch=1?

Posted: Wed Mar 22, 2006 11:02 pm
by Hroudtwolf
I don't want to zoom the WindowedScreen , but resizing.

Posted: Wed Mar 22, 2006 11:09 pm
by dracflamloc
I'm trying to figure out exactly what you ar trying to do.

Do you have a sprite screen open that you are trying to resize?

If so then you'll need to resize it through directx commands

Posted: Wed Mar 22, 2006 11:21 pm
by Hroudtwolf
I'm trying to figure out exactly what you ar trying to do.

Do you have a sprite screen open that you are trying to resize?
Yes, this is what i want to do.
But how ?