I want to display a text file into a view derived from CScrollView how to display the file? thanks!
liuty2006
Posts
-
how to display a file into CScrollView? -
who can answer my question? -
DECLARE_DYNCREATE/DECLARE_DYNAMIC??I have a question: what is the difference bettwen DECLARE_DYNCREATE(CCtrlView) and DECLARE_DYNAMIC(CView). when and where to use them? thanks
-
"DestroyWindow" ---- Error!!!!when I use "DestroyWindow" to Destroy a view, there are errors appear as follow: "Warning: calling DestroyWindow in CWnd::~CWnd; OnDestroy or PostNcDestroy in derived class will not be called. Warning: calling DestroyWindow in CWnd::~CWnd; OnDestroy or PostNcDestroy in derived class will not be called." can you tell me the possile reason ? thanks in advance. liuty
-
a question about two CPU...yes!I use threads. How to do with "being threadsafe". what I would pay special attention to, when i write programe?
-
a question about two CPU...I write a programe(with VC6).It run correctly at computer with ONE cpu(Win2000 server).But It can not run with TWO CPUs . For my develop envirment is ONE cpu,so I can not locate the error correctly. can you tell me the possible reason. How can i locate the error? thanks in advance. liuty
-
a question about STL sortstruct A{ public: CString str1; CString str2; COleDateTimeSpan vdTime; long nNum; }; typedef std::list aList; ......//add some A Type to aList can i sort the 'aList' by the nNum? How to do with it?
-
How Locate the error when meet the leak?If there is a method to tell which CWnd is not delete? thanks!
-
How Locate the error when meet the leak?How Locate the error when meet the leak as follow? ///////////////// Detected memory leaks! Dumping objects -> {46} client block at 0x009C2590, subtype 0, 100 bytes long. a CWnd object at $009C2590, 100 bytes long Object dump complete. The thread 0x244 has exited with code 0 (0x0). ////////////////////// thanks in advance!!