Re: Frame Displays?
From: Relvinian (smpres_at_hotmail.com)
Date: 11/22/04
- Next message: Mark Randall: "Re: Frame Displays?"
- Previous message: Ajay Kalra: "Re: Frame Displays?"
- In reply to: Mark Randall: "Frame Displays?"
- Next in thread: Mark Randall: "Re: Frame Displays?"
- Reply: Mark Randall: "Re: Frame Displays?"
- Messages sorted by: [ date ] [ thread ]
Date: Sun, 21 Nov 2004 20:00:27 -0700
Mark Randall wrote:
> Hello,
>
> I am trying to find a solution in MFC to impliment 'frames' on a dialog, as
> I have one dialog that will need to contain several major sets of edits,
> checkboxes etc and I need to be able to show just 1 of them at a time,
> hiding all others.
>
> It would be most helpful if someone knew of a Dialog-Designer based method
> of doing this, as it would help me see the exact design of it previously,
> and perhaps incorporate them with their own classes, then place them onto an
> owner dialog.
>
> Any information regarding if this is possible, and now, would be
> appreciated.
>
> - MR
>
>
Mark,
Are you talking about "frames" as in the Borland C++ Builder's TFrame
type? If so, there is no equivalent in Visual Studio. But there is an
alternative.
Every type of Frame you want to create, create another Dialog with those
controls -- setting the dialog type to Style:Child and Border:None.
Then on your main dialog, put a static control as the dimensions you
want for your frames to show in. Then just create a class instance of
that dialog type and position it over the "static" coords.
Relvinian
- Next message: Mark Randall: "Re: Frame Displays?"
- Previous message: Ajay Kalra: "Re: Frame Displays?"
- In reply to: Mark Randall: "Frame Displays?"
- Next in thread: Mark Randall: "Re: Frame Displays?"
- Reply: Mark Randall: "Re: Frame Displays?"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|