Windows is now for message only and thus invisible.
authorStephaneLenclud
Thu, 18 Apr 2013 23:26:22 +0200
changeset 111bf32325a98b
parent 10 dfb9169831dc
child 12 2f70b4447d70
Windows is now for message only and thus invisible.
SoundGraphAccess.cpp
     1.1 --- a/SoundGraphAccess.cpp	Sun Apr 14 22:53:58 2013 +0200
     1.2 +++ b/SoundGraphAccess.cpp	Thu Apr 18 23:26:22 2013 +0200
     1.3 @@ -452,14 +452,16 @@
     1.4     hInst = hInstance; // Store instance handle in our global variable
     1.5  
     1.6     gWnd = CreateWindow(szWindowClass, szTitle, WS_OVERLAPPEDWINDOW,
     1.7 -      CW_USEDEFAULT, 0, CW_USEDEFAULT, 0, NULL, NULL, hInstance, NULL);
     1.8 +      CW_USEDEFAULT, 0, CW_USEDEFAULT, 0, HWND_MESSAGE /*Make it invisible*/, NULL, hInstance, NULL);
     1.9  
    1.10     if (!gWnd)
    1.11     {
    1.12        return FALSE;
    1.13     }
    1.14  
    1.15 -   ShowWindow(gWnd, nCmdShow);
    1.16 +   //We want it invisble so just don't show it :)
    1.17 +   //ShowWindow(gWnd, nCmdShow);
    1.18 +
    1.19     UpdateWindow(gWnd);
    1.20  
    1.21     return TRUE;