Click here to Skip to main content
15,899,754 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionhow to make C$ "visible" Pin
IUnknown6-May-00 15:52
IUnknown6-May-00 15:52 
GeneralBitmap Pin
Master6-May-00 0:17
Master6-May-00 0:17 
GeneralPreventing the movement of caret or focus Pin
Ryan Park9-May-00 15:57
Ryan Park9-May-00 15:57 
GeneralRe: Preventing the movement of caret or focus Pin
Andrei Zenkovitch10-May-00 4:32
Andrei Zenkovitch10-May-00 4:32 
GeneralAdding MFC to ATL Pin
Odd Magne Haagensen4-May-00 22:48
sussOdd Magne Haagensen4-May-00 22:48 
GeneralRe: Adding MFC to ATL Pin
Franky Braem5-May-00 0:51
Franky Braem5-May-00 0:51 
GeneralRe: Adding MFC to ATL Pin
Member 10545-May-00 1:53
Member 10545-May-00 1:53 
GeneralRe: Adding MFC to ATL Pin
Mike Dunn5-May-00 14:10
Mike Dunn5-May-00 14:10 
I bet you're doing your CTreeCtrl stuff in an exported function or COM method, right? You need to add this line at the very beginning of the function/method:

AFX_MANAGE_STATE(AfxGetStaticModuleState());

This sets up some internal data structures so all the MFC code knows where to find resources and other stuff.
GeneralSelecting contents of Edit Box Pin
Bruce4-May-00 4:35
Bruce4-May-00 4:35 
GeneralRe: Selecting contents of Edit Box Pin
Anthony Mai8-May-00 13:47
Anthony Mai8-May-00 13:47 
General"Realtime" Displaying of HTML in CWebBrowser2 Pin
Jeremy Davis3-May-00 22:15
Jeremy Davis3-May-00 22:15 
GeneralRe: Darn Big report Pin
Buck4-May-00 20:25
Buck4-May-00 20:25 
GeneralRe: Darn Big report Pin
Jeremy Davis4-May-00 22:15
Jeremy Davis4-May-00 22:15 
QuestionHow to create a hide Dialog ? Pin
Member 36013-May-00 7:41
Member 36013-May-00 7:41 
AnswerRe: How to create a hide Dialog ? Pin
Dmitriy4-May-00 12:57
Dmitriy4-May-00 12:57 
GeneralWrapping OLEDB resultsets. Pin
Rob Wainwright3-May-00 6:35
Rob Wainwright3-May-00 6:35 
QuestionMSDE Samples ? Pin
Rob Wainwright3-May-00 6:34
Rob Wainwright3-May-00 6:34 
QuestionCreating datasources/databases programatically ? Pin
Rob Wainwright3-May-00 6:33
Rob Wainwright3-May-00 6:33 
GeneralCDoubleRect or CFloatRect class needed! Pin
Vlad Bychkoff2-May-00 3:38
sussVlad Bychkoff2-May-00 3:38 
GeneralRe: CDoubleRect or CFloatRect class needed! Pin
Rob Wainwright4-May-00 3:25
Rob Wainwright4-May-00 3:25 
GeneralSubclass child windows of a custom control Pin
Bart2-May-00 3:36
Bart2-May-00 3:36 
GeneralPointer to dialog Pin
Anonymous2-May-00 3:18
Anonymous2-May-00 3:18 
GeneralRe: Pointer to dialog Pin
Kurt2-May-00 4:40
Kurt2-May-00 4:40 
GeneralImporting Outlook PST files Pin
Robert Caldecott2-May-00 0:33
sussRobert Caldecott2-May-00 0:33 
GeneralOCX / COM Server Pin
Mike Appleby1-May-00 23:10
professionalMike Appleby1-May-00 23: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.