Home » U++ Library support » U++ Library : Other (not classified elsewhere) » Getting compile errors, I modeled after TreeCtrlDnd, but I can't see the error
Getting compile errors, I modeled after TreeCtrlDnd, but I can't see the error [message #33629] |
Thu, 01 September 2011 19:26  |
silverx
Messages: 62 Registered: March 2011
|
Member |
|
|
I am trying to code a tree and use the WhenLeftDouble, to do some processing.
I am getting the following compile errors:
C:\MyApps\Train3\main.cpp(11) : error C2146: syntax error : missing ';' before identifier 'CLASSNAME'
C:\MyApps\Train3\main.cpp(11) : error C4430: missing type specifier - int assumed. Note: C++ does not support default
-int
C:\MyApps\Train3\main.cpp(11) : error C2208: 'Upp::TopWindow' : no members defined using this type
C:\MyApps\Train3\main.cpp(11) : fatal error C1903: unable to recover from previous error(s); stopping compilation
main.cpp
Train3: 1 file(s) built in (0:01.60), 1604 msecs / file, duration = 2948 msecs, parallelization 14%
There were errors. (0:23.82)
It looks similar to the TreeCtrlDnd in the reference item, so not sure why? Everything that I can see has the ; as required on it.
Also once I get to the ItemDC, how would I identify which item was double clicked upon?
I have attached my code.
Thanks
David
-
Attachment: train3.zip
(Size: 1.37KB, Downloaded 376 times)
|
|
|
Goto Forum:
Current Time: Wed May 14 10:52:22 CEST 2025
Total time taken to generate the page: 0.00383 seconds
|