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 wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

My DLL prevents new windows to show up in taskbar

Status
Not open for further replies.

LuckyLuke

Programmer
Mar 28, 2001
188
NL
Hi,

I made a dll in C++ which hooks into the WH_SHELL and looks for the WM_CREATE message. After it found the message it sends a defined message back to the EXE. It all works great, but the only thing is, that no application shows up in the taskbar anymore, while my DLL is running. Anyone knows why?

LuCkY
 
Almost certainly because you are 'consuming' the WM_CREATE message, i.e. you respond to it, but don't pass it on, so no window actually gets created. And if you haven't got a window then you don't get an icon in the task bar.
 
Naw, I'm not really consuming it, I just check the caption of the application when its created and if its the caption I'm looking for I shut the program down, else I'm doing nothing with it...
 
And the windows just display fine, the only problem is that it never shows up in the taskbar...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top