Click here to Skip to main content
15,923,689 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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 
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 
Okay, so here's my rather ugly and stupid work-around.

Create my frame window in my OnInitDialog but turn off the visible bit in the flag.

Now whenever I want to bring up the framewindow with my custom view I do a ShowWindow with SW_SHOW

Of course now I have to override WM_CLOSE in the framewindow and instread of actually closin it I hide it Smile | :)

And I dont have to bother about a leak because the framewindoiw is destroyed when the dialog is closed because the framewindow's parent is set to the dialog CWnd Smile | :)

Cool, eh?

Regards
Nish Big Grin | :-D

p.s. I know this sounds really silly and ugly, hey that rhymes, silly, ugly Smile | :) , well coming back to what I was saying, I dont have any other smarter ideas!!! Sleepy | :zzz:


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 [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 
AnswerRe: How to send message to another program? Pin
Williams23-Jul-02 4:49
Williams23-Jul-02 4:49 
GeneralRe: How to send message to another program? Pin
RichardWdy23-Jul-02 5:38
RichardWdy23-Jul-02 5:38 
GeneralRe: How to send message to another program? Pin
RichardWdy23-Jul-02 5:52
RichardWdy23-Jul-02 5:52 

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.