Click here to Skip to main content
15,902,938 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Determining VC++ Service Pack Number Pin
Mike Melnikov8-Feb-01 4:31
Mike Melnikov8-Feb-01 4:31 
GeneralSorry Job question... Pin
5-Feb-01 3:18
suss5-Feb-01 3:18 
GeneralSorry Job question... Pin
5-Feb-01 3:18
suss5-Feb-01 3:18 
GeneralRe: Sorry Job question... Pin
Erik Funkenbusch5-Feb-01 10:54
Erik Funkenbusch5-Feb-01 10:54 
GeneralIP adress Pin
Le Ridder Noir5-Feb-01 1:12
Le Ridder Noir5-Feb-01 1:12 
GeneralRe: IP adress Pin
Le Ridder Noir5-Feb-01 4:10
Le Ridder Noir5-Feb-01 4:10 
QuestionWTL Tooltips? Pin
Scott Leonard4-Feb-01 11:08
Scott Leonard4-Feb-01 11:08 
GeneralSelecting list control subitems Pin
Joe Moldovan4-Feb-01 5:50
Joe Moldovan4-Feb-01 5:50 
I am using an MFC CListCtrl with multiple columns. I have two related problems:

1. I can select an item (column 0) by left or right clicking on it but subitems don't respond when clicked. I would like to pop up a floating menu on any item or subitem when right clicked.

2. There seems to be no way that I can get the control to set the subitem attribute to selected (LVIS_SELECTED) and display blue. I have looked at SetItemState (no good, can't see subitems) and SetItem (does not work, just ignores the status change).

Does anyone know how to make this SOB do as it is told and allow me to select a subitem?
Has anyone done this without MFC using only the SDK API?
GeneralRe: Selecting list control subitems Pin
Michael Dunn4-Feb-01 7:14
sitebuilderMichael Dunn4-Feb-01 7:14 
GeneralRe: Selecting list control subitems Pin
Joe Moldovan4-Feb-01 7:34
Joe Moldovan4-Feb-01 7:34 
Generalcustom compiler Pin
4-Feb-01 0:49
suss4-Feb-01 0:49 
GeneralRe: custom compiler Pin
Tim Deveaux4-Feb-01 4:33
Tim Deveaux4-Feb-01 4:33 
GeneralVC++ and MS Word Pin
3-Feb-01 21:04
suss3-Feb-01 21:04 
GeneralRe: VC++ and MS Word Pin
6-Feb-01 23:30
suss6-Feb-01 23:30 
GeneralUsing sndPlaySound() Pin
Vickie3-Feb-01 11:40
Vickie3-Feb-01 11:40 
GeneralRe: Using sndPlaySound() Pin
3-Feb-01 12:38
suss3-Feb-01 12:38 
GeneralRe: Using sndPlaySound() Pin
Vickie3-Feb-01 18:04
Vickie3-Feb-01 18:04 
GeneralUnsetting a database password Pin
3-Feb-01 10:52
suss3-Feb-01 10:52 
GeneralRe: Unsetting a database password Pin
Tim Deveaux3-Feb-01 11:11
Tim Deveaux3-Feb-01 11:11 
General2D array of CString in MFC Pin
Vickie3-Feb-01 8:28
Vickie3-Feb-01 8:28 
GeneralRe: 2D array of CString in MFC Pin
Joe Moldovan4-Feb-01 6:04
Joe Moldovan4-Feb-01 6:04 
GeneralRe: 2D array of CString in MFC Pin
Vickie4-Feb-01 6:12
Vickie4-Feb-01 6:12 
GeneralRe: 2D array of CString in MFC Pin
Michael Dunn4-Feb-01 7:19
sitebuilderMichael Dunn4-Feb-01 7:19 
GeneralRe: 2D array of CString in MFC Pin
Joe Moldovan4-Feb-01 15:31
Joe Moldovan4-Feb-01 15:31 
GeneralApplication behaves differently when using static/shared MFC linking Pin
3-Feb-01 8:13
suss3-Feb-01 8:13 

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.