Click here to Skip to main content
15,920,602 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How to call another project's exe file Pin
David Crow21-Aug-03 8:00
David Crow21-Aug-03 8:00 
GeneralRe: How to call another project's exe file Pin
mr200321-Aug-03 8:48
mr200321-Aug-03 8:48 
GeneralRe: How to call another project's exe file Pin
David Crow21-Aug-03 8:56
David Crow21-Aug-03 8:56 
AnswerRe: How to call another project's exe file Pin
Cambalindo21-Aug-03 8:26
Cambalindo21-Aug-03 8:26 
GeneralClearing/Deleting MFC screen Pin
Anonymous21-Aug-03 7:44
Anonymous21-Aug-03 7:44 
GeneralRe: Clearing/Deleting MFC screen Pin
Larry J. Siddens21-Aug-03 7:53
Larry J. Siddens21-Aug-03 7:53 
GeneralRe: Clearing/Deleting MFC screen Pin
David Crow21-Aug-03 8:09
David Crow21-Aug-03 8:09 
GeneralRe: Clearing/Deleting MFC screen Pin
John R. Shaw21-Aug-03 8:49
John R. Shaw21-Aug-03 8:49 
Radio buttons:
You could try placing the maximum number radio buttons that you would need on the dialog and then use ShowWindow() to show or hide them. You will also needed to use SetWindowText() (a.k.a. WM_SETTEXT) changed the text associated with the buttons depending on the question.

Give the buttons generic name line IDC_RADIO1, ID_CRADIO2, etc...

------------------------------------------

Sizing:

David Crow gave a good answer but I think you might want to go further than just maximizing the window. Search codeproject for resizable dialog box aticles. The reason I am sugesting this is that you may want the controls in your dialog box to adjust there size and position according to the size of the dialog box. Of course for such a simple program you may not care.

INTP
GeneralCDataGrid with modeless dialog box Pin
sdfdsfa21-Aug-03 6:18
sdfdsfa21-Aug-03 6:18 
GeneralProblems creating dialog with custom control Pin
bt-ascona21-Aug-03 5:22
bt-ascona21-Aug-03 5:22 
GeneralRe: Problems creating dialog with custom control Pin
David Crow21-Aug-03 6:04
David Crow21-Aug-03 6:04 
GeneralRe: Problems creating dialog with custom control Pin
bt-ascona21-Aug-03 9:46
bt-ascona21-Aug-03 9:46 
GeneralRe: Problems creating dialog with custom control Pin
David Crow21-Aug-03 9:53
David Crow21-Aug-03 9:53 
GeneralRe: Problems creating dialog with custom control Pin
bt-ascona21-Aug-03 17:14
bt-ascona21-Aug-03 17:14 
GeneralHelp with Communicating with additional PC's Pin
21-Aug-03 5:14
suss21-Aug-03 5:14 
GeneralRe: Help with Communicating with additional PC's Pin
tmangan21-Aug-03 7:36
tmangan21-Aug-03 7:36 
GeneralCTabCtrl Pin
Gagnon Claude21-Aug-03 5:02
Gagnon Claude21-Aug-03 5:02 
GeneralRe: CTabCtrl Pin
valikac21-Aug-03 5:10
valikac21-Aug-03 5:10 
GeneralRe: CTabCtrl Pin
peterchen21-Aug-03 5:42
peterchen21-Aug-03 5:42 
GeneralRe: CTabCtrl Pin
DiWa21-Aug-03 6:08
DiWa21-Aug-03 6:08 
Generalkeyframe scene detection Pin
Emiliano21-Aug-03 4:58
Emiliano21-Aug-03 4:58 
GeneralRe: keyframe scene detection Pin
Joey Bloggs21-Aug-03 21:27
Joey Bloggs21-Aug-03 21:27 
GeneralComboBox in Modal DIalog Pin
Karen030221-Aug-03 4:40
Karen030221-Aug-03 4:40 
GeneralRe: ComboBox in Modal DIalog Pin
valikac21-Aug-03 5:12
valikac21-Aug-03 5:12 
Generalautomate excel copy and paste Pin
Anonymous21-Aug-03 4:40
Anonymous21-Aug-03 4:40 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.