Click here to Skip to main content
15,914,109 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Registering file type and icon Pin
Michael Dunn4-Dec-04 9:01
sitebuilderMichael Dunn4-Dec-04 9:01 
GeneralUser Interface - Advice Required Pin
Imtiaz Murtaza4-Dec-04 7:27
Imtiaz Murtaza4-Dec-04 7:27 
GeneralRe: User Interface - Advice Required Pin
Maximilien4-Dec-04 8:49
Maximilien4-Dec-04 8:49 
GeneralRe: User Interface - Advice Required Pin
toddbrooks4-Dec-04 9:37
toddbrooks4-Dec-04 9:37 
GeneralRe: User Interface - Advice Required Pin
peterchen5-Dec-04 0:36
peterchen5-Dec-04 0:36 
GeneralRe: User Interface - Advice Required Pin
Tareq Ahmed Siraj5-Dec-04 5:26
Tareq Ahmed Siraj5-Dec-04 5:26 
GeneralRe: User Interface - Advice Required Pin
Henry miller6-Dec-04 6:50
Henry miller6-Dec-04 6:50 
GeneralOninitUpdate Pin
jimjake4-Dec-04 4:01
jimjake4-Dec-04 4:01 
I have built a SDI project in Visual C++ called HelloSDI. I used a book I bought
to learn about Windows applications. The project compiles 0 errors and 0 warnings.
The project has a simple dialog box added to it. When I run the program up pops a window that is blank.
The dialog is not there. On further searching I guess I have to add a override the OnInitialUpdate()
method of the CView class with this code
ChelloDlg HelloDlg;
HelloDlg.DoModal(); to make the dialog pop up at initialization.

My problem is I don’t know where the OnInitialUpdate code is put into my project. Some say you can use a menu
Handler to add the code into, but I can”t find away to do that either.
My book is unclear……. Can you help me. Jim



jim
GeneralRe: OninitUpdate Pin
Ravi Bhavnani4-Dec-04 6:00
professionalRavi Bhavnani4-Dec-04 6:00 
QuestionHow to force the control to redraw? Pin
ytod4-Dec-04 3:44
ytod4-Dec-04 3:44 
AnswerRe: How to force the control to redraw? Pin
User 66584-Dec-04 4:22
User 66584-Dec-04 4:22 
AnswerRe: How to force the control to redraw? Pin
John R. Shaw4-Dec-04 10:54
John R. Shaw4-Dec-04 10:54 
GeneralFile stream as function parameter Pin
vilmer3-Dec-04 22:16
vilmer3-Dec-04 22:16 
GeneralRe: File stream as function parameter Pin
toxcct3-Dec-04 22:21
toxcct3-Dec-04 22:21 
GeneralRe: File stream as function parameter Pin
ThatsAlok3-Dec-04 22:26
ThatsAlok3-Dec-04 22:26 
GeneralRe: File stream as function parameter Pin
Michael Dunn4-Dec-04 9:05
sitebuilderMichael Dunn4-Dec-04 9:05 
GeneralRe: File stream as function parameter Pin
Mohammad A Gdeisat5-Dec-04 6:04
Mohammad A Gdeisat5-Dec-04 6:04 
GeneralRe: File stream as function parameter Pin
vilmer6-Dec-04 4:19
vilmer6-Dec-04 4:19 
GeneralRe: File stream as function parameter Pin
Mohammad A Gdeisat6-Dec-04 9:06
Mohammad A Gdeisat6-Dec-04 9:06 
GeneralOne mesage in my application is causing crash Pin
vcseeker3-Dec-04 21:05
vcseeker3-Dec-04 21:05 
GeneralRe: One mesage in my application is causing crash Pin
toxcct4-Dec-04 0:27
toxcct4-Dec-04 0:27 
GeneralRe: One mesage in my application is causing crash Pin
ThatsAlok4-Dec-04 1:42
ThatsAlok4-Dec-04 1:42 
GeneralCrash while doing drag and drop. Pin
vcseeker3-Dec-04 20:41
vcseeker3-Dec-04 20:41 
GeneralProblem moving mfc dll to another machine Pin
hemenders3-Dec-04 18:03
hemenders3-Dec-04 18:03 
GeneralRe: Problem moving mfc dll to another machine Pin
ThatsAlok3-Dec-04 19:53
ThatsAlok3-Dec-04 19:53 

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.