Show a taskbar item with a NativeWindow

Posted by David Brown on Stack Overflow See other posts from Stack Overflow or by David Brown
Published on 2010-04-12T02:50:38Z Indexed on 2010/04/12 2:53 UTC
Read the original article Hit count: 304

Filed under:
|
|
|
|

My application is intended to work almost entirely through a Windows 7 taskbar item with the use of thumbnails and jump lists. I know I can easily create a Form and simply hide it, but this seems like overkill. Plus, I'd like to toy around with NativeWindow as much as possible, because I've never used it before.

Essentially, I have a class called RootWindow that derives from NativeWindow. I don't need a visible window at all, but simply something to process window messages and provide a taskbar item that I can attach thumbnails and jump lists to.

Is there some kind of special CreateParams option I need to pass to CreateHandle? Or am I out of luck?

© Stack Overflow or respective owner

Related posts about .NET

Related posts about c#