cbpporter Messages: 1427 Registered: September 2007
Ultimate Contributor
mrjt wrote on Tue, 18 March 2008 17:36
Since TopSeparatorFrame is just a CtrlFrame (no Ctrl inheritance) IMO it would be easiest just to use AddFrame (or InsertFrame) and RemoveFrame as necessary.
Yes, but CtrlFrame is an abstract class, so I can not declare a variable with this type and use it to store the value from TopSeparatorFrame().
Also the frame I want to hide is deep in a nest of layouts and other frames, and I don't know if Add/Remove method would maintain the "Z"-order.