Removing a Tooltips


  • Dear all,

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

    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