Click here to Skip to main content
15,898,035 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionHow to update a posted article? Pin
Dudi Avramov21-Jan-04 1:25
Dudi Avramov21-Jan-04 1:25 
AnswerRe: How to update a posted article? Pin
Roger Allen21-Jan-04 1:29
Roger Allen21-Jan-04 1:29 
GeneralRe: How to update a posted article? Pin
Hans Ruck21-Jan-04 4:16
Hans Ruck21-Jan-04 4:16 
QuestionHow to report MFC bug to Microsoft? Pin
Yogurt21-Jan-04 0:35
Yogurt21-Jan-04 0:35 
AnswerRe: How to report MFC bug to Microsoft? Pin
Antti Keskinen21-Jan-04 1:53
Antti Keskinen21-Jan-04 1:53 
GeneralRe: How to report MFC bug to Microsoft? Pin
Yogurt21-Jan-04 8:53
Yogurt21-Jan-04 8:53 
AnswerRe: How to report MFC bug to Microsoft? Pin
Michael P Butler21-Jan-04 1:54
Michael P Butler21-Jan-04 1:54 
GeneralRe: How to report MFC bug to Microsoft? Pin
Yogurt21-Jan-04 9:07
Yogurt21-Jan-04 9:07 
First, I'm not 100% sure that a CTreeCtrl can be WS_POPUP, however I can't find any documentation that says it can't.

Neither do I. Anyway, a given piece of code requires it at the moment (see my other comment).

I'm assuming you are using VS.NET or later as the VC6 version of CTreeCtrl doesn't look like it has it's own CreateEx, so it must be calling the CWnd::CreateEx

I tried the stuff with VC6 - it doesn't have a CTreeCtrl::CreateEx, and Create gives assertion failure just as it should. The project is now in VS.NET (MFC 7.0, now 7.1).

What line does the ASSERT happen?

wincore.cpp(732) in MFC 7.0 or wincore.cpp(734) in MFC 7.1.

You can of course, derive a class from CTreeCtrl and create your own CreateEx as the function is declared virtual in the base class.

Well, you're right. Still, I don't feel like writing an own CreateEx as the "official" one in MFC may change later and call other things besides Create and ModifyStyleEx (though I don't think so for the near future).
GeneralRe: How to report MFC bug to Microsoft? Pin
Jörgen Sigvardsson21-Jan-04 10:05
Jörgen Sigvardsson21-Jan-04 10:05 
GeneralImage Streaming over network Pin
witzner20-Jan-04 23:16
witzner20-Jan-04 23:16 
GeneralKernel32.dll and dllmain Pin
hph20-Jan-04 22:38
hph20-Jan-04 22:38 
GeneralRe: Kernel32.dll and dllmain Pin
Antti Keskinen21-Jan-04 2:16
Antti Keskinen21-Jan-04 2:16 
GeneralRe: Kernel32.dll and dllmain Pin
hph21-Jan-04 2:56
hph21-Jan-04 2:56 
GeneralParameter of export function in a dll Pin
Manfred Staiger20-Jan-04 22:12
Manfred Staiger20-Jan-04 22:12 
GeneralRe: Parameter of export function in a dll Pin
wb20-Jan-04 23:07
wb20-Jan-04 23:07 
GeneralHELP WITH MACRO Pin
Izer0120-Jan-04 22:11
Izer0120-Jan-04 22:11 
GeneralEnabling Menu Items Pin
Jagadeesh VN20-Jan-04 20:26
Jagadeesh VN20-Jan-04 20:26 
GeneralRe: Enabling Menu Items Pin
Robert A. T. Káldy21-Jan-04 4:56
Robert A. T. Káldy21-Jan-04 4:56 
GeneralRe: Enabling Menu Items Pin
bneacetp21-Jan-04 8:39
bneacetp21-Jan-04 8:39 
GeneralPassword Change Notification Pin
20-Jan-04 19:50
suss20-Jan-04 19:50 
GeneralCRichEditCtrl problem Pin
Shah Shehpori20-Jan-04 19:31
sussShah Shehpori20-Jan-04 19:31 
GeneralGenerating tones using MCI Pin
ffazly20-Jan-04 16:38
ffazly20-Jan-04 16:38 
GeneralDynamically invoking classes at runtime Pin
Tank_Aviator20-Jan-04 15:01
Tank_Aviator20-Jan-04 15:01 
GeneralSlightly offtopic: Installshield Express QuickPatch shortcuts problem Pin
obe20-Jan-04 13:10
obe20-Jan-04 13:10 
Questionhow can i include source files which is under different directory Pin
Member 78215420-Jan-04 11:39
Member 78215420-Jan-04 11:39 

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.