Click here to Skip to main content
15,907,687 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Callback in MFC Pin
David Crow21-Jan-04 4:55
David Crow21-Jan-04 4:55 
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 
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.

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

Looking at the source for VS2003, CTreeCtrl has it's own CWnd, and like you said calls Create and then using ModifyStyleEx to add the Ex-styles. As this is the same for all the classes, I'm hard pressed to think this is a bug.

What line does the ASSERT happen?

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



Michael

But you know when the truth is told,
That you can get what you want or you can just get old,
Your're going to kick off before you even get halfway through.
When will you realise... Vienna waits for you?
- "The Stranger," Billy Joel
GeneralRe: How to report MFC bug to Microsoft? Pin
Yogurt21-Jan-04 9:07
Yogurt21-Jan-04 9:07 
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 

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.