Thanks for the reply Greg. Did you use the 'New'->'Code' options of Fluid to 
generate your example?  This is not something I've ever used. However, I did 
try to play around with your example as follows. I cut and paste the code 
between your 'snip' lines into a text file called 'hover.fl'. Then I opened 
'hover.fl' with Fluid. That seems to work. Fluid brings up a small window with 
the ATM box inside it. The Fluid code window shows that a class 'MyGroup' has 
been created inside of which there are two items: 1) something called 'MyGroup' 
which seems to be derived from FL_Group, and 2) a 'handle' function. The main() 
function is defined below the MyGroup class.

Next I used Fluid to generate code, resulting in two files: 'hover.cxx' and 
'hover.h'. Brought those files into a Visual C++ (6.0) workspace to compile and 
run. Ran into problems there. Here's the message ...

c:\work\work_11\dwss\code\hover\hover.cxx(5) : error C2572: 'MyGroup::MyGroup' 
: redefinition of default parameter : parameter 5
        c:\work\work_11\dwss\code\hover\hover.h(10) : see declaration of 
'MyGroup::MyGroup'

Make any sense to you?
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to