Balloon Tooltip

The place for threads about TimoSoft EditControls.
Post Reply
User avatar
Mex
Captain
Posts: 130
Joined: 24 Sep 2009, 19:47

Balloon Tooltip

Post by Mex »

Hi Timo

Is it possible to change balloontooltip on Texbox, when property Accept numbers only is set?
"Unaccetable character"... i want change this text to Estonian for exmaple?

BR;
Meelis
User avatar
TiKu
Administrator
Administrator
Posts: 832
Joined: 28 Sep 2004, 21:10
Location: München
Contact:

Re: Balloon Tooltip

Post by TiKu »

This tooltip comes from Windows, so I'm afraid there's no direct way. But the following might work:
  1. Subclass the TextBox.
  2. Watch out for the TTN_SHOW notification, which is sent via a WM_NOTIFY message.
  3. The lParam parameter sent with the notification points to a NMHDR struct, which should contain the tooltip's window handle in its hwndFrom member. Use the TTM_SETTITLE and TTM_UPDATETIPTEXT messages on this window to change the title and text displayed in the tooltip.
TiKu
Crunching for Fab36_Folding-Division at Folding@Home. Join Fab36/Fab30! - Folding@Home and BOINC
Boycott DRM! Boycott HDCP!
Post Reply