1. We have moved from vBulletin to XenForo and you are viewing the site in the middle of the move. Though the functional aspect of everything is working fine, we are still working on other changes including the new design on Xenforo.
    Dismiss Notice

Change window type (DWSTYLE in WinAPI)

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

  1. Darker

    Darker New Member

    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

    you can ask on Professional Win32 api newsgroup :
    where it has often been discussed
     
  3. carl1

    carl1 New Member

Share This Page