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

C / C++ / MFC

 
AnswerRe: date function Pin
NeoAks00713-Mar-09 2:41
NeoAks00713-Mar-09 2:41 
QuestionTrack number of compiles done on a solution Pin
NeoAks00713-Mar-09 2:38
NeoAks00713-Mar-09 2:38 
QuestionRe: Track number of compiles done on a solution Pin
Maximilien13-Mar-09 2:41
Maximilien13-Mar-09 2:41 
AnswerRe: Track number of compiles done on a solution Pin
NeoAks00713-Mar-09 2:53
NeoAks00713-Mar-09 2:53 
AnswerRe: Track number of compiles done on a solution Pin
CPallini13-Mar-09 3:03
mveCPallini13-Mar-09 3:03 
AnswerRe: Track number of compiles done on a solution Pin
Stuart Dootson13-Mar-09 6:19
professionalStuart Dootson13-Mar-09 6:19 
QuestionRe: Track number of compiles done on a solution [modified] Pin
NeoAks00713-Mar-09 8:51
NeoAks00713-Mar-09 8:51 
QuestionCcheckBoxList issue Pin
p_196013-Mar-09 1:33
p_196013-Mar-09 1:33 
Hi,

im using CCheckBoxList..and im poulating the checkboxlist based on an ini file...and in a loop im trying to check all the checkboxes using Setcheck method but one of checkbox is not checked when i see the output...ie when i debugged thru the loop in which im setting checkboxes im able to see every checkbox is checked but when it comes out of the loop one of the checkbox is not checked....i think it is rearranging checkboxes based on alphabetical order but i need it"s to be checked...


the below is the code...is present in oninitDialog..


CCheckListBox mchk;

mchk.ResetContent();
mchk.SetCheckStyle( BS_AUTOCHECKBOX );
mchk.AddString("All");
mchk.SetCheck( 0, 1 );


CString csage;
///im retrieving section keys of ini file into this vector...
std::vector Key;
///im retrieving values of keys into this vector...
std::vector Values;

for(int i=0;i<key.size();i++)>
{
csage=Values[i];
mchk.AddString(csage);
mchk.SetCheck( i+1, 1 );

}


the problem is i need to have "All" always as the first checkbox and some of the checkboxes are not getting checked...may be they are getting sorted but i need them to be checked ......
ie if i have a value "adidas" that is assigend to first checkbox which is not desired as always "All" should be the first checkbox..
AnswerRe: CcheckBoxList issue Pin
CPallini13-Mar-09 3:43
mveCPallini13-Mar-09 3:43 
GeneralRe: CcheckBoxList issue Pin
p_196013-Mar-09 3:55
p_196013-Mar-09 3:55 
GeneralRe: CcheckBoxList issue Pin
CPallini13-Mar-09 4:08
mveCPallini13-Mar-09 4:08 
GeneralRe: CcheckBoxList issue Pin
p_196013-Mar-09 4:12
p_196013-Mar-09 4:12 
GeneralRe: CcheckBoxList issue Pin
CPallini13-Mar-09 4:29
mveCPallini13-Mar-09 4:29 
QuestionCRichEditView: Word Break/ Spearator problem Pin
Aruna Jayaraman13-Mar-09 0:57
Aruna Jayaraman13-Mar-09 0:57 
AnswerRe: CRichEditView: Word Break/ Spearator problem Pin
_AnsHUMAN_ 13-Mar-09 1:36
_AnsHUMAN_ 13-Mar-09 1:36 
GeneralRe: CRichEditView: Word Break/ Spearator problem Pin
Aruna Jayaraman13-Mar-09 1:46
Aruna Jayaraman13-Mar-09 1:46 
QuestionError creating objects using constructor with arguments Pin
NeoAks00713-Mar-09 0:54
NeoAks00713-Mar-09 0:54 
AnswerRe: Error creating objects using constructor with arguments Pin
Cedric Moonen13-Mar-09 1:02
Cedric Moonen13-Mar-09 1:02 
GeneralRe: Error creating objects using constructor with arguments Pin
NeoAks00713-Mar-09 1:10
NeoAks00713-Mar-09 1:10 
QuestionHow to replace string in _bstr_t Pin
gothic_coder13-Mar-09 0:54
gothic_coder13-Mar-09 0:54 
AnswerRe: How to replace string in _bstr_t Pin
Ash_VCPP13-Mar-09 1:23
Ash_VCPP13-Mar-09 1:23 
GeneralRe: How to replace string in _bstr_t Pin
gothic_coder13-Mar-09 1:50
gothic_coder13-Mar-09 1:50 
GeneralRe: How to replace string in _bstr_t Pin
Ash_VCPP13-Mar-09 1:53
Ash_VCPP13-Mar-09 1:53 
GeneralRe: How to replace string in _bstr_t Pin
«_Superman_»13-Mar-09 1:53
professional«_Superman_»13-Mar-09 1:53 
GeneralRe: How to replace string in _bstr_t Pin
gothic_coder13-Mar-09 2:35
gothic_coder13-Mar-09 2:35 

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.