1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Change window type (DWSTYLE in WinAPI)

Discussion in 'Win32' started by Darker, Jul 27, 2011.

  1. Darker

    Darker New Member

    Joined:
    Jul 9, 2011
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    Czech Republic
    Hello. I has had created some window, like this
    Code:
    HWND hWnd = CreateWindow(
            szWindowClass,
            szTitle,
            [B]WS_OVERLAPPEDWINDOW|WS_MINIMIZE,[/B]
            CW_USEDEFAULT, CW_USEDEFAULT,
            100, 100,
            NULL,
            NULL,
            hInstance,
            NULL
        );
    I am interested to change dynamically (after some event, like mouse over) the window style.
    My goal is to make window, which shows minimalize tray onli when mouse is over it. I hope this is possible without some hellcomplicated code. I am C++ beginner which have problems to declare array :)
     
  2. carl1

    carl1 New Member

    Joined:
    Sep 7, 2008
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    0
    you can ask on Professional Win32 api newsgroup :
    where it has often been discussed
     
  3. carl1

    carl1 New Member

    Joined:
    Sep 7, 2008
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    0

Share This Page