Click here to Skip to main content
15,894,646 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Is it the fact that using only one kind of programming language would probably restrict your capacity? Pin
MicroVirus17-May-13 1:34
MicroVirus17-May-13 1:34 
GeneralRe: Is it the fact that using only one kind of programming language would probably restrict your capacity? Pin
rudiestf17-May-13 2:51
rudiestf17-May-13 2:51 
AnswerJack of many languages, and master of one (C++ in your case) Pin
Amarnath S17-May-13 7:05
professionalAmarnath S17-May-13 7:05 
Questionich ran correctly unfret2008 Visual C++ in static mode? Pin
Anthony Appleyard15-May-13 12:21
Anthony Appleyard15-May-13 12:21 
AnswerRe: ich ran correctly unfret2008 Visual C++ in static mode? Pin
Richard MacCutchan15-May-13 22:12
mveRichard MacCutchan15-May-13 22:12 
GeneralRe: 2008 Visual C++ in static mode? Pin
Anthony Appleyard15-May-13 23:48
Anthony Appleyard15-May-13 23:48 
GeneralRe: 2008 Visual C++ in static mode? Pin
Richard MacCutchan16-May-13 1:23
mveRichard MacCutchan16-May-13 1:23 
AnswerRe: ich ran correctly unfret2008 Visual C++ in static mode? Pin
jschell16-May-13 8:24
jschell16-May-13 8:24 
QuestionCompress short fixed length string (52 characters) down to less than 40. Pin
hatemtaleb15-May-13 2:52
hatemtaleb15-May-13 2:52 
AnswerRe: Compress short fixed length string (52 characters) down to less than 40. Pin
Jochen Arndt15-May-13 3:48
professionalJochen Arndt15-May-13 3:48 
AnswerRe: Compress short fixed length string (52 characters) down to less than 40. Pin
Joe Woodbury15-May-13 8:26
professionalJoe Woodbury15-May-13 8:26 
AnswerRe: Compress short fixed length string (52 characters) down to less than 40. Pin
David Crow15-May-13 10:38
David Crow15-May-13 10:38 
AnswerRe: Compress short fixed length string (52 characters) down to less than 40. Pin
dusty_dex17-May-13 14:47
dusty_dex17-May-13 14:47 
GeneralRe: Compress short fixed length string (52 characters) down to less than 40. Pin
hatemtaleb24-May-13 4:12
hatemtaleb24-May-13 4:12 
QuestionSetCheck on click in CListCtrl Pin
_Flaviu15-May-13 2:30
_Flaviu15-May-13 2:30 
AnswerRe: SetCheck on click in CListCtrl Pin
Jochen Arndt15-May-13 3:33
professionalJochen Arndt15-May-13 3:33 
The list control handles clicks on the check box itself. Whenever a click on the box occurs, the check is toggled. When now clicking on a check box, your handler will set the check and the default handler which is called afterwards will toggle the check so that it is removed. This can be verified when you click on a marked check box: The check marker disappears.

The solution would be to do nothing in your handler when clicking on the box. To determine the width of the check box, use ImageList_GetIconSize passing the image list returned by GetImageList(LVSIL_STATE). The check box itself is drawn with some spacing so that it may be necessary to add some pixels to the width.
GeneralRe: SetCheck on click in CListCtrl Pin
_Flaviu15-May-13 20:53
_Flaviu15-May-13 20:53 
GeneralRe: SetCheck on click in CListCtrl Pin
Jochen Arndt15-May-13 21:05
professionalJochen Arndt15-May-13 21:05 
GeneralRe: SetCheck on click in CListCtrl Pin
_Flaviu15-May-13 21:26
_Flaviu15-May-13 21:26 
GeneralRe: SetCheck on click in CListCtrl Pin
Jochen Arndt15-May-13 21:36
professionalJochen Arndt15-May-13 21:36 
GeneralRe: SetCheck on click in CListCtrl Pin
_Flaviu15-May-13 23:07
_Flaviu15-May-13 23:07 
GeneralRe: SetCheck on click in CListCtrl Pin
Jochen Arndt15-May-13 23:20
professionalJochen Arndt15-May-13 23:20 
GeneralRe: SetCheck on click in CListCtrl Pin
_Flaviu15-May-13 23:24
_Flaviu15-May-13 23:24 
QuestionWriting on BitMap by DC does not work Pin
Member 989133414-May-13 21:17
Member 989133414-May-13 21:17 
AnswerRe: Writing on BitMap by DC does not work Pin
dusty_dex17-May-13 6:26
dusty_dex17-May-13 6:26 

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.