Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Hiding application on task bar

Status
Not open for further replies.

Wings

Programmer
Feb 14, 2002
247
US
Hi

I have a windows application that uses the createprocess()
function to create another window application. Does any one know how to keep the second process from appearing on the task bar?

Appreciate the help
 
[Now Supported on Windows NT]

Sends a message to the system to add, modify, or delete an icon from the taskbar status area.

WINSHELLAPI BOOL WINAPI Shell_NotifyIcon(

DWORD dwMessage, // message identifier
PNOTIFYICONDATA pnid // pointer to structure
);


Parameters

dwMessage

Identifier of the message to send. This parameter can be one of these values:

NIM_ADD Adds an icon to the status area.
NIM_DELETE Deletes an icon from the status area.
NIM_MODIFY Modifies an icon in the status area.


pnid

Pointer to a NOTIFYICONDATA structure. The content of the structure depends on the value of dwMessage.



Return Values

If the function succeeds, the return value is nonzero.
If the function fails, the return value is zero.

Found this in the win32sdk.hlp file.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top