Newsgroups: comp.windows.ms.programmer Path: utzoo!utgpu!watserv1!sunee!gpsteffl From: gpsteffl@sunee.waterloo.edu (Glenn Patrick Steffler) Subject: Re: Full screen windows Message-ID: <1991Feb4.203344.28105@sunee.waterloo.edu> Organization: Gerbils On Speed Inc. References: <10623@jarthur.Claremont.EDU> Date: Mon, 4 Feb 91 20:33:44 GMT Lines: 30 In article <10623@jarthur.Claremont.EDU> rob@jarthur.claremont.edu (Rob McKaughan) writes: >This may be a very naive question, but: No question is too naive concerning windows programming. >How do you create a full screen window like Corel Draw's full screen >preview, or any screen saver does? Easily. Open a "static" window without the WS_BORDER or WS_CAPTION styles. Then grab a DC for the window, and wail away at it. Works for me. By the way, to capture keyboard messages, simply peekmessage the window handle returned for WM_KEY* messages (*not* WM_CHAR). I have had problems capturing mouse input, so I simply set the mouse capture to the window, and peekmessage for any WM_MOUSE* messages. Hey, it may not be elegant, but it works! >Do you have to get down to low level GDI or what? Ack! Ouppt! Pfftspht! NO! >Rob >rob@jarthur.claremont.edu >uunet!jarthur!rob -- Co-Op Scum "Bo doesn't know software" - George Brett "The galaxial hearth steams the sea as the sky blood red embrasses darkness" -John Constantine (HellBlazer) Glenn Steffler