WindowedScreen resizing ?

Windows specific forum
User avatar
Hroudtwolf
Addict
Addict
Posts: 803
Joined: Sat Feb 12, 2005 3:35 am
Location: Germany(Hessen)
Contact:

WindowedScreen resizing ?

Post 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 ?
Kaiser
Enthusiast
Enthusiast
Posts: 118
Joined: Tue Jan 11, 2005 8:36 am

Post by Kaiser »

What about making the window screen resizeable and setting the OpenWindowedScreen to Stretch=1?
User avatar
Hroudtwolf
Addict
Addict
Posts: 803
Joined: Sat Feb 12, 2005 3:35 am
Location: Germany(Hessen)
Contact:

Post by Hroudtwolf »

I don't want to zoom the WindowedScreen , but resizing.
dracflamloc
Addict
Addict
Posts: 1648
Joined: Mon Sep 20, 2004 3:52 pm
Contact:

Post 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
User avatar
Hroudtwolf
Addict
Addict
Posts: 803
Joined: Sat Feb 12, 2005 3:35 am
Location: Germany(Hessen)
Contact:

Post 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 ?
Post Reply