Click here to Skip to main content
15,884,047 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionMS Flex Grid 6.0 OCX [modified] Pin
dehseth20-Oct-08 2:42
dehseth20-Oct-08 2:42 
QuestionHi all! Pin
Dennis L20-Oct-08 2:37
Dennis L20-Oct-08 2:37 
AnswerRe: Hi all! Pin
SandipG 20-Oct-08 3:07
SandipG 20-Oct-08 3:07 
Questionwinhttp authentication issue Pin
George_George20-Oct-08 2:26
George_George20-Oct-08 2:26 
QuestionLoading Doc/View from Dialog Pin
Mark Gilson20-Oct-08 2:26
Mark Gilson20-Oct-08 2:26 
AnswerRe: Loading Doc/View from Dialog Pin
David Crow20-Oct-08 2:45
David Crow20-Oct-08 2:45 
GeneralRe: Loading Doc/View from Dialog Pin
Mark Gilson20-Oct-08 2:51
Mark Gilson20-Oct-08 2:51 
GeneralRe: Loading Doc/View from Dialog Pin
David Crow20-Oct-08 2:58
David Crow20-Oct-08 2:58 
Mark Gilson wrote:
Care to be a bit more detailed...I do agree that I should be able to do the same thing with a doc/view, but my question was how.


By using the same two lines of code you showed. Where you put those depends on when you want the dialog to be displayed (e.g., in response to a button click, or menu selection).

Use AppWizard to create an SDI project with an About box. Look at the code generated to see how that modal dialog is displayed.

"Love people and use things, not love things and use people." - Unknown

"The brick walls are there for a reason...to stop the people who don't want it badly enough." - Randy Pausch


GeneralRe: Loading Doc/View from Dialog Pin
Mark Gilson20-Oct-08 3:02
Mark Gilson20-Oct-08 3:02 
QuestionRe: Loading Doc/View from Dialog Pin
David Crow20-Oct-08 3:17
David Crow20-Oct-08 3:17 
AnswerRe: Loading Doc/View from Dialog Pin
Mark Gilson20-Oct-08 3:29
Mark Gilson20-Oct-08 3:29 
QuestionRe: Loading Doc/View from Dialog Pin
David Crow20-Oct-08 3:32
David Crow20-Oct-08 3:32 
AnswerRe: Loading Doc/View from Dialog Pin
Mark Gilson20-Oct-08 4:19
Mark Gilson20-Oct-08 4:19 
GeneralRe: Loading Doc/View from Dialog Pin
David Crow20-Oct-08 4:27
David Crow20-Oct-08 4:27 
GeneralRe: Loading Doc/View from Dialog Pin
Mark Gilson20-Oct-08 5:58
Mark Gilson20-Oct-08 5:58 
QuestionHow can increase a date by one day? Pin
Le@rner20-Oct-08 2:25
Le@rner20-Oct-08 2:25 
AnswerRe: How can increase a date by one day? Pin
David Crow20-Oct-08 2:45
David Crow20-Oct-08 2:45 
GeneralRe: How can increase a date by one day? Pin
Le@rner20-Oct-08 2:50
Le@rner20-Oct-08 2:50 
GeneralRe: How can increase a date by one day? Pin
David Crow20-Oct-08 3:00
David Crow20-Oct-08 3:00 
GeneralRe: How can increase a date by one day? Pin
SandipG 20-Oct-08 3:01
SandipG 20-Oct-08 3:01 
QuestionRe: How can increase a date by one day? Pin
CPallini20-Oct-08 3:08
mveCPallini20-Oct-08 3:08 
AnswerRe: How can increase a date by one day? Pin
SandipG 20-Oct-08 3:11
SandipG 20-Oct-08 3:11 
GeneralRe: How can increase a date by one day? Pin
Rajesh R Subramanian20-Oct-08 3:05
professionalRajesh R Subramanian20-Oct-08 3:05 
GeneralRe: How can increase a date by one day? Pin
Le@rner20-Oct-08 19:16
Le@rner20-Oct-08 19:16 
AnswerRe: How can increase a date by one day? [modified] Pin
CPallini20-Oct-08 3:04
mveCPallini20-Oct-08 3:04 

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.