Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
T

ttzzgg_80713

@ttzzgg_80713
About
Posts
21
Topics
9
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • does ansic c++ support unicode?
    T ttzzgg_80713

    thank u

    C / C++ / MFC c++ question

  • what's font do u use when u programing?
    T ttzzgg_80713

    i use courier new or verdana size 9:eek:

    C / C++ / MFC question

  • friend member function can't access private member var?? what's wrong
    T ttzzgg_80713

    thanks for u reply, what a kindly person u are !. i has already set operator function to the class's friend. still has problem. and could u tell me where can u find u aritcle??. thank u very much

    C / C++ / MFC question

  • friend member function can't access private member var?? what's wrong
    T ttzzgg_80713

    ?

    C / C++ / MFC question

  • friend member function can't access private member var?? what's wrong
    T ttzzgg_80713

    ifstream & operator >> (ifstream &ifs, const DownKind & d) { ifs >> d.m_strKind >> endl >> d.m_strPath >> endl >> d.m_strSuffix >> d.m_id >> d.m_idParent >> d.m_lstSub.size() >> endl; return ifs; } ofstream & operator << (ofstream &ofs, const DownKind & d) { return ofs; } // class declare #define DOWNKINDBASE DownKindBase class DownKind : public DOWNKINDBASE { public: friend ifstream & operator >> (ifstream &ifs, const DownKind &d); friend ofstream & operator << (ofstream &, const DownKind &); DownKind() ; DownKind(string, string, string, int idParent = -1); virtual ~DownKind() { clear(); } string getKindName(); void setKindName(string); string getPath(); void setPath(string); void setSuffix(string); string getSuffix(); virtual void clone(DownKindBase *); void load(); void save(); virtual void addChild(DownKindBase *); DownKindBase *findByKind(string ); protected: virtual void readFile(FILE *); virtual void writeFile(FILE *); virtual void clear(); virtual void setParentId(int); virtual int getParentId(); private: string m_strKind; string m_strSuffix; string m_strPath; int m_idParent; // parent id int m_id; // current id list m_lstSub; }; could u please tell me what's wrong with this code, don't laught at me.

    C / C++ / MFC question

  • Toolbar bitmap
    T ttzzgg_80713

    u can use ms paint app edit it

    C / C++ / MFC question graphics help learning

  • how can i serialize a tree struct using c++. not use mfc
    T ttzzgg_80713

    faint!:((

    C / C++ / MFC c++ data-structures question

  • how can i serialize a tree struct using c++. not use mfc
    T ttzzgg_80713

    can u t:confused:ell me more detail. such as find who is parent and who is child

    C / C++ / MFC c++ data-structures question

  • how can i serialize a tree struct using c++. not use mfc
    T ttzzgg_80713

    thank u!:confused:

    C / C++ / MFC c++ data-structures question

  • why cause exception??
    T ttzzgg_80713

    :confused:class TaskInfoBase { .... virtual void setSize(int) = 0; }; class NewTaskInfo : public TaskInfoBase { NewTaskInfo() { InitializeCriticalSection(&m_cs); } ~NewTaskInfo() { DeleteCriticalSection(&m_cs); } void setSize(int); static CRITICAL_SECTION m_cs; }; class NewTask : public NewTaskInfo, pubic NewTaskBase { }; class HttpDownload : public DownData , public CHttpDown { public: HttpDownload():NewTaskInfo() {} void write(); NewTask *m_pTask; }; //****************************************************************************** // Implement CRITICAL_SECTION NewTaskInfo::m_cs; void NewTaskInfo::setSize(int i) { EnterCriticalSection(&m_cs); // Exception here . m_nSize = i; LeaveCriticalSection(&m_cs); } void HttpDown::write() { .... m_pTask->setSize(20002); // Enter NewTaskInfo::setSize(); }

    C / C++ / MFC question

  • A Question about ChttpFile
    T ttzzgg_80713

    兄台是那里人呀

    C / C++ / MFC c++ question learning

  • RTTI...? and MFC...?
    T ttzzgg_80713

    for the second question: you can have a look for winamp3.0 client src; this is free. u can get it form it's site, just use a defwindowproc and in this function use getwindowlong to get extra data, then we can do all the things we want.

    C / C++ / MFC c++ question

  • about put_RegisterAsDropTarget?
    T ttzzgg_80713

    i want drag a URL in IWebBrowser2. and release mouse in the same window. and open the URL. so i use IWebBrowser2::put_RegiseterAsDropTarget. but no effect. why. i'm sorry for my eng is too bad. i'll try my best to clarity.:confused:

    C / C++ / MFC question announcement

  • CFileDialog bug on W2k !?
    T ttzzgg_80713

    don'g notice it

    C / C++ / MFC help question sysadmin tutorial

  • Registry - Hiding important values
    T ttzzgg_80713

    u can generate a password from some hardware, and store these, that's unique

    C / C++ / MFC windows-admin question

  • Registry - Hiding important values
    T ttzzgg_80713

    if u want to hide some info.why not use some xx.xml or xx.ini file. and hide it in a special dir when first time run app.

    C / C++ / MFC windows-admin question

  • How can i get this IHTMLTextAreaElement?
    T ttzzgg_80713

    a IHTMLTextAreaElement is put into a IHTMLIFrameElement, how can i get it. IHTMLIFrameElement has only three methods. and no relationship with IHTMLTextAreaElement. could anyone give me a sample for these problem?

    C / C++ / MFC question help

  • SHFileOperation failed, why.
    T ttzzgg_80713

    thanks, a good man. ..... i'm a lazy boy

    C / C++ / MFC help question

  • SHFileOperation failed, why.
    T ttzzgg_80713

    the app code is below .i could find any problem, why it isn't work. BOOL AppFileOperator(LPCSTR lpszSrc, LPCSTR lpszDest, int op) { SHFILEOPSTRUCT stFileOP; string strsrc = lpszSrc; string strDesc = lpszDest; stFileOP.pFrom = strsrc.c_str(); stFileOP.pTo = strDesc.c_str(); stFileOP.wFunc = op; stFileOP.fFlags = FOF_SILENT | FOF_NOCONFIRMATION; printf("Start to file operator. \n src file : %s\n, desc file is %s\n", strsrc.c_str(), strDesc.c_str()); return SHFileOperation(&stFileOP) == 0 ? TRUE : FALSE; }

    C / C++ / MFC help question

  • how can i make a transparent dialog in win98
    T ttzzgg_80713

    i know it's easy for win2000, how abut win98

    C / C++ / MFC question
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups