May 04, 2024, 12:43:35 PM

News:

Own IWBasic 2.x ? -----> Get your free upgrade to 3.x now.........


Dialogs in a Window

Started by LarryMc, January 07, 2006, 12:58:00 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

LarryMc

If I want to create a window (winMAIN) and then create a dialog (dlgCONFIG) how to I get the *parent (tying the dialog to the window)?

I don't want all that MDIframe stuff.
LarryMc
Larry McCaughn :)
Author of IWB+, Custom Button Designer library, Custom Chart Designer library, Snippet Manager, IWGrid control library, LM_Image control library

Ionic Wind Support Team

Just pass it winMain.  Nothing else is necessary.

Ionic Wind Support Team

Ionic Wind Support Team

Or if your creating the dialog in a method of the window you can pass the 'this' pointer.

Ionic Wind Support Team