-
August 23rd, 2013, 06:46 AM
#1
win32 API corresponding to GetSubItemRect
Please tell me Win32 API corresponding to CListCtrl::GetSubItemRect()
-
August 23rd, 2013, 07:14 AM
#2
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 https://creativecommons.org/publicdomain/zero/1.0/ 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++23 Compiler: Microsoft VS2022 (17.6.5)
-
August 24th, 2013, 04:50 AM
#3
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:
- Using the wizard, make a simple MFC test application, let's say a dialog-based one;
- write some code containing the MFC method to "research", e.g.
Code:
m_list.GetSubItemRect(nItem, nSubItem, LVIR_LABEL, rcSubItem);
- put a breakpoint in that line, then start debugging (F5);
- when the breakpoint is reached, just step into (F11) and see what's inside MFC.
- 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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|