Maximizing a window any time ?

This is a discussion on Maximizing a window any time ? within the Windows Programming forums, part of the Platform Specific Boards category; How can I maximize any window in WIN XP any time? Not on any specific event, but just any arbitrary ...

  1. #1
    Registered User
    Join Date
    Oct 2008
    Posts
    98

    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
    Location
    RING 0
    Posts
    507
    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, 11:50 AM
  2. OpenGL Window
    By Morgul in forum Game Programming
    Replies: 1
    Last Post: 05-15-2005, 01:34 PM
  3. opengl help
    By heat511 in forum Game Programming
    Replies: 4
    Last Post: 04-05-2004, 02:08 AM
  4. How to change window style at runtime?
    By Mr. Bitmap in forum Windows Programming
    Replies: 5
    Last Post: 06-09-2002, 05:49 PM
  5. I apologize. Good bye.
    By doubleanti in forum A Brief History of Cprogramming.com
    Replies: 14
    Last Post: 05-03-2002, 07:51 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21