Does the pocket/wm support tooltips for controls, i.e. buttons? If so
what is the simplest way to add a tooltip? I thought I read something
about adding it via the resource editor in VS.
Thanks so much

Re: ToolTips by Michael

Michael
Sun May 04 20:05:35 CDT 2008

No. You'd have to create it manually. Subclass the button and handle mouse
moves. When you get WM_LBUTTONDOWN, you you can
CreateWindow(TOOLTIPS_CLASS, TEXT("Your tooltip text"), ...). When you get
WM_LBUTTONUP, you can DestroyWindow(hWndTooltip). And you'll want to make
sure to call the original button wndproc, too, so you get WM_COMMAND posted
on the WM_LBUTTONUP.

--
Michael Salamone, eMVP
Entrek Software, Inc.
www.entrek.com


"atomic928" <csmith1a@mindspring.com> wrote in message
news:e6cdc44e-f578-49aa-875c-99a74d2ab874@f36g2000hsa.googlegroups.com...
> Does the pocket/wm support tooltips for controls, i.e. buttons? If so
> what is the simplest way to add a tooltip? I thought I read something
> about adding it via the resource editor in VS.
> Thanks so much