Click here to Skip to main content
14,876,938 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: c++ Pin
Richard MacCutchan21-Oct-19 22:39
mveRichard MacCutchan21-Oct-19 22:39 
AnswerRe: c++ Pin
David Crow22-Oct-19 2:01
MemberDavid Crow22-Oct-19 2:01 
Questionc++ enum Pin
Fotsing16-Oct-19 1:40
MemberFotsing16-Oct-19 1:40 
AnswerRe: c++ enum Pin
CPallini16-Oct-19 2:22
mveCPallini16-Oct-19 2:22 
QuestionCCombobox MFC vc++ Pin
Member 1457555611-Oct-19 1:46
MemberMember 1457555611-Oct-19 1:46 
AnswerRe: CCombobox MFC vc++ Pin
Victor Nijegorodov11-Oct-19 2:50
MemberVictor Nijegorodov11-Oct-19 2:50 
GeneralRe: CCombobox MFC vc++ Pin
Member 1457555611-Oct-19 3:39
MemberMember 1457555611-Oct-19 3:39 
QuestionRe: CCombobox MFC vc++ Pin
David Crow11-Oct-19 3:51
MemberDavid Crow11-Oct-19 3:51 
Member 14575556 wrote:

What I wanted was when I start my application it shows something like "please select something" before I select anything.
Are you doing something like:
m_list.AddString(_T("Item 1"));
m_list.AddString(_T("Item 2"));
m_list.AddString(_T("Item 3"));
m_list.AddString(_T("Item 4"));
m_list.InsertItem(0, _T("please select something"));
...
m_list.SetCurSel(0);

"One man's wage rise is another man's price increase." - Harold Wilson

"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons

"You can easily judge the character of a man by how he treats those who can do nothing for him." - James D. Miles


GeneralRe: CCombobox MFC vc++ Pin
Victor Nijegorodov11-Oct-19 4:43
MemberVictor Nijegorodov11-Oct-19 4:43 
QuestionRe: CCombobox MFC vc++ Pin
David Crow11-Oct-19 6:47
MemberDavid Crow11-Oct-19 6:47 
AnswerRe: CCombobox MFC vc++ Pin
Victor Nijegorodov11-Oct-19 7:27
MemberVictor Nijegorodov11-Oct-19 7:27 
GeneralRe: CCombobox MFC vc++ Pin
Member 1457555612-Oct-19 16:59
MemberMember 1457555612-Oct-19 16:59 
GeneralRe: CCombobox MFC vc++ Pin
Victor Nijegorodov13-Oct-19 20:27
MemberVictor Nijegorodov13-Oct-19 20:27 
AnswerRe: CCombobox MFC vc++ Pin
Richard MacCutchan11-Oct-19 3:17
mveRichard MacCutchan11-Oct-19 3:17 
GeneralRe: CCombobox MFC vc++ Pin
Member 1457555612-Oct-19 18:26
MemberMember 1457555612-Oct-19 18:26 
GeneralRe: CCombobox MFC vc++ Pin
Richard MacCutchan12-Oct-19 20:54
mveRichard MacCutchan12-Oct-19 20:54 
Questionerror C2143 Pin
_Flaviu10-Oct-19 3:41
Member_Flaviu10-Oct-19 3:41 
AnswerRe: error C2143 Pin
Richard MacCutchan10-Oct-19 4:21
mveRichard MacCutchan10-Oct-19 4:21 
AnswerRe: error C2143 Pin
CPallini10-Oct-19 6:14
mveCPallini10-Oct-19 6:14 
GeneralRe: error C2143 Pin
_Flaviu10-Oct-19 19:47
Member_Flaviu10-Oct-19 19:47 
GeneralRe: error C2143 Pin
_Flaviu11-Oct-19 0:29
Member_Flaviu11-Oct-19 0:29 
GeneralRe: error C2143 Pin
Richard MacCutchan11-Oct-19 0:55
mveRichard MacCutchan11-Oct-19 0:55 
GeneralRe: error C2143 Pin
_Flaviu11-Oct-19 1:08
Member_Flaviu11-Oct-19 1:08 
GeneralRe: error C2143 Pin
Richard MacCutchan11-Oct-19 1:24
mveRichard MacCutchan11-Oct-19 1:24 
GeneralRe: error C2143 Pin
_Flaviu11-Oct-19 4:28
Member_Flaviu11-Oct-19 4:28 

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.