Hi!

I have made a usercontrol (ActiveX). It has a rather complex painting procedure which uses WinAPI drawing functions on a temporary device context handle (memory dc), and at the end of the painting cycle bitblt's the contents of the DC to the control DC. When placed on the form, the control has ToolTipText property, but it does not work (there are no tooltips displayed). I have looked into some other button controls out there and I found one that solves the problem by creating tooltips using WinAPI, but for some reason the code from that project doesn't work in mine.

Could you please help?

Thanks a lot in advance!

Stanislav