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
C

Charles Liu

@Charles Liu
About
Posts
11
Topics
10
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Can I use the DECLARE_DYNAMIC macro for a CList derived class?
    C Charles Liu

    I got a class derived from CList, as class CPointList : public CList { ... } I want to declare it DYNAMIC, but as i wrote this in .cpp IMPLEMENT_DYNAMIC(CPointList,CList The compiler gave an error: warning C4002: too many actual parameters for macro 'IMPLEMENT_DYNAMIC' How can I declare it to be dynamic?

    C / C++ / MFC question c++ help

  • Problem while deriving from CList
    C Charles Liu

    I got a class declared as follows: class CWordItemList : public CList{ public: void AddTail(CWordItemList* pList); ... }; void CWordItemList::AddTail(CWordItemList *pList) { CList::AddTail(pList); //the program asserts(ASSERT_VALID) and throws an error ... } How should I derive from CList?

    C / C++ / MFC help question

  • How to highlight items in CTreeCtrl?
    C Charles Liu

    I tried to use CTreeCtrl::SetItemState, setting the flag TVIS_SELECTED. But I found that only one items was highlighted. How can I highlight a set of items? Thanks

    C / C++ / MFC question tutorial

  • Highlight items in CTreeCtrl
    C Charles Liu

    How could I highlight certain items in CTreeCtrl? I tried to use CTreeCtrl::SetItemState(),setting the flag as TVIS_SELECTED. But only one item was highlighted. Thanks.

    C / C++ / MFC question

  • How to cast a pointer to a member function into a void*?
    C Charles Liu

    I got the code as follows: class A{ int f(); //f defined elsewhere } void main() { void* p; p = A::f; //it gives a compiler error //how to cast f into p? //My friend did that in asm, however i want an easier way. } Thanks in advance

    Managed C++/CLI help tutorial question

  • Can I retrieve column names using MFC classes
    C Charles Liu

    Sorry,I found that I hadn't expressed myself clearly. What I want to know is all the column names of the table, not only the names in the recordset.

    Database c++ question

  • Can I retrieve column names using MFC classes
    C Charles Liu

    I am developing a MFC-based program (using CRecordset and CDatabase) dealt with MS Access. I want to retrieve the column names of a table. Could I do that without using ODBC APIs?

    Database c++ question

  • How to convert a Unicode text file into Ascii?
    C Charles Liu

    I want to convert a text file, which is encoded in Unicode, into a Ascii one. The text is a mixture of Chinese characters and English. How can I do that?

    C / C++ / MFC question tutorial

  • Problem about serialization and filename
    C Charles Liu

    I'm adding serialize suport for my application. However, the output file had no suffix (showed as "text" ,not "text.***"). How to fix this?

    C / C++ / MFC help json tutorial question

  • Debugging a network-based program on a single computer
    C Charles Liu

    I've got a network program to debug(a simple web server).Unfortunately, on the time being,I can't connect to the network.How can I debug my program?

    IT & Infrastructure sysadmin question debugging

  • Breakpoint problem----howto use it in a loop
    C Charles Liu

    I got some code contains a loop which execuates for about 20000 times.How can I step into the 10000th execuation?:confused:

    C / C++ / MFC question debugging help
  • Login

  • Don't have an account? Register

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