Click here to Skip to main content
15,913,487 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: please help! fast simple question Pin
WoutL17-Jun-03 2:35
WoutL17-Jun-03 2:35 
GeneralRe: please help! fast simple question Pin
WoutL17-Jun-03 2:59
WoutL17-Jun-03 2:59 
GeneralRe: please help! fast simple question Pin
David Crow17-Jun-03 2:54
David Crow17-Jun-03 2:54 
Generalok thanks, what about this? Pin
wickedclownz17-Jun-03 11:35
wickedclownz17-Jun-03 11:35 
GeneralRe: ok thanks, what about this? Pin
David Crow18-Jun-03 2:52
David Crow18-Jun-03 2:52 
GeneralVC++ database programming Pin
modular17-Jun-03 2:29
modular17-Jun-03 2:29 
GeneralRe: VC++ database programming Pin
David Crow17-Jun-03 2:55
David Crow17-Jun-03 2:55 
GeneralDestroying an MFC view Pin
Ryan Binns17-Jun-03 1:28
Ryan Binns17-Jun-03 1:28 
I've run into a strange problem. I'm trying to replace the view for one of my documents (similar to in MS PowerPoint for having different views of the same document), but whenever I call DestroyWindow() on the view, it goes into an infinite loop. Stepping through with the debugger, I found that Windows is constantly sending three of the view's child windows the WM_GETDLGCODE message (it's a CFormView derived class), but only the ones that I created at runtime in the view's OnCreate() handler. Handling the WM_GETDLGCODE message did not stop the messages being sent.

Is this an issue with form views - do they not work correctly with dynamic controls? Or is there something else that could cause this?

Any suggestions are welcome Smile | :)

Ryan

Being little and getting pushed around by big guys all my life I guess I compensate by pushing electrons and holes around. What a bully I am, but I do enjoy making subatomic particles hop at my bidding - Roger Wright (2nd April 2003, The Lounge)

Punctuality is only a virtue for those who aren't smart enough to think of good excuses for being late - John Nichol "Point Of Impact"

GeneralRe: Destroying an MFC view Pin
Ryan Binns17-Jun-03 2:15
Ryan Binns17-Jun-03 2:15 
GeneralRe: Destroying an MFC view Pin
Roger Allen17-Jun-03 2:20
Roger Allen17-Jun-03 2:20 
GeneralRe: Destroying an MFC view Pin
Ryan Binns17-Jun-03 2:25
Ryan Binns17-Jun-03 2:25 
GeneralRe: Destroying an MFC view Pin
Ryan Binns17-Jun-03 16:06
Ryan Binns17-Jun-03 16:06 
GeneralDLL Injection Problems Pin
ganon17-Jun-03 1:23
ganon17-Jun-03 1:23 
GeneralNT service Pin
Jamshed Marker17-Jun-03 1:04
sussJamshed Marker17-Jun-03 1:04 
GeneralRe: NT service Pin
XiangYangLiu17-Jun-03 1:45
sussXiangYangLiu17-Jun-03 1:45 
Questionwindows login, logout message? Pin
OmarLodhi17-Jun-03 0:44
OmarLodhi17-Jun-03 0:44 
AnswerRe: windows login, logout message? Pin
Joan M17-Jun-03 1:09
professionalJoan M17-Jun-03 1:09 
AnswerRe: windows login, logout message? Pin
Tarundeep Singh Kalra17-Jun-03 2:05
Tarundeep Singh Kalra17-Jun-03 2:05 
GeneralRe: .EXE path Pin
Uma Mahes17-Jun-03 0:37
Uma Mahes17-Jun-03 0:37 
GeneralRe: .EXE path Pin
Rage17-Jun-03 0:42
professionalRage17-Jun-03 0:42 
GeneralRe: .EXE path Pin
Michael Andrew17-Jun-03 3:39
Michael Andrew17-Jun-03 3:39 
GeneralSymantec C++ compiler Pin
Member 40314716-Jun-03 23:30
Member 40314716-Jun-03 23:30 
GeneralRe: Symantec C++ compiler Pin
David Crow17-Jun-03 3:00
David Crow17-Jun-03 3:00 
GeneralReverse Engineer for VISIO Pin
Majid Shahabfar16-Jun-03 23:12
Majid Shahabfar16-Jun-03 23:12 
GeneralUpTime of an application Pin
John-theKing16-Jun-03 22:51
John-theKing16-Jun-03 22:51 

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.