Creating a sub window

BlitzMax Modules Forums/Brucey's Modules/Creating a sub window

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Hey... toolbars and dialogs in your first attempt ;-)

After creating the "Addpos" dialog, you might find this is useful too:
		Addpos.Center(wxBOTH)

It centers the dialog nicely.

Remember too, that if your dialog is going to be reasonably complicated, you could Extend from wxDialog with your own Type, and add control creation into its own OnInit() method. Otherwise you end up with lots of control creation in one place - I'm for keeping things grouped together :-p