ToolTips

Started by Anonymous, October 05, 2004, 08:26:40 PM

Previous topic - Next topic

gian young

Hi Roger,

In your earlier version of ToolTipsSet the hWnd_ToolTip Dword variable is declared Static, therefore once implemented remains the same for all subsequent calls to the ToolTipSet function.

In the latest version of ToolTipsSet the hWnd_ToolTip Dword variable is not Static but can be set by PrevTip to be the same value as an earlier call to the function or can be (0) new.

Could you please explain the rational behind this change and the reasons or advantages obtained.


Regards

Gian Young

Roger Garstang

Less memory/resources used if reusing the same tooltip parent.  Also in Balloon tooltips any icons/titles set are linked with the parent, so all have the same icon/title in previous version.