home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / os / mswindo / programm / misc / 1709 < prev    next >
Encoding:
Text File  |  1992-09-08  |  2.7 KB  |  49 lines

  1. Newsgroups: comp.windows.ms.programmer,comp.os.ms-windows.programmer.misc
  2. Path: sparky!uunet!mcsun!news.funet.fi!funic!nokia.fi!tnclus.tele.nokia.fi!swesterback
  3. From: swesterback@tnclus.tele.nokia.fi
  4. Subject: Re: Setting Client Area to entire screen
  5. Message-ID: <1992Sep7.165405.1@tnclus.tele.nokia.fi>
  6. Lines: 36
  7. Sender: usenet@noknic.nokia.fi (USENET at noknic)
  8. Nntp-Posting-Host: tne02.tele.nokia.fi
  9. Organization: Nokia Telecommunications.
  10. References: <1992Aug11.233710.18600@u.washington.edu> <1992Aug28.074510.6581@adobe.com> <1992Sep4.110901.89996@vaxc.cc.monash.edu.au>
  11. Date: Mon, 7 Sep 1992 14:54:05 GMT
  12.  
  13. In article <1992Sep4.110901.89996@vaxc.cc.monash.edu.au>, che358w@vaxc.cc.monash.edu.au writes:
  14. > In article <1992Aug28.074510.6581@adobe.com>, epperson@adobe.com (Mark Epperson) writes:
  15. >> In article <1992Aug11.233710.18600@u.washington.edu> goble@hardy.u.washington.edu (Brian Goble) writes:
  16. >> %%How do Win apps such a WinGif (and many other graphics/paint programs)
  17. >> %%implement their "Full Screen" option?  That is, what are they doing to
  18. >> %%make their Client Area the entire screen (no windows stuff at all--it's
  19. >> %%all client area).
  20. >>
  21. >> Start by moving the windows upper left corner off up and left so that
  22. >> the client areas origin is in the upper le~t corner of the screen. Then
  23. >> resize the window to make the client area the same size a~ the screen.
  24. >>
  25. >> MarkEppyrson
  26. >   I think that these apps. use a windows style that does not include border,
  27. > caption, system menu etc  and set w=getsystemmetrics(sm_cxscreen) and similarly
  28. > for the height and of course x=0, y=0 I don't have my references here so I
  29. > can't tell you exactly but I think that style:=ws_popup brings up an appropriate
  30. > sort of window or else try style:=style or(not ws_caption and ws_sysmenu). I
  31. > don't think that's exactly right but you get the idea.
  32. I have read in some book (Charles Petzold?) that the whole screen can be 
  33. reserved by requesting an hDC to a logical name, SCREEN, in the same way as
  34. the printer device context is opened. I am not sure about this...
  35.  
  36. The same full screen device is also uses by Microsofts and others installation
  37. programs. As you may have noticed you can often switch to other programs 
  38. while the full screen installation program is running (i.e., using alt-tab).
  39.  
  40. Sten
  41.  
  42. ============================================================================
  43. B.Sc. Sten Westerback         Telephone: +358+0 +5115871(work) +740049(home)
  44. Address: Mets{purontie  9 B19, SF-00630 Helsinki, FINLAND  Time zone: EET
  45. Test the utility at WSMR-SIMTEL20.Army.mil::pd1:<msdos.dirutl>swxd303d.zip
  46. NB! I am working, but not speaking for Nokia Telecommunications!
  47. ============================================================================
  48.