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
V

venkatmakam

@venkatmakam
About
Posts
41
Topics
1
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • how to add atlbase.h in VC++2008 Express?
    V venkatmakam

    You can use WinDDK which distributes old ATL Versions. Check the article, How to compile MFC code in Visual C++ Express[^]

    http://www.mono-project.com/Main\_Page

    ATL / WTL / STL question c++ tutorial

  • Difference between Critical Sections over Mutex objects
    V venkatmakam

    From the book Programming Applications for Microsoft Windows by Jeffrey Richter, Mutexes behave identically to critical sections, but mutexes are kernel objects, while critical sections are user-mode objects. This means that mutexes are slower than critical sections. But it also means that threads in different processes can access a single mutex,... I think this line answers your two questions.

    http://www.mono-project.com/Main\_Page

    C / C++ / MFC help question

  • Hiding DialogBar of Mainframe [Solved]
    V venkatmakam

    Try Using ShowcontrolBar to show\hide the controlbar.

    http://www.mono-project.com/Main\_Page

    C / C++ / MFC help debugging

  • Pure virtual base class question
    V venkatmakam

    Eric__V wrote:

    instance of _base

    I doubt on the term instance in case of pure virtual class.You can't create an instance of a class if it have a pure virtual function.May be the code is declaring the pointer of base class and assigning the instance of derived class.Like, _base *pbase = new basederive();

    Eric__V wrote:

    Further question. What if you have two descendents from _base. How does the compiler know which one to instantiate?

    This will be done with help of virtual pointer table.There are lot of articles in code project on this.Start from this link, ATL Under the Hood - Part 2

    http://www.mono-project.com/Main\_Page

    C / C++ / MFC question c++ visual-studio debugging

  • Sort the list of files available in a folder.
    V venkatmakam

    Check this example implementation which sorts CStringArray. http://support.microsoft.com/kb/120961

    http://www.mono-project.com/Main\_Page

    C / C++ / MFC c++ tutorial

  • [Win32]Add context menu to edit control
    V venkatmakam

    Derive a new class from the CEdit and handle the ON_WM_CONTEXTMENU() message.Check this article for referance, How to modify a CEdit context menu[^]

    http://www.mono-project.com/Main\_Page

    C / C++ / MFC question

  • convert short to Cstring...
    V venkatmakam

    Use CString::Format funcion to convert short to string like this.

    CString strYear;
    strYear.Format("%d", m_start_year);

    http://www.mono-project.com/Main\_Page

    C / C++ / MFC database tutorial question

  • ":" in struct
    V venkatmakam

    These are called Bit fields,Check these links for more info, Wiki Chechk Bit Fields Topic

    http://www.mono-project.com/Main\_Page

    C / C++ / MFC question

  • how to get the code of OnLButtonDown and OnMouseMove etc in OnDraw method ?
    V venkatmakam

    iampradeepsharma wrote:

    how to get the code of OnLButtonDown and OnMouseMove etc

    Do you want generate your own OnLButtonDown and OnMouseMove messages or you want to use that methods functionality?

    http://www.mono-project.com/Main\_Page

    C / C++ / MFC tutorial question

  • Trouble with C macro '#'
    V venkatmakam

    In vs2005,

    1. Go to Tools->Options
    2. Click on projects and solutions tree item
    3. Select vc++ directories item
    4. Select Include files in drop down window "Show Directories for"
    5. Then add your include directory.

    I think it will be same in all VS IDE.

    http://www.mono-project.com/Main\_Page

    C / C++ / MFC help tutorial question

  • MFC COM
    V venkatmakam

    No problem.Actually the ATL link also very useful for me.I did not worked that much with ATL.

    http://www.mono-project.com/Main\_Page

    C / C++ / MFC c++ com tutorial

  • MFC COM
    V venkatmakam

    But the requirement is to create a COM component using MFC Classes.

    http://www.mono-project.com/Main\_Page

    modified on Wednesday, June 1, 2011 4:48 AM

    C / C++ / MFC c++ com tutorial

  • MFC COM
    V venkatmakam

    Check this article. An MFC COM In-Process Component

    http://www.mono-project.com/Main\_Page

    C / C++ / MFC c++ com tutorial

  • add WM_SETFONT message handle in MFC
    V venkatmakam

    I think you can use ON_MESSAGE 0N_MESSAGE(WM_SETFONT, OnSetFont)... where OnSetFont is declared as afx_msg LRESULT OnSetFont(WPARAM, LPARAM). and WPARAM contains HFONT.

    http://www.mono-project.com/Main\_Page

    C / C++ / MFC c++ tutorial question

  • SetWindowRgn Menu Problem
    V venkatmakam

    how you are calculating rc?

    http://www.mono-project.com/Main\_Page

    C / C++ / MFC help

  • How to use help file
    V venkatmakam

    This will work, ::HtmlHelp(NULL, _T("HelpSample.chm::/html/page1.html"), HH_DISPLAY_TOPIC, 0);

    http://www.mono-project.com/Main\_Page

    C / C++ / MFC html help tutorial

  • Edit message in CListCtrl
    V venkatmakam

    i think you are talking about the following situation.when we want to rename an icon in explorer we will click the item first and after a while we will click it again to rename it.is this is you are talking about?.

    http://www.mono-project.com/Main\_Page

    C / C++ / MFC question

  • Open other Application From Dialogue
    V venkatmakam

    Check this Article, A newbie's elementary guide to spawning processes[^] Creating a process, and then killing it[^]

    http://www.mono-project.com/Main\_Page

    C / C++ / MFC tutorial c++ help

  • Setting BGColor to a WebBrowser Control [modified]
    V venkatmakam

    Yes it has to work since CExplorer1 is also Derived From CWnd. and mark your comment as answer.My 5.

    http://www.mono-project.com/Main\_Page

    C / C++ / MFC c++ tutorial question

  • Setting BGColor to a WebBrowser Control [modified]
    V venkatmakam

    What is CExplorer?

    http://www.mono-project.com/Main\_Page

    C / C++ / MFC c++ tutorial 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