Change window type (DWSTYLE in WinAPI)

Darker's Avatar, Join Date: Jul 2011
Go4Expert Member
Hello. I has had created some window, like this
Code:
HWND hWnd = CreateWindow(
        szWindowClass,
        szTitle,
        WS_OVERLAPPEDWINDOW|WS_MINIMIZE,
        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
0
carl1's Avatar
Light Poster
you can ask on Professional Win32 api newsgroup :
where it has often been discussed
0
carl1's Avatar
Light Poster
Quote:
Originally Posted by carl1 View Post
you can ask on Professional Win32 api newsgroup :
where it has often been discussed
news://nntp.aioe.org/comp.os.ms-wind...ogrammer.win32