Click here to Skip to main content
15,915,164 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralMultiple document templates Pin
Jens Christiansen11-Sep-04 3:10
Jens Christiansen11-Sep-04 3:10 
Generalcalculating response time for a http request Pin
emmatty11-Sep-04 0:36
emmatty11-Sep-04 0:36 
GeneralRe: calculating response time for a http request Pin
Alexander M.,12-Sep-04 4:28
Alexander M.,12-Sep-04 4:28 
Generallist control selection Pin
Tyrus18210-Sep-04 18:51
Tyrus18210-Sep-04 18:51 
GeneralRe: list control selection Pin
Branislav11-Sep-04 4:05
Branislav11-Sep-04 4:05 
GeneralRe: list control selection Pin
Tyrus18211-Sep-04 4:20
Tyrus18211-Sep-04 4:20 
GeneralRe: list control selection Pin
Branislav11-Sep-04 5:04
Branislav11-Sep-04 5:04 
GeneralRe: list control selection Pin
Ravi Bhavnani11-Sep-04 5:07
professionalRavi Bhavnani11-Sep-04 5:07 
You'll need to subclass the list control and reflect the L-click message so you can handle (see the list control classes at CP for examples). In the L-click handler, add the item to the list of selected ones by doing:

SetItemState (nItem,
              LVIS_SELECTED | LVIS_FOCUSED,
              LVIS_SELECTED | LVIS_FOCUSED);
/ravi

My new year's resolution: 2048 x 1536
Home | Articles | Freeware | Music
ravib@ravib.com

GeneralADO MySQL query problem Pin
Graham Holdaway10-Sep-04 16:34
Graham Holdaway10-Sep-04 16:34 
GeneralRe: ADO MySQL query problem Pin
Arsalan Malik10-Sep-04 20:23
Arsalan Malik10-Sep-04 20:23 
GeneralRe: ADO MySQL query problem Pin
Anonymous11-Sep-04 18:51
Anonymous11-Sep-04 18:51 
GeneralChange mainframe menu on startup Pin
Ravi Bhavnani10-Sep-04 13:38
professionalRavi Bhavnani10-Sep-04 13:38 
GeneralRe: Change mainframe menu on startup Pin
Neville Franks11-Sep-04 12:35
Neville Franks11-Sep-04 12:35 
GeneralRe: Change mainframe menu on startup Pin
Ravi Bhavnani11-Sep-04 12:57
professionalRavi Bhavnani11-Sep-04 12:57 
GeneralCalling VC COM DLL from C++ Pin
Peter Weyzen10-Sep-04 11:36
Peter Weyzen10-Sep-04 11:36 
GeneralHighlight Selected Item in ListCtrl Pin
Grahamfff10-Sep-04 10:59
Grahamfff10-Sep-04 10:59 
GeneralRe: Highlight Selected Item in ListCtrl Pin
Ravi Bhavnani10-Sep-04 13:40
professionalRavi Bhavnani10-Sep-04 13:40 
GeneralRe: Highlight Selected Item in ListCtrl Pin
Grahamfff11-Sep-04 8:33
Grahamfff11-Sep-04 8:33 
GeneralRe: Highlight Selected Item in ListCtrl Pin
Grahamfff11-Sep-04 8:43
Grahamfff11-Sep-04 8:43 
GeneralRe: Highlight Selected Item in ListCtrl Pin
Tyrus18211-Sep-04 8:50
Tyrus18211-Sep-04 8:50 
GeneralRe: Highlight Selected Item in ListCtrl Pin
Grahamfff11-Sep-04 9:18
Grahamfff11-Sep-04 9:18 
GeneralRe: Highlight Selected Item in ListCtrl Pin
Tyrus18211-Sep-04 12:47
Tyrus18211-Sep-04 12:47 
GeneralRe: Highlight Selected Item in ListCtrl Pin
Grahamfff12-Sep-04 9:50
Grahamfff12-Sep-04 9:50 
GeneralHighlight Selected Item in ListCtrl Pin
Grahamfff10-Sep-04 10:59
Grahamfff10-Sep-04 10:59 
GeneralRe: Highlight Selected Item in ListCtrl Pin
Ravi Bhavnani10-Sep-04 13:40
professionalRavi Bhavnani10-Sep-04 13:40 

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.