Home » U++ Library support » ArrayCtrl, HeaderCtrl & GridCtrl » Message when moving mouse over an ArrayCtrl
Message when moving mouse over an ArrayCtrl [message #23232] |
Thu, 01 October 2009 23:08 |
|
koldo
Messages: 3356 Registered: August 2008
|
Senior Veteran |
|
|
Hello
I would like to show a help message when moving the mouse over an ArrayCtrl row.
This message text would depend on the row.
This could be similar to the message that appears when moving over a Bar button, or the text in the status bar with .Help("Message") also in Bars.
Best regards
Koldo
Best regards
Iñaki
|
|
|
|
Re: Message when moving mouse over an ArrayCtrl [message #23318 is a reply to message #23315] |
Thu, 08 October 2009 22:53 |
|
koldo
Messages: 3356 Registered: August 2008
|
Senior Veteran |
|
|
Hello Mirek
Thank you for your help.
I have done this test
struct ArrayCtrlTip : ArrayCtrl {
virtual void MouseMove(Point p, dword d)
{
int i = GetLineAt(p.y + GetScroll());
if(!IsNull(i))
Tip(String("You are in row " + i));
ArrayCtrl::MouseMove(p, d);
}
typedef ArrayCtrlTip CLASSNAME;
};
Unfortunately the Tip does not appear.
If I add a Tip with some text when ArrayCtrl setup, the Tip appears but with only fragments of the text.
Any idea ?
Bestt regards
Koldo
Best regards
Iñaki
|
|
|
Goto Forum:
Current Time: Thu Apr 18 21:22:54 CEST 2024
Total time taken to generate the page: 0.03813 seconds
|