none
Removing a Tooltips

    Question

  • Dear all,

    I have created a tooltips dynamically using the method highlighted below:

    http://msdn.microsoft.com/en-us/library/bb760252(VS.85).aspx

    The link above highlighted many ways to create different kind of tooltips.

    But it never says how to remove / modify the tooltip itself.

    Curretnly, when I wanted to delete a tooltip, I just call:

    ::DestroyWindow(<the tooltip hwnd created in the CreateWindowEx>);

    Question now is, am I doing it correctly? Because there is a TTM_DELTOOL, but I can't really get it to work :(

    Thanks in advance.
    Saturday, February 13, 2010 12:27 PM

Answers