Marcos Duarte wrote:
> I will be treating the different canvas completely independent. They can 
> represent different views or not.

> So, if you could demonstrate how to make a FC2 app with one  guimode and 
> more than one canvas, this would be great.

1st -- MDI is an abomination -- please reconsider!

That being said:

I think you have two options:

1) refactor the toolbar to set the GUImode on the current "selected" 
canvas. The issue here is the the mode object itself keeps various state 
parameters, so you may need to have a different instance of each GUIMode 
for each Canvas -- or just make sure it gets re-set.

2) have a different toolbar for each Canvas, and swap them out when the 
active canvas changes -- I'm not familiar enough with MDI to know if 
that will work well.

-Chris



-- 
Christopher Barker, Ph.D.
Oceanographer

Emergency Response Division
NOAA/NOS/OR&R            (206) 526-6959   voice
7600 Sand Point Way NE   (206) 526-6329   fax
Seattle, WA  98115       (206) 526-6317   main reception

[email protected]
_______________________________________________
FloatCanvas mailing list
[email protected]
http://mail.mithis.com/cgi-bin/mailman/listinfo/floatcanvas

Reply via email to