Tech19
April 16th, 2002, 17:11
Hey I was wondering how I could go about hiding a programs name/icon in the windows taskbar. I've never done anything like this before so any help would be appreciated, thanks.
View Full Version : Taskbar
Originally posted by Tech19 Hey I was wondering how I could go about hiding a programs name/icon in the windows taskbar. I've never done anything like this before so any help would be appreciated, thanks. |
BOOL InitInstance(HINSTANCE hInstance, int nCmdShow)
{
HWND hWnd, hParentWnd;
/* Create our hidden top-level window */
hParentWnd = CreateWindow(szProxyWindowClass, szTitle, WS_OVERLAPPEDWINDOW,
CW_USEDEFAULT, 0, CW_USEDEFAULT, 0, NULL, NULL, hInstance, NULL);
/* Create our visible window as a child of the hidden top-level window */
hWnd = CreateWindow(szWindowClass, szTitle, WS_OVERLAPPEDWINDOW,
CW_USEDEFAULT, 0, CW_USEDEFAULT, 0, hParentWnd, NULL, hInstance, NULL);
/* Display the child window, but NOT the top-level one */
ShowWindow(hWnd, nCmdShow);
UpdateWindow(hWnd);
return TRUE;
}