Click here to Skip to main content
16,012,028 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Getting the class In the class view. Pin
567890123423-Jul-02 3:51
567890123423-Jul-02 3:51 
GeneralNo don't Pin
Abin23-Jul-02 12:40
Abin23-Jul-02 12:40 
QuestionHow to implement Drag and drop Pin
Bhikshapathi Gorantla23-Jul-02 0:53
Bhikshapathi Gorantla23-Jul-02 0:53 
AnswerRe: How to implement Drag and drop Pin
cycosi23-Jul-02 2:45
cycosi23-Jul-02 2:45 
GeneralUpdating records in CArrayRowset Pin
User 2237023-Jul-02 0:52
User 2237023-Jul-02 0:52 
GeneralUsing UpdateResource() to change app's icon Pin
kb23-Jul-02 0:49
kb23-Jul-02 0:49 
QuestionHow To Code a Meter To Track the Amount of Data Sent/ Recd from some Internet Connection Pin
Vikrant Kapoor22-Jul-02 23:46
Vikrant Kapoor22-Jul-02 23:46 
GeneralCHtmlView::Create issue Pin
Nish Nishant22-Jul-02 23:40
sitebuilderNish Nishant22-Jul-02 23:40 
Scenario :-

Main Dialog -> Child Dialog

[Means we have a main CDialog derived modal dialog, which brings up a second modal child dialog]

Child Dialog - CFrameWnd derived class F

[The child dialog creates and shows a CFrameWnd derived class F

in F's OnCreate() we do this :-

We create a CHtmlView derived class.

This is done calling CHtmlView::Create(...)

Now the problem is that Create fails and returns false Frown | :-(

If I bring it up from the main dialog, it works.
It only fails when I bring it up from the 2nd dialog

Is there any way to figure out why and how Create is failing

This project is compiled with the /clr option by the way as it uses a good amount of managed code. Thus the debugging features are sorta mostly useless. Frown | :-(

I created a test dialog app, added a child dialog and popped up a frame window with the CHtmlView derived view and made it a /clr app. That worked with no issues at all.

Do you guys think that with all the managed code, I am causing some kinda memory overflow or some other problem for MFC???

Cry | :((

I feel miserable!

Nish


Author of the romantic comedy

Summer Love and Some more Cricket [New Win]

Review by Shog9
Click here for review[NW]

GeneralRe: CHtmlView::Create issue [more info] Pin
Nish Nishant22-Jul-02 23:43
sitebuilderNish Nishant22-Jul-02 23:43 
GeneralRe: CHtmlView::Create issue [more info] #2 Pin
Nish Nishant22-Jul-02 23:52
sitebuilderNish Nishant22-Jul-02 23:52 
GeneralRe: CHtmlView::Create issue [work-around] Pin
Nish Nishant23-Jul-02 0:26
sitebuilderNish Nishant23-Jul-02 0:26 
GeneralRe: CHtmlView::Create issue [work-around] Pin
Alexandru Savescu23-Jul-02 1:36
Alexandru Savescu23-Jul-02 1:36 
GeneralRe: CHtmlView::Create issue [work-around] Pin
Nish Nishant23-Jul-02 1:41
sitebuilderNish Nishant23-Jul-02 1:41 
GeneralTab control with the images.. Pin
Neha22-Jul-02 22:27
Neha22-Jul-02 22:27 
Questionwait/sleep func for win32 console apps? Pin
Sprudling22-Jul-02 22:09
Sprudling22-Jul-02 22:09 
AnswerRe: wait/sleep func for win32 console apps? Pin
Daniel Lohmann23-Jul-02 1:13
Daniel Lohmann23-Jul-02 1:13 
GeneralRe: wait/sleep func for win32 console apps? Pin
Sprudling23-Jul-02 8:28
Sprudling23-Jul-02 8:28 
GeneralRe: wait/sleep func for win32 console apps? Pin
Daniel Lohmann23-Jul-02 9:58
Daniel Lohmann23-Jul-02 9:58 
QuestionHow to determine the device? Pin
bigcake22-Jul-02 20:53
bigcake22-Jul-02 20:53 
Generalfopen failes Pin
GBlank22-Jul-02 20:41
sussGBlank22-Jul-02 20:41 
GeneralRe: fopen failes Pin
Stuart Dootson22-Jul-02 20:51
professionalStuart Dootson22-Jul-02 20:51 
GeneralRe: fopen failes Pin
Alexandru Savescu22-Jul-02 21:45
Alexandru Savescu22-Jul-02 21:45 
GeneralControl detection Pin
vikramlinux22-Jul-02 20:03
vikramlinux22-Jul-02 20:03 
GeneralRe: Control detection Pin
Aggtaa23-Jul-02 1:32
Aggtaa23-Jul-02 1:32 
QuestionHow to send message to another program? Pin
RichardWdy22-Jul-02 19:20
RichardWdy22-Jul-02 19:20 

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.