How to use TJvBalloonWindow as the hint window for Virtual treeview?
Posted
by Edwin
on Stack Overflow
See other posts from Stack Overflow
or by Edwin
Published on 2010-03-30T03:42:29Z
Indexed on
2010/03/30
4:03 UTC
Read the original article
Hit count: 348
virtualtreeview
|delphi
I have a 'hint window leftovers' problem with Virtual Treeview in an Office add-in, and now I want to customize the hint window to solve the problem. I want to use TJvBallonHint from the JVCL package, which is also used in other parts of my program.
I inherited TVirtualStringTree and have overridden the GetHintWindowClass method like the following code. The TJvBallonHint window class is applied, but the hint text is not drawn. Any tips for me? Thank you!
function TMyStringTree.GetHintWindowClass: THintWindowClass;
begin
Result :=TJvBalloonWindow;;
end;
© Stack Overflow or respective owner