Click here to Skip to main content
16,005,169 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionsocket programming Pin
jersph21-Oct-07 4:36
jersph21-Oct-07 4:36 
AnswerRe: socket programming Pin
Cedric Moonen21-Oct-07 4:48
Cedric Moonen21-Oct-07 4:48 
AnswerRe: socket programming Pin
arun kumar kk21-Oct-07 20:52
arun kumar kk21-Oct-07 20:52 
QuestionWhich control had focus? Pin
Hadi Dayvary21-Oct-07 4:04
professionalHadi Dayvary21-Oct-07 4:04 
AnswerRe: Which control had focus? Pin
Hamid_RT21-Oct-07 4:48
Hamid_RT21-Oct-07 4:48 
AnswerRe: Which control had focus? Pin
Mark Salsbery21-Oct-07 7:22
Mark Salsbery21-Oct-07 7:22 
QuestionTrying to mimic Pin
dellthinker21-Oct-07 3:31
dellthinker21-Oct-07 3:31 
Questionhow do you get the index of a row in a list control Pin
king'ori21-Oct-07 2:11
king'ori21-Oct-07 2:11 
hi every one
am stuck, this is what i want to do.
i have a Report styled list control with 5 columns and i have a double clicked event handler for the list control; so i want to get the index of a row once i double click on it, which list control function do i interrogate, e.g
if it was a list box , i would do this;

CListBox m_Listbx;
....
...
int nSel = m_ListBox.GetCurSel();

now in CListCtrl what function is analogous to CListBox's GetCurSel() and how is it used..
thanks;
AnswerRe: how do you get the index of a row in a list control Pin
Hamid_RT21-Oct-07 2:22
Hamid_RT21-Oct-07 2:22 
AnswerRe: how do you get the index of a row in a list control Pin
lgbean21-Oct-07 9:40
lgbean21-Oct-07 9:40 
QuestionWhat should I do? Pin
bornunique21-Oct-07 1:33
bornunique21-Oct-07 1:33 
AnswerRe: What should I do? Pin
Hamid_RT21-Oct-07 1:58
Hamid_RT21-Oct-07 1:58 
AnswerRe: What should I do? Pin
Johpoke21-Oct-07 2:22
Johpoke21-Oct-07 2:22 
AnswerRe: What should I do? Pin
Mark Salsbery21-Oct-07 7:27
Mark Salsbery21-Oct-07 7:27 
AnswerRe: What should I do? Pin
Nelek21-Oct-07 20:29
protectorNelek21-Oct-07 20:29 
AnswerRe: What should I do? Pin
David Crow22-Oct-07 5:16
David Crow22-Oct-07 5:16 
QuestionMFC focus question Pin
FredrickNorge21-Oct-07 0:14
FredrickNorge21-Oct-07 0:14 
AnswerRe: MFC focus question Pin
Mark Salsbery21-Oct-07 7:40
Mark Salsbery21-Oct-07 7:40 
GeneralRe: MFC focus question Pin
FredrickNorge21-Oct-07 11:12
FredrickNorge21-Oct-07 11:12 
AnswerRe: MFC focus question Pin
Stephen Hewitt21-Oct-07 19:40
Stephen Hewitt21-Oct-07 19:40 
GeneralRe: MFC focus question Pin
FredrickNorge21-Oct-07 21:45
FredrickNorge21-Oct-07 21:45 
Questiontrim heading and trailing space Pin
George_George20-Oct-07 21:52
George_George20-Oct-07 21:52 
AnswerRe: trim heading and trailing space Pin
Christian Graus20-Oct-07 23:40
protectorChristian Graus20-Oct-07 23:40 
GeneralRe: trim heading and trailing space Pin
George_George21-Oct-07 3:18
George_George21-Oct-07 3:18 
AnswerRe: trim heading and trailing space Pin
henk21cm20-Oct-07 23:46
henk21cm20-Oct-07 23:46 

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.