1. size a window to full screen
- Posted by Michelle <michellerogers at bellsouth.net> Apr 27, 2004
- 446 views
At one time, I had a snippet that I would cut and paste to get the dimensions of the user's screen and then set the dimensions of a window being created to full screen. I can't seem to find it anywhere on my computer...OR in the archives....I got it SOMEWHERE from the rapideuphoria site..I just can't remember where. Does anyone else have that snippet..or know where it is...or can tell me how to do it, again? Thanks, Michelle
2. Re: size a window to full screen
- Posted by "Greg Haberek" <ghaberek at wowway.com> Apr 27, 2004
- 434 views
I actually wrote a Full Screen Demo a while back. It should be in the archives. It makes the window truely full screen, with no titlebar and no Alt+F4. Everything is already done for you, all it takes is a call to setFullScreen( MyWin, True ) to go full screen, and there is a function called isFullScreen( MyWin ). ~Greg ----- Original Message ----- From: "Michelle" <guest at RapidEuphoria.com> To: <EUforum at topica.com> Subject: size a window to full screen > > > posted by: Michelle <michellerogers at bellsouth.net> > > At one time, I had a snippet that I would cut and paste to get the dimensions of the user's screen and then set the dimensions of a window being created to full screen. > > I can't seem to find it anywhere on my computer...OR in the archives....I got it SOMEWHERE from the rapideuphoria site..I just can't remember where. > > Does anyone else have that snippet..or know where it is...or can tell me how to do it, again? > > Thanks, > Michelle > > > >
3. Re: size a window to full screen
- Posted by Michelle <michellerogers at bellsouth.net> Apr 27, 2004
- 414 views
ok..I found that one...but for some reason it wouldn't work..it would go full screen and then immediately pop back down to the size that was set in the declaration. The snippet that I had actually got a variable to use for the x and y values in the window variable declaration. It SEEMS like it had a function or procedure that was something like getScreen....but I can't remember...is there a command that gets the size of the users screen? If I knew a command for that, I could make it myself, but I can't find a command to get the size of the user's screen.
4. Re: size a window to full screen
- Posted by "Michelle Rogers" <michellerogers at bellsouth.net> Apr 27, 2004
- 408 views
I haven't tried it yet..but that may be exactly what I'm looking for...thank you Michelle Rogers ----- Original Message ----- From: "Brian Broker" <bkb at cnw.com> To: <EUforum at topica.com> Subject: RE: size a window to full screen > > > If you are using Win32Lib then you can get the user's screen resolution > with: > > getCtlSize(Screen) > > Not sure if that is what you are looking for... > -- Brian > > Michelle wrote: > > > > > > posted by: Michelle <michellerogers at bellsouth.net> > > > > ok..I found that one...but for some reason it wouldn't work..it would go > > full screen and then immediately pop back down to the size that was set > > in the declaration. > > > > The snippet that I had actually got a variable to use for the x and y > > values in the window variable declaration. > > > > It SEEMS like it had a function or procedure that was something like > > getScreen....but I can't remember...is there a command that gets the > > size of the users screen? If I knew a command for that, I could make it > > myself, but I can't find a command to get the size of the user's screen. > > > >
5. Re: size a window to full screen
- Posted by Philip Deets <philip1987 at hotmail.com> Apr 30, 2004
- 420 views
Also, to get screen resolution, call getSystemMetrics(SM_CXSCREEN) for horizontal resolution, and getSystemMetrics(SM_CYSCREEN) for vertical resolution. Phil Michelle Rogers wrote: > > I haven't tried it yet..but that may be exactly what I'm looking for...thank > you > Michelle Rogers > ----- Original Message ----- > From: "Brian Broker" <bkb at cnw.com> > To: <EUforum at topica.com> > Subject: RE: size a window to full screen > > > > If you are using Win32Lib then you can get the user's screen resolution > > with: > > > > getCtlSize(Screen) > > > > Not sure if that is what you are looking for... > > -- Brian > > > > Michelle wrote: > > > > > > > > > posted by: Michelle <michellerogers at bellsouth.net> > > > > > > ok..I found that one...but for some reason it wouldn't work..it would go > > > full screen and then immediately pop back down to the size that was set > > > in the declaration. > > > > > > The snippet that I had actually got a variable to use for the x and y > > > values in the window variable declaration. > > > > > > It SEEMS like it had a function or procedure that was something like > > > getScreen....but I can't remember...is there a command that gets the > > > size of the users screen? If I knew a command for that, I could make it > > > myself, but I can't find a command to get the size of the user's screen. > > > >
6. Re: size a window to full screen
- Posted by Derek Parnell <ddparnell at bigpond.com> Apr 30, 2004
- 438 views
The simplest way to go 'fullscreen' is this ... hWnd = getHandle(id) VOID = w32Func( xSetWindowLong,{ hWnd, GWL_STYLE, WS_POPUP }) VOID = w32Func( xShowWindow, { hWnd, SW_MAXIMIZE } ) -- Derek