Thread: Maximizing a window any time ?

  1. #1
    Registered User
    Join Date
    Oct 2008

    Maximizing a window any time ?

    How can I maximize any window in WIN XP any time? Not on any specific event, but just any arbitrary time I specify I want to be able to maximize whatever window I'm handling.

    I know about hooking, but after that I'm lost.

  2. #2
    Registered User valaris's Avatar
    Join Date
    Jun 2008
    RING 0
    Use ShowWindow() or SetWindowLong(). What do you mean by any arbitrary time? The code to maximize will have to be in response to some event. Rather that event be a timer, a handler to a button click message, etc...

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Pong is completed!!!
    By Shamino in forum Game Programming
    Replies: 11
    Last Post: 05-26-2005, 10:50 AM
  2. OpenGL Window
    By Morgul in forum Game Programming
    Replies: 1
    Last Post: 05-15-2005, 12:34 PM
  3. opengl help
    By heat511 in forum Game Programming
    Replies: 4
    Last Post: 04-05-2004, 01:08 AM
  4. How to change window style at runtime?
    By Mr. Bitmap in forum Windows Programming
    Replies: 5
    Last Post: 06-09-2002, 04:49 PM
  5. I apologize. Good bye.
    By doubleanti in forum A Brief History of
    Replies: 14
    Last Post: 05-03-2002, 06:51 PM