Click here to Skip to main content
15,888,733 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: ATL functions in.h files Pin
James R. Twine1-Apr-02 5:35
James R. Twine1-Apr-02 5:35 
GeneralRe: ATL functions in.h files Pin
Tim Smith1-Apr-02 6:05
Tim Smith1-Apr-02 6:05 
GeneralRe: ATL functions in.h files Pin
James R. Twine1-Apr-02 6:14
James R. Twine1-Apr-02 6:14 
GeneralRe: ATL functions in.h files Pin
Tim Smith1-Apr-02 6:21
Tim Smith1-Apr-02 6:21 
GeneralRe: ATL functions in.h files Pin
James R. Twine1-Apr-02 6:30
James R. Twine1-Apr-02 6:30 
GeneralRe: ATL functions in.h files Pin
1-Apr-02 8:46
suss1-Apr-02 8:46 
GeneralRe: ATL functions in.h files Pin
Tim Smith1-Apr-02 9:01
Tim Smith1-Apr-02 9:01 
GeneralCHtmlEditCtrl in VS.NET... Pin
James R. Twine1-Apr-02 5:10
James R. Twine1-Apr-02 5:10 
   I am trying to place on of these on a dialog, and it works (somewhat), but here is the interesting thing: the CHtmlEditCtrl class has a protected destructor(!).

   Private and protected destructors force you to allocate an object on the heap (or by some other custom method, which I think is a bad idea in this case).  OK, fine, I have it allocated off of the heap, but I cannot deallocate/destroy the damn thing, and it does not nuke itself when it gets it's DestroyWindow(...) method called (which is where most CWnd-derived classes that destroy themselves actually destroy themselves, so I leak that object!) Blush | :O

   Is there something that I am missing here?  There is no exposed method that "self-destructs" the object.  So I am at a lost as to explain why in the hell this thing has a protected destructor! Mad | :mad:

   Peace!

-=- James.
GeneralRe: CHtmlEditCtrl in VS.NET... Pin
Joaquín M López Muñoz1-Apr-02 5:41
Joaquín M López Muñoz1-Apr-02 5:41 
GeneralMFC command line arguments Pin
Jerry Wang1-Apr-02 5:05
Jerry Wang1-Apr-02 5:05 
GeneralRe: MFC command line arguments Pin
Joaquín M López Muñoz1-Apr-02 5:09
Joaquín M López Muñoz1-Apr-02 5:09 
GeneralRe: MFC command line arguments Pin
James R. Twine1-Apr-02 5:13
James R. Twine1-Apr-02 5:13 
GeneralRe: MFC command line arguments Pin
Jerry Wang1-Apr-02 5:24
Jerry Wang1-Apr-02 5:24 
GeneralCTreeCtrl Pin
NC1-Apr-02 4:44
NC1-Apr-02 4:44 
GeneralRe: CTreeCtrl Pin
Ravi Bhavnani1-Apr-02 4:48
professionalRavi Bhavnani1-Apr-02 4:48 
GeneralRe: CTreeCtrl Pin
NC1-Apr-02 5:04
NC1-Apr-02 5:04 
GeneralRe: CTreeCtrl Pin
James R. Twine1-Apr-02 5:17
James R. Twine1-Apr-02 5:17 
GeneralRe: CTreeCtrl Pin
Ravi Bhavnani1-Apr-02 9:09
professionalRavi Bhavnani1-Apr-02 9:09 
GeneralRe: CTreeCtrl Pin
NC1-Apr-02 9:58
NC1-Apr-02 9:58 
GeneralRe: CTreeCtrl Pin
Ravi Bhavnani1-Apr-02 10:22
professionalRavi Bhavnani1-Apr-02 10:22 
GeneralRe: CTreeCtrl Pin
NC1-Apr-02 10:51
NC1-Apr-02 10:51 
GeneralRe: CTreeCtrl Pin
Ravi Bhavnani1-Apr-02 11:40
professionalRavi Bhavnani1-Apr-02 11:40 
GeneralRe: CTreeCtrl Pin
2-Apr-02 1:42
suss2-Apr-02 1:42 
GeneralRe: CTreeCtrl Pin
Ravi Bhavnani2-Apr-02 5:55
professionalRavi Bhavnani2-Apr-02 5:55 
GeneralRe: CTreeCtrl Pin
NC2-Apr-02 7:26
NC2-Apr-02 7:26 

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.