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

Thread: win32 API corresponding to GetSubItemRect

  1. #1
    Join Date
    Apr 2013
    Posts
    77

    win32 API corresponding to GetSubItemRect

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

  2. #2
    Join Date
    Dec 2012
    Location
    England
    Posts
    1,997

    Re: win32 API corresponding to GetSubItemRect

    All advice is offered in good faith only. You are ultimately responsible for effects of your programs and the integrity of the machines they run on.

  3. #3
    ovidiucucu's Avatar
    ovidiucucu is offline Moderator/Reviewer Power Poster
    Join Date
    Feb 2003
    Location
    Iasi - Romania
    Posts
    7,994

    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.
      Code:
         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.
    Ovidiu Cucu
    "When in Rome, do as Romans do."
    Visit: Microsoft Virtual Academy
    Follow: https://twitter.com/#!/ovidiucucu
    My blog: http://codexpert.ro/blog/author/ovidiu-cucu/

Posting Permissions

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


Azure Activities Information Page

Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center