Change window type (DWSTYLE in WinAPI)

Go4Expert Member
27Jul2011,18:54   #1
Darker's Avatar
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
Light Poster
20Aug2011,09:38   #2
carl1's Avatar
you can ask on Professional Win32 api newsgroup :
where it has often been discussed
Light Poster
20Aug2011,09:41   #3
carl1's Avatar
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