Home » U++ Library support » U++ Library : Other (not classified elsewhere) » Getting compile errors, I modeled after TreeCtrlDnd, but I can't see the error
Re: Getting compile errors, I modeled after TreeCtrlDnd, but I can't see the error [message #33631 is a reply to message #33629] |
Fri, 02 September 2011 07:32 |
|
Hi David,
The compilation problem is most probably just too much copy-paste struct MyApp : TopWindow {
SplitterFrame sf, RightSide;
TreeCtrl tree;
typedef App CLASSNAME; // <-- There is no type "App", it must be "MyApp"
...
To identify the line you clicked on, you can use GetCursorLine(), e.g.: void ItemDC()
{
PromptOK(DeQtf("Clicked on line " + IntStr(tree.GetCursorLine()) + "!"));
}
Best regards,
Honza
|
|
|
Goto Forum:
Current Time: Sat Jun 08 14:40:04 CEST 2024
Total time taken to generate the page: 0.02103 seconds
|