- // as we store our text anyhow, it seems useless to waste system memory
- // by asking the tooltip ctrl to remember it too - instead it will send
- // us TTN_NEEDTEXT (via WM_NOTIFY) when it is about to be shown
+ // another possibility would be to specify LPSTR_TEXTCALLBACK here as we
+ // store the tooltip text ourselves anyhow, and provide it in response to
+ // TTN_NEEDTEXT (sent via WM_NOTIFY), but then we would be limited to 79
+ // character tooltips as this is the size of the szText buffer in
+ // NMTTDISPINFO struct -- and setting the tooltip here we can have tooltips
+ // of any length