Click here to Skip to main content
15,914,327 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralSDI dummy question Pin
RobJones13-Sep-02 15:37
RobJones13-Sep-02 15:37 
GeneralRe: SDI dummy question Pin
RobJones13-Sep-02 16:34
RobJones13-Sep-02 16:34 
GeneralWarning level four? Holy sh*... Pin
Paul Oss13-Sep-02 13:23
Paul Oss13-Sep-02 13:23 
GeneralRe: Warning level four? Holy sh*... Pin
Tim Smith13-Sep-02 14:38
Tim Smith13-Sep-02 14:38 
GeneralRe: Warning level four? Holy sh*... Pin
Simon.W13-Sep-02 15:09
Simon.W13-Sep-02 15:09 
GeneralRe: Warning level four? Holy sh*... Pin
Michael Dunn13-Sep-02 16:37
sitebuilderMichael Dunn13-Sep-02 16:37 
Generalpeculiar positioning of image control Pin
ns13-Sep-02 11:42
ns13-Sep-02 11:42 
QuestionMSDN Doc. bug or Control bug with ListView? Pin
Member 91813-Sep-02 11:24
Member 91813-Sep-02 11:24 
Hello,

I've created a simple doc/view application using a list view in report mode
with 2 columns with the extended styles LVS_EX_FULLROWSELECT and
LVS_EX_INFOTIP set via:

DWORD dwStyle = GetListCtrl().GetExtendedStyle();
GetListCtrl().SetExtendedStyle(dwStyle|LVS_EX_FULLROWSELECT|LVS_EX_INFOTIP);

in OnInitialUpdate().


The MSDN Documentation says:

"This notification is only sent by list-view controls that have the
LVS_EX_INFOTIP extended style. The LVN_GETINFOTIP notification is sent for
sub-items while in report mode only when the LVS_EX_FULLROWSELECT extended
style is in use."

I've added my message map:

ON_NOTIFY_REFLECT(LVN_GETINFOTIP, OnGetInfoTip)

and the function:

void CInfotipView::OnGetInfoTip(NMHDR* pnmhdr, LRESULT* pResult)
{
NMLVGETINFOTIP* pnmlvgit = (NMLVGETINFOTIP*) pnmhdr;
ASSERT(pnmlvgit);
}

When I run the application, I DO get an InfoTip notification when
positioning the mouse overtop of the 1st column in the list view BUT NOT
over the 2nd column. MY understanding (and correct me if I'm
misunderstanding the documentation) is that with LVS_EX_FULLROWSELECT set, I
should also receive a notification when positioning the mouse overtop of the
2nd column.

I have tried testing this both compiling with Visual Studio 6 & 7 and
running the test under both Windows 200 and Windows XP.

Any help is greatly appreciated.

Thanks,
Chris Holt


QuestionWhere is this ID coming from? Pin
ns13-Sep-02 11:02
ns13-Sep-02 11:02 
AnswerI got a compiler error doing this: Pin
ns13-Sep-02 11:07
ns13-Sep-02 11:07 
GeneralRe: I got a compiler error doing this: Pin
brianwelsch13-Sep-02 11:11
brianwelsch13-Sep-02 11:11 
GeneralRe: I got a compiler error doing this: Pin
Pavel Klocek13-Sep-02 11:27
Pavel Klocek13-Sep-02 11:27 
AnswerRe: Where is this ID coming from? Pin
Member 91813-Sep-02 11:30
Member 91813-Sep-02 11:30 
GeneralRe: Where is this ID coming from? Pin
ns13-Sep-02 11:38
ns13-Sep-02 11:38 
GeneralControl in status bar Pin
ns13-Sep-02 10:52
ns13-Sep-02 10:52 
GeneralTable/Grid control Pin
Shay Harel13-Sep-02 10:44
Shay Harel13-Sep-02 10:44 
GeneralRe: Table/Grid control Pin
Pavel Klocek13-Sep-02 10:58
Pavel Klocek13-Sep-02 10:58 
GeneralRe: Table/Grid control Pin
Shay Harel16-Sep-02 3:18
Shay Harel16-Sep-02 3:18 
GeneralSaveing a project Pin
Steve Daly13-Sep-02 10:09
Steve Daly13-Sep-02 10:09 
GeneralRe: Saveing a project Pin
Pavel Klocek13-Sep-02 10:17
Pavel Klocek13-Sep-02 10:17 
GeneralRe: Saveing a project Pin
Ryan B.13-Sep-02 10:18
Ryan B.13-Sep-02 10:18 
GeneralFloating Document Interface (FDI) Pin
Ryan B.13-Sep-02 10:00
Ryan B.13-Sep-02 10:00 
GeneralVirtual Base Class & Constructor :: C++ Pin
valikac13-Sep-02 9:46
valikac13-Sep-02 9:46 
GeneralRe: Virtual Base Class & Constructor :: C++ Pin
Joaquín M López Muñoz13-Sep-02 9:57
Joaquín M López Muñoz13-Sep-02 9:57 
GeneralRe: Virtual Base Class & Constructor :: C++ Pin
valikac13-Sep-02 10:03
valikac13-Sep-02 10:03 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.