Mombu the Microsoft Forum

Mombu the Microsoft Forum > Microsoft > MOBILITY (TECHNET) > SetParent HHTaskbar ?
REGISTER NOW! Mark Forums Read




Reply
 
Thread Tools Display Modes
1 15th April 02:30
steilemoy
External User
 
Posts: 1
Default SetParent HHTaskbar ?



I am trying to display a form on top of the pocket pc Navigation Bar
(The Taskbar on top of the screen with the start icon, the clock, etc)
but I can't find any useful information on how to do it. I am trying
to make my form a child of the taskbar but it is displayed underneath
the taskbar.

private void Form_Load(object sender, EventArgs e)
{
this.Left = 0;
this.Top = 0;
IntPtr hWnd1 =FindWindow("HHTaskBar", string.Empty);
SetParent(this.Handle, hWnd1);
this.BringToFront();
}


Can someone please point me to the right direction ? I would be happy
to add an icon on top of the pocket pc Start Icon, on top of the
OK/Close icon or next to the clock.

I know how to add an icon in the tray but I can't find anything
related to my problem. Thanks !
  Reply With Quote
SPONSORED LINKS BY GOOGLE

 


2 16th April 01:58
lao k
External User
 
Posts: 1
Default SetParent HHTaskbar ?



Your requirement sounds a little uncommon. How about using
SHNotificationAdd? It adds an icon to the place where you want, and it
can pop up something when the icon is clicked. The issue is that
"something" probably is not enough for your purpose...

---
Lao K
Windows Mobile Pocket PC Smartphone Programming Hints and Tips
http://windowsmobilepro.blogspot.com
  Reply With Quote
3 16th April 11:38
steilemoy
External User
 
Posts: 1
Default SetParent HHTaskbar ?


Thanks for answering. I can't believe that I can't display
something on top of the taskbar. It is so strange.

Since SetParent() doesn't work, I think it is possible to do it using
RegisterClass(), FindWindow() and CreateWindowEx() but it is
complicated to implement. There are so many Parameters that I need to
specify their values and it is getting confusing. I cannot find any
useful examples. I will read a little more on this.

Please provide some information on the subject if you know ! Thanks a
lot !
  Reply With Quote
SPONSORED LINKS BY GOOGLE

 


Reply


Thread Tools
Display Modes







Copyright © 2006 SmartyDevil.com - Dies Mies Jeschet Boenedoesef Douvema Enitemaus -
Also visit Ogoun the Usenet Archive
666