Für's Archiv:
#define _WIN32_WINNT 0x0500
vor
#include <windows.h>
und dazu
void dontBeActiveWindow(void)
{
HWND conwnd=GetConsoleWindow();
if (conwnd!=NULL) {
ShowWindow(conwnd,SW_SHOWMINNOACTIVE);
}
}
Alexander
--
Today I will gladly share my knowledge and experience, for there are no sweeter words than "I told you so".
Today I will gladly share my knowledge and experience, for there are no sweeter words than "I told you so".