An alternative is to use a panel control (which you keep hidden until
required) which you can move around and place over your form to simulate a
tooltip. This technique is used in the Pocket TaskVision sample
(
http://msdn.microsoft.com/library/de...-us/dnnetcomp/
html/wnf_pkttaskvision.asp) to create a floating progress dialog.
This way will not require any P/Invokes to native APIs and should be fairly
simple to implement.
Peter
--
Peter Foot
Windows Embedded MVP
OpenNETCF.org Senior Advisor
www.inthehand.com |
www.opennetcf.org
"James L" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> I have been trying to p/invoke RegisterClass and CreateWindowEx to create
> 'floating' tooltip style windows in my app that I can add text and
graphics
> to. I cannot see how to assign a WndProc function pointer to the WNDCLASS
> object. Is this possible or is there another way I could go about it?
>
> I want to be able to trigger the window from controls, I wrote a custom
> control to do what I wanted but couldn't get the triggering control to
draw
> outside it's own bounds.
>
> thanks
>
> James
>
>