win32 API corresponding to GetSubItemRect
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums
Results 1 to 3 of 3

Thread: win32 API corresponding to GetSubItemRect

  1. #1
    Join Date
    Apr 2013

    win32 API corresponding to GetSubItemRect

    Please tell me Win32 API corresponding to CListCtrl::GetSubItemRect()

  2. #2
    2kaud's Avatar
    2kaud is offline Super Moderator Power Poster
    Join Date
    Dec 2012

    Re: win32 API corresponding to GetSubItemRect

    All advice is offered in good faith only. All my code is tested (unless stated explicitly otherwise) with the latest version of Microsoft Visual Studio (using the supported features of the latest standard) and is offered as examples only - not as production quality. I cannot offer advice regarding any other c/c++ compiler/IDE or incompatibilities with VS. You are ultimately responsible for the effects of your programs and the integrity of the machines they run on. Anything I post, code snippets, advice, etc is licensed as Public Domain and can be used without reference or acknowledgement. Also note that I only provide advice and guidance via the forums - and not via private messages!

    C++17 Compiler: Microsoft VS2017 (15.6.3)

  3. #3
    Join Date
    Feb 2003
    Iasi - Romania

    Re: win32 API corresponding to GetSubItemRect

    Just an aside note:
    MFC is a C++ library built over Windows API. Moreover it has available sources.
    So, each time you have this kind of problems, you can quickly do the following:

    1. Using the wizard, make a simple MFC test application, let's say a dialog-based one;
    2. write some code containing the MFC method to "research", e.g.
         m_list.GetSubItemRect(nItem, nSubItem, LVIR_LABEL, rcSubItem);
    3. put a breakpoint in that line, then start debugging (F5);
    4. when the breakpoint is reached, just step into (F11) and see what's inside MFC.
    5. that's all; eventually you can keep that aplication for further tests and repeat steps 1 to 4.
    Last edited by ovidiucucu; August 24th, 2013 at 04:55 AM.
    "When in Rome, do as Romans do."
    My latest articles:

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Windows Mobile Development Center

Click Here to Expand Forum to Full Width

On-Demand Webinars (sponsored)