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

C / C++ / MFC

 
GeneralEnable a combobox Pin
keegan8-Aug-03 4:02
keegan8-Aug-03 4:02 
GeneralRe: Enable a combobox Pin
User 66588-Aug-03 4:26
User 66588-Aug-03 4:26 
GeneralRe: Enable a combobox Pin
keegan8-Aug-03 4:40
keegan8-Aug-03 4:40 
GeneralRe: Enable a combobox Pin
User 66588-Aug-03 4:51
User 66588-Aug-03 4:51 
GeneralRe: Enable a combobox Pin
jhwurmbach8-Aug-03 4:44
jhwurmbach8-Aug-03 4:44 
GeneralRe: Enable a combobox Pin
keegan8-Aug-03 5:04
keegan8-Aug-03 5:04 
GeneralRe: Enable a combobox Pin
Anthony_Yio11-Aug-03 1:35
Anthony_Yio11-Aug-03 1:35 
Generalmodeless cdialog as child Pin
Anonymous8-Aug-03 3:55
Anonymous8-Aug-03 3:55 
I would like to have a "MDI" application that displays a bunch of reports in separate windows within a main frame. I would like to define each report using a dialog resource. This is what I have tried:

1. Create a dialog resource for each report and use classwizard to generate a class for each. The dialogs have the WS_CHILD style.
2. Create a menu resource which will allow selection of each report.
3. Have cwinnapp::initinstance create a CFrameWnd and add the menu to it.
4. When the user selects one of the reports from the menu then display the associated report dialog modelessly with the main cframewnd as the parent.

This sort of works. The problem is that the modeless dialog never gets the focus (even when I click on it). Is there a way to fix this or is there a better way to do this?


GeneralRe: modeless cdialog as child Pin
keegan8-Aug-03 4:06
keegan8-Aug-03 4:06 
GeneralRe: modeless cdialog as child Pin
Anonymous8-Aug-03 4:31
Anonymous8-Aug-03 4:31 
GeneralRe: modeless cdialog as child Pin
jhwurmbach8-Aug-03 4:54
jhwurmbach8-Aug-03 4:54 
GeneralRe: modeless cdialog as child Pin
Ryan Binns8-Aug-03 5:02
Ryan Binns8-Aug-03 5:02 
GeneralRe: modeless cdialog as child Pin
jhwurmbach8-Aug-03 5:21
jhwurmbach8-Aug-03 5:21 
GeneralRe: modeless cdialog as child Pin
Anonymous8-Aug-03 5:47
Anonymous8-Aug-03 5:47 
QuestionAdding Video? Pin
mea35818-Aug-03 3:51
mea35818-Aug-03 3:51 
GeneralShading Pin
Gary Kirkham8-Aug-03 3:50
Gary Kirkham8-Aug-03 3:50 
GeneralRe: Shading Pin
Ryan Binns8-Aug-03 4:43
Ryan Binns8-Aug-03 4:43 
GeneralAutomate word and excel Pin
Jason Truong8-Aug-03 3:46
Jason Truong8-Aug-03 3:46 
GeneralRe: Automate word and excel Pin
David Crow8-Aug-03 5:35
David Crow8-Aug-03 5:35 
GeneralClickety Police !! Pin
Rage8-Aug-03 6:15
professionalRage8-Aug-03 6:15 
GeneralVS.NET/Dialog resize feature. Pin
Mike Doner8-Aug-03 3:38
Mike Doner8-Aug-03 3:38 
GeneralRe: VS.NET/Dialog resize feature. Pin
Joel Lucsy10-Aug-03 7:03
Joel Lucsy10-Aug-03 7:03 
GeneralCritical Sections Pin
Patje8-Aug-03 3:33
Patje8-Aug-03 3:33 
GeneralRe: Critical Sections Pin
Neville Franks8-Aug-03 11:21
Neville Franks8-Aug-03 11:21 
QuestionCustomization directory path per project ? Pin
yarp8-Aug-03 3:11
yarp8-Aug-03 3:11 

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.