Click here to Skip to main content
16,008,010 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionRe: fatal error C1070: mismatched #if/#endif pair in file 'utility.h' Pin
CPallini12-Mar-09 22:50
mveCPallini12-Mar-09 22:50 
Answer[Message Deleted] Pin
p_196012-Mar-09 22:57
p_196012-Mar-09 22:57 
GeneralRe: fatal error C1070: mismatched #if/#endif pair in file 'utility.h' Pin
CPallini12-Mar-09 23:01
mveCPallini12-Mar-09 23:01 
GeneralRe: fatal error C1070: mismatched #if/#endif pair in file 'utility.h' Pin
p_196012-Mar-09 23:05
p_196012-Mar-09 23:05 
GeneralRe: fatal error C1070: mismatched #if/#endif pair in file 'utility.h' Pin
CPallini12-Mar-09 23:30
mveCPallini12-Mar-09 23:30 
GeneralRe: fatal error C1070: mismatched #if/#endif pair in file 'utility.h' Pin
p_196013-Mar-09 0:12
p_196013-Mar-09 0:12 
GeneralRe: fatal error C1070: mismatched #if/#endif pair in file 'utility.h' Pin
CPallini13-Mar-09 0:32
mveCPallini13-Mar-09 0:32 
GeneralRe: fatal error C1070: mismatched #if/#endif pair in file 'utility.h' Pin
p_196013-Mar-09 0:44
p_196013-Mar-09 0:44 
ok..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<cstring> Key;
///im retrieving values of keys into this vector...
std::vector<cstring> 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..




QuestionProblem in AccessDatabase handling. Pin
Le@rner12-Mar-09 21:00
Le@rner12-Mar-09 21:00 
Questionresizing a property sheet Pin
Jaydev.A12-Mar-09 20:38
Jaydev.A12-Mar-09 20:38 
AnswerRe: resizing a property sheet Pin
Sarath C12-Mar-09 20:53
Sarath C12-Mar-09 20:53 
QuestionRe: resizing a property sheet Pin
Jaydev.A13-Mar-09 1:34
Jaydev.A13-Mar-09 1:34 
QuestionWhat is contained in lib? Pin
JackPuppy12-Mar-09 19:08
JackPuppy12-Mar-09 19:08 
AnswerRe: What is contained in lib? Pin
Stephen Hewitt12-Mar-09 19:22
Stephen Hewitt12-Mar-09 19:22 
GeneralRe: What is contained in lib? Pin
«_Superman_»12-Mar-09 19:28
professional«_Superman_»12-Mar-09 19:28 
GeneralRe: What is contained in lib? Pin
JackPuppy12-Mar-09 21:01
JackPuppy12-Mar-09 21:01 
GeneralRe: What is contained in lib? Pin
Eytukan12-Mar-09 23:01
Eytukan12-Mar-09 23:01 
GeneralRe: What is contained in lib? Pin
Stephen Hewitt13-Mar-09 5:32
Stephen Hewitt13-Mar-09 5:32 
GeneralRe: What is contained in lib? Pin
Eytukan13-Mar-09 23:27
Eytukan13-Mar-09 23:27 
GeneralRe: What is contained in lib? Pin
JackPuppy12-Mar-09 21:04
JackPuppy12-Mar-09 21:04 
GeneralRe: What is contained in lib? Pin
Stephen Hewitt13-Mar-09 5:33
Stephen Hewitt13-Mar-09 5:33 
QuestionMaking remote machine inaccessible Pin
Imtiaz Murtaza12-Mar-09 17:51
Imtiaz Murtaza12-Mar-09 17:51 
AnswerRe: Making remote machine inaccessible Pin
«_Superman_»12-Mar-09 18:15
professional«_Superman_»12-Mar-09 18:15 
AnswerRe: Making remote machine inaccessible Pin
Sarath C12-Mar-09 20:50
Sarath C12-Mar-09 20:50 
Questionconvert parameter from 'const int' to 'void *' Pin
CHYGO12-Mar-09 17:26
CHYGO12-Mar-09 17: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.