# HG changeset patch # User StephaneLenclud # Date 1366320382 -7200 # Node ID 1bf32325a98bbc0ca86d67937560eeee16f53616 # Parent dfb9169831dc65cdb6c3b56e0c87628b9a90da32 Windows is now for message only and thus invisible. diff -r dfb9169831dc -r 1bf32325a98b SoundGraphAccess.cpp --- a/SoundGraphAccess.cpp Sun Apr 14 22:53:58 2013 +0200 +++ b/SoundGraphAccess.cpp Thu Apr 18 23:26:22 2013 +0200 @@ -452,14 +452,16 @@ hInst = hInstance; // Store instance handle in our global variable gWnd = CreateWindow(szWindowClass, szTitle, WS_OVERLAPPEDWINDOW, - CW_USEDEFAULT, 0, CW_USEDEFAULT, 0, NULL, NULL, hInstance, NULL); + CW_USEDEFAULT, 0, CW_USEDEFAULT, 0, HWND_MESSAGE /*Make it invisible*/, NULL, hInstance, NULL); if (!gWnd) { return FALSE; } - ShowWindow(gWnd, nCmdShow); + //We want it invisble so just don't show it :) + //ShowWindow(gWnd, nCmdShow); + UpdateWindow(gWnd); return TRUE;