Click here to Skip to main content
15,920,596 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Unhandled exception access violation on function call. Any tips on how to proceed Pin
«_Superman_»8-Jun-09 15:49
professional«_Superman_»8-Jun-09 15:49 
Questiondissapearence of dialog parts in c++ Pin
andrassy8-Jun-09 8:51
andrassy8-Jun-09 8:51 
AnswerRe: dissapearence of dialog parts in c++ Pin
David Crow8-Jun-09 10:30
David Crow8-Jun-09 10:30 
AnswerRe: dissapearence of dialog parts in c++ Pin
«_Superman_»8-Jun-09 15:54
professional«_Superman_»8-Jun-09 15:54 
GeneralRe: dissapearence of dialog parts in c++ Pin
andrassy9-Jun-09 6:55
andrassy9-Jun-09 6:55 
GeneralRe: dissapearence of dialog parts in c++ Pin
andrassy21-Jul-09 10:09
andrassy21-Jul-09 10:09 
QuestionParenting a modal CDialog Pin
TyrionTheImp8-Jun-09 8:17
TyrionTheImp8-Jun-09 8:17 
AnswerRe: Parenting a modal CDialog Pin
Sarath C8-Jun-09 9:09
Sarath C8-Jun-09 9:09 
GeneralRe: Parenting a modal CDialog Pin
TyrionTheImp9-Jun-09 4:40
TyrionTheImp9-Jun-09 4:40 
QuestionRe: Parenting a modal CDialog Pin
David Crow8-Jun-09 10:22
David Crow8-Jun-09 10:22 
AnswerRe: Parenting a modal CDialog Pin
TyrionTheImp9-Jun-09 4:42
TyrionTheImp9-Jun-09 4:42 
GeneralRe: Parenting a modal CDialog Pin
TyrionTheImp21-Jun-09 4:05
TyrionTheImp21-Jun-09 4:05 
Questioninet_addr function and leading zeros Pin
JBAK_CP8-Jun-09 8:16
JBAK_CP8-Jun-09 8:16 
AnswerRe: inet_addr function and leading zeros Pin
CPallini8-Jun-09 8:59
mveCPallini8-Jun-09 8:59 
GeneralRe: inet_addr function and leading zeros Pin
JBAK_CP8-Jun-09 9:15
JBAK_CP8-Jun-09 9:15 
QuestionP.C. Serial Communication for Visual C++ Dialog Pin
Member 17278168-Jun-09 8:14
Member 17278168-Jun-09 8:14 
AnswerRe: P.C. Serial Communication for Visual C++ Dialog Pin
Stuart Dootson8-Jun-09 9:35
professionalStuart Dootson8-Jun-09 9:35 
QuestionRe: P.C. Serial Communication for Visual C++ Dialog Pin
CPallini8-Jun-09 9:52
mveCPallini8-Jun-09 9:52 
AnswerRe: P.C. Serial Communication for Visual C++ Dialog Pin
David Crow8-Jun-09 10:20
David Crow8-Jun-09 10:20 
QuestionCan anyone give me some suggestion Pls..? Pin
kokilag8-Jun-09 8:05
kokilag8-Jun-09 8:05 
QuestionRe: Can anyone give me some suggestion Pls..? Pin
CPallini8-Jun-09 8:16
mveCPallini8-Jun-09 8:16 
AnswerRe: Can anyone give me some suggestion Pls..? Pin
«_Superman_»8-Jun-09 16:05
professional«_Superman_»8-Jun-09 16:05 
You should associate the number and value to the name when populating the list box.

Here's how you can do it.
Create a structure having one member for number and another for name.
When reading the first name, create an instance of the structure and initialize its members.
For example when "abc" is read, the created structure instance will contain "1" and "ee34".

Use the CListBox::SetItemDataPtr to associate the structure instance to the index where "abc" is inserted.

To retrieve it you would then use CListBox::GetItemDataPtr to get an instance of the structure.

«_Superman
I love work. It gives me something to do between weekends.

Questiontrouble building with Visual Studio 5.0 in Citrix - compatability issues??? Pin
AmVal8-Jun-09 5:03
AmVal8-Jun-09 5:03 
AnswerRe: trouble building with Visual Studio 5.0 in Citrix - compatability issues??? Pin
Stuart Dootson8-Jun-09 7:51
professionalStuart Dootson8-Jun-09 7:51 
GeneralRe: trouble building with Visual Studio 5.0 in Citrix - compatability issues??? Pin
AmVal8-Jun-09 8:30
AmVal8-Jun-09 8:30 

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.