Click here to Skip to main content
15,911,030 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: XP Style Tab Control? Pin
ritz123414-May-08 1:09
ritz123414-May-08 1:09 
QuestionHow to get gdi objects associated with a CDC object? Pin
Super Hornet13-May-08 21:50
Super Hornet13-May-08 21:50 
AnswerRe: How to get gdi objects associated with a CDC object? Pin
CPallini13-May-08 22:10
mveCPallini13-May-08 22:10 
AnswerRe: How to get gdi objects associated with a CDC object? Pin
Mark Salsbery14-May-08 7:25
Mark Salsbery14-May-08 7:25 
QuestionSlow DTS package Pin
Member 290588913-May-08 21:05
Member 290588913-May-08 21:05 
QuestionUsing MFC class in a native application [modified] Pin
sabeeshcs13-May-08 20:22
sabeeshcs13-May-08 20:22 
AnswerRe: Using MFC class in a native application Pin
Nelek13-May-08 21:32
protectorNelek13-May-08 21:32 
AnswerRe: Using MFC class in a native application Pin
Iain Clarke, Warrior Programmer13-May-08 22:00
Iain Clarke, Warrior Programmer13-May-08 22:00 
As Nelek said, you're not going to get people wading through that long code. Certainly not me. You need to read the positing guidelines. The bit about the pre tags are there for a reason. To help you to help us to help you.

To solve your own question, you need to set a bunch of breakpoints and see if your OnCreate is even getting called - then whether your Tree is getting created, and has a HWND, etc. You don't actually check for creation of the tree, you just call the create function.

I'd be quite surprised that you can get an MFC window object fully working in a non MFC environment - especially a CView derivative, which uses a lot of the MFC plumbing.

Worst comes to the worst, and you want to keep the same code for both projects, you can #ifdef different bits for MFC and for CLI.

Good luck,

Iain.

Plz sir... CPallini CPallini abuz drugz, plz plz help urgent.

RantRe: Using MFC class in a native application Pin
toxcct13-May-08 23:24
toxcct13-May-08 23:24 
GeneralRe: Using MFC class in a native application Pin
CPallini13-May-08 23:42
mveCPallini13-May-08 23:42 
GeneralRe: Using MFC class in a native application Pin
toxcct13-May-08 23:43
toxcct13-May-08 23:43 
JokeRe: Using MFC class in a native application Pin
Rajesh R Subramanian14-May-08 1:05
professionalRajesh R Subramanian14-May-08 1:05 
QuestionRe: Using MFC class in a native application Pin
David Crow14-May-08 3:16
David Crow14-May-08 3:16 
QuestionDrawing child controls in MetaFile Pin
sv1413-May-08 20:21
sv1413-May-08 20:21 
AnswerRe: Drawing child controls in MetaFile Pin
ShilpiP13-May-08 21:27
ShilpiP13-May-08 21:27 
GeneralRe: Drawing child controls in MetaFile Pin
sv1413-May-08 23:47
sv1413-May-08 23:47 
GeneralRe: Drawing child controls in MetaFile Pin
ShilpiP14-May-08 1:01
ShilpiP14-May-08 1:01 
GeneralRe: Drawing child controls in MetaFile Pin
sv1414-May-08 18:55
sv1414-May-08 18:55 
QuestionHow Can Get SystemTime? Pin
Le@rner13-May-08 19:45
Le@rner13-May-08 19:45 
AnswerRe: How Can Get SystemTime? Pin
ShilpiP13-May-08 20:01
ShilpiP13-May-08 20:01 
GeneralRe: How Can Get SystemTime? Pin
Le@rner13-May-08 20:09
Le@rner13-May-08 20:09 
GeneralRe: How Can Get SystemTime? [modified] Pin
Le@rner13-May-08 20:18
Le@rner13-May-08 20:18 
GeneralRe: How Can Get SystemTime? Pin
ShilpiP13-May-08 20:46
ShilpiP13-May-08 20:46 
GeneralRe: How Can Get SystemTime? Pin
Le@rner13-May-08 21:03
Le@rner13-May-08 21:03 
GeneralRe: How Can Get SystemTime? Pin
ShilpiP13-May-08 21:13
ShilpiP13-May-08 21:13 

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.