Click here to Skip to main content
15,912,578 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: edit default Pin
22-Mar-02 5:43
suss22-Mar-02 5:43 
GeneralRe: edit default Pin
Nish Nishant22-Mar-02 6:01
sitebuilderNish Nishant22-Mar-02 6:01 
GeneralCView type in a dialog...whats the problem Pin
22-Mar-02 4:59
suss22-Mar-02 4:59 
GeneralRe: CView type in a dialog...whats the problem Pin
Nish Nishant22-Mar-02 5:29
sitebuilderNish Nishant22-Mar-02 5:29 
GeneralRe: CView type in a dialog...whats the problem Pin
22-Mar-02 5:31
suss22-Mar-02 5:31 
GeneralRe: CView type in a dialog...whats the problem Pin
Nish Nishant22-Mar-02 5:54
sitebuilderNish Nishant22-Mar-02 5:54 
GeneralRe: CView type in a dialog...whats the problem Pin
Ravi Bhavnani22-Mar-02 9:40
professionalRavi Bhavnani22-Mar-02 9:40 
GeneralRe: CView type in a dialog...whats the problem Pin
23-Mar-02 2:22
suss23-Mar-02 2:22 
hi,
thanx to every one who answered.
The situation is like this,
In my dialog class I have declared CGView(and later CGView*) type variable.(CGView : public CView)
In the OnInitDialog I got the client rect and created the view with that rect.
In mainframe OnCreate I made the dialog modeless.

Everything is fine untill I click on it.I will have to debug and it takes me to Viewcore's mousemessagefilter(something) function's line asserting the view to be pDesktopWindow.This is irrespective of it being pointer or not.

Then with nonpointer variable I had another error while terminating the application.

Why can't we create CView types in a dialog box?That would be simpler than all those methods described in this site.

And Nish,it still didnot work.

cheersRose | [Rose]
GeneralOCX Control Question Pin
Douglas Troy22-Mar-02 5:00
Douglas Troy22-Mar-02 5:00 
GeneralRe: OCX Control Question Pin
Douglas Troy22-Mar-02 5:19
Douglas Troy22-Mar-02 5:19 
GeneralGenerating HTML Pin
Wizard_0122-Mar-02 4:45
Wizard_0122-Mar-02 4:45 
Generalradio buttons Pin
22-Mar-02 4:43
suss22-Mar-02 4:43 
GeneralRe: radio buttons Pin
Nish Nishant22-Mar-02 6:06
sitebuilderNish Nishant22-Mar-02 6:06 
GeneralUpdateData(false) Pin
22-Mar-02 4:11
suss22-Mar-02 4:11 
GeneralRe: UpdateData(false) Pin
Andres Manggini22-Mar-02 4:23
Andres Manggini22-Mar-02 4:23 
GeneralRe: UpdateData(false) Pin
Nish Nishant22-Mar-02 5:47
sitebuilderNish Nishant22-Mar-02 5:47 
QuestionThe enter key? Pin
22-Mar-02 4:08
suss22-Mar-02 4:08 
AnswerRe: The enter key? Pin
Michael Dunn22-Mar-02 4:51
sitebuilderMichael Dunn22-Mar-02 4:51 
AnswerRe: The enter key? Pin
22-Mar-02 4:46
suss22-Mar-02 4:46 
AnswerRe: The enter key? Pin
lucy22-Mar-02 4:55
lucy22-Mar-02 4:55 
AnswerRe: The enter key? Pin
Nish Nishant22-Mar-02 5:36
sitebuilderNish Nishant22-Mar-02 5:36 
AnswerRe: The enter key? Pin
Mazdak22-Mar-02 5:35
Mazdak22-Mar-02 5:35 
GeneralRe: The enter key? Pin
Andres Manggini22-Mar-02 7:04
Andres Manggini22-Mar-02 7:04 
GeneralRe: The enter key? Pin
Mazdak22-Mar-02 8:13
Mazdak22-Mar-02 8:13 
GeneralDialog box with Radio buttons and Edit boxes Pin
joeperris22-Mar-02 3:45
joeperris22-Mar-02 3:45 

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.