Click here to Skip to main content
15,909,896 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionstr to double? Pin
briefcase1-Jul-02 7:36
briefcase1-Jul-02 7:36 
AnswerRe: str to double? Pin
Chris Losinger1-Jul-02 7:46
professionalChris Losinger1-Jul-02 7:46 
GeneralRe: str to double? Pin
David Viggiano1-Jul-02 9:21
David Viggiano1-Jul-02 9:21 
AnswerRe: str to double? Pin
Stuart Dootson1-Jul-02 13:24
professionalStuart Dootson1-Jul-02 13:24 
GeneralActiveX Woes Pin
1-Jul-02 7:09
suss1-Jul-02 7:09 
QuestionWhy can't I draw a triangle to the screen? Pin
Alan Chambers1-Jul-02 7:01
Alan Chambers1-Jul-02 7:01 
Generalhelp writing add-in... Pin
RenGirion1-Jul-02 6:59
RenGirion1-Jul-02 6:59 
GeneralBeginner question: Limit number of MDI pages open at one time... Pin
John Soares1-Jul-02 6:42
John Soares1-Jul-02 6:42 
I have an MDI application. What I need to do is limit the number of MDI windows open at one time to two(2).

How can I do this easily? I thought of using OnFileOpen() and then counting the number of times it went to this function was called, but I can still open multiple windows. Then I thought of going into the resources. I saw they had about 28 files that could be opened, so I limited that to two. That didn't work either.

I have no other code to show you, but any hints would be appreciated.

Best,


John Soares
support@onlinescamreports.com
GeneralRe: Beginner question: Limit number of MDI pages open at one time... Pin
Chad Koehler1-Jul-02 6:50
Chad Koehler1-Jul-02 6:50 
GeneralExporting template based class from a Dll Pin
PinkPanter1-Jul-02 6:17
PinkPanter1-Jul-02 6:17 
GeneralRe: Exporting template based class from a Dll Pin
Mike Nordell2-Jul-02 7:17
Mike Nordell2-Jul-02 7:17 
GeneralCArchiveRxception : badClass Pin
Olivier REIX1-Jul-02 6:07
Olivier REIX1-Jul-02 6:07 
GeneralRe: CArchiveException : badClass Pin
Olivier REIX2-Jul-02 21:32
Olivier REIX2-Jul-02 21:32 
GeneralRe: CArchiveException : badClass Pin
zebbedi15-Dec-03 10:47
zebbedi15-Dec-03 10:47 
GeneralRe: CArchiveException : badClass Pin
Olivier REIX15-Dec-03 20:20
Olivier REIX15-Dec-03 20:20 
GeneralRe: CArchiveException : badClass Pin
zebbedi15-Dec-03 20:44
zebbedi15-Dec-03 20:44 
GeneralProbelm regarding cpp Pin
SamirSood1-Jul-02 4:44
SamirSood1-Jul-02 4:44 
GeneralRe: Probelm regarding cpp Pin
[James Pullicino]1-Jul-02 5:06
[James Pullicino]1-Jul-02 5:06 
GeneralCEdit Control Co-Ordinates Pin
Chavez1-Jul-02 4:18
Chavez1-Jul-02 4:18 
GeneralRe: CEdit Control Co-Ordinates Pin
dazinith1-Jul-02 4:41
dazinith1-Jul-02 4:41 
GeneralNeed a DialogBar HOWTO Pin
bisserke1-Jul-02 3:56
bisserke1-Jul-02 3:56 
GeneralRe: Need a DialogBar HOWTO Pin
[James Pullicino]1-Jul-02 4:00
[James Pullicino]1-Jul-02 4:00 
GeneralRe: Need a DialogBar HOWTO Pin
bisserke1-Jul-02 4:07
bisserke1-Jul-02 4:07 
GeneralRe: Need a DialogBar HOWTO Pin
[James Pullicino]1-Jul-02 5:15
[James Pullicino]1-Jul-02 5:15 
QuestionHow do you remove or hide the Menu in an MDI window (CMDIFrameWnd)? Pin
1-Jul-02 3:32
suss1-Jul-02 3:32 

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.