More on extending Pollo

Al Byers <[email protected]> Fri, 21 Feb 2003 09:17:29 -0700
Newsgroups gmane.editors.pollo.devel
Message-ID <[email protected]>
Bruno,

(switching computers, so not following thread)

I thought I would add what I have determined in trying to extend Pollo.

1. One problem with extending PolloFrame by adding a Pollo instance to 
the constructor arguments is that the NewPolloFrameAction method does 
not have access to the Pollo instance. I modified it so that it 
NewPolloFrameAction keeps an instance of Pollo and passes it to the 
Frame constructor when it creates a new Frame.

2. Creating the menubar and toolbar in the constructor makes it a little 
problematic in extending. I guess an init() method might be better?

-Al

-- 
Al Byers
Automation Groups International
P.O. Box 1672 
Orem, UT 84059
801.400.5111
http://automationgroups.com
[email protected]





-------------------------------------------------------
This SF.net email is sponsored by: SlickEdit Inc. Develop an edge.
The most comprehensive and flexible code editor you can use.
Code faster. C/C++, C#, Java, HTML, XML, many more. FREE 30-Day Trial.
www.slickedit.com/sourceforge