wndclass.style

This is a discussion on wndclass.style within the Windows Programming forums, part of the Platform Specific Boards category; OKay probably a simple question for most of you guys here. When you are defining a window the line Code: ...

  1. #1
    Registered User
    Join Date
    May 2002
    Posts
    178

    wndclass.style

    OKay probably a simple question for most of you guys here. When you are defining a window the line

    Code:
    wndclass.style = bla;
    this line basically tells the window when it needs to be redrawn, is the correct?
    Oi Oi Oi!!!!

  2. #2
    Programming is fun, mkay?
    Join Date
    Oct 2001
    Posts
    490

    Lightbulb Not really...

    Not quite. You can use that for many values. One of them(CS_NOCLOSE), disables the "X" button, so it can't be closed. There's a lot more, but I don't know them all. Look for window class styles on MSDN.
    Website(s): http://www16.brinkster.com/trifaze/

    E-mail: trifaze_mattu@lycos.com

    ---------------------------------
    C++ Environment: MSVC++ 6.0; Dev-C++ 4.0/4.1
    DirectX Version: 9.0b
    DX SDK: DirectX 8.1 SDK

  3. #3
    Guest Sebastiani's Avatar
    Join Date
    Aug 2001
    Location
    Waterloo, Texas
    Posts
    5,655
    Basically, Microsoft decided to use a long used technique to store several instructions in a single number. This saves memory and allows a more manageable parameter passing method rather than using, say, strings to do the work. Check out bit shifting/packing techniques on the web...
    Code:
    #include <ip.hpp>

Popular pages Recent additions subscribe to a feed

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