Click here to Skip to main content
15,921,530 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Converting CString to int in Visaul C++, please help. Pin
Ben Burnett1-Jul-01 17:39
Ben Burnett1-Jul-01 17:39 
GeneralRe: Converting CString to int in Visaul C++, please help. Pin
1-Jul-01 18:34
suss1-Jul-01 18:34 
GeneralRe: Converting CString to int in Visaul C++, please help. Pin
Christian Graus1-Jul-01 19:01
protectorChristian Graus1-Jul-01 19:01 
GeneralAsk for help about color code to OpenGL graphic object Pin
Jane1-Jul-01 16:40
Jane1-Jul-01 16:40 
GeneralRe: Ask for help about color code to OpenGL graphic object Pin
Jonathan de Halleux30-Oct-01 1:16
Jonathan de Halleux30-Oct-01 1:16 
QuestionListCtrl/ListView help wanted. I think??? Pin
Michael Martin1-Jul-01 15:11
professionalMichael Martin1-Jul-01 15:11 
AnswerRe: ListCtrl/ListView help wanted. I think??? Pin
Michael Dunn1-Jul-01 15:28
sitebuilderMichael Dunn1-Jul-01 15:28 
GeneralRe: ListCtrl/ListView help wanted. I think??? Pin
Michael Martin1-Jul-01 17:37
professionalMichael Martin1-Jul-01 17:37 
Mike

thanks for the help CDragListBox seems to be what I was looking for. MSDN says that I can have columns and set their width so I should be able to keep the Primary Key in the row data which is what I was looking for. It also tells me that I just add a ListBox to my dialog in the editor and then in ClassWizard set a control variable of type CDragListBox. Problem is that I only have CListBox as a choice. I am going to add CListBox and then manual edit the code to use CDragListBox and hope that this works.

Any idea why these other choices aren't appearing? Is it a setting I can modify or maybe a header I am missing in the project?

I have noticed other strange things that have hapened over time. A couple of years ago when I would create an app with a DropList ComboBox I would have the option of selecting a CString as a value variable, while now I only get int. I then have to change the int to CString and hack the DDX section of the code to get it to return the selected string and not zero based index when I do UpdateData(TRUE);

Did these changes appear while I was sleeping for the past couple of years or have I just screwed up something simple yet again?


Michael Martin
Pegasystems Pty Ltd
Australia
martm@pegasystems.com
+61 413-004-018
GeneralPrinting metafile Pin
nw603121-Jul-01 13:09
nw603121-Jul-01 13:09 
Questionplease help!! - document/view problems?? Pin
1-Jul-01 12:11
suss1-Jul-01 12:11 
AnswerRe: please help!! - document/view problems?? Pin
Erik Funkenbusch1-Jul-01 13:28
Erik Funkenbusch1-Jul-01 13:28 
Generalcatching escape keypresses in an edit control Pin
1-Jul-01 11:43
suss1-Jul-01 11:43 
GeneralRe: catching escape keypresses in an edit control Pin
Julien1-Jul-01 14:49
Julien1-Jul-01 14:49 
GeneralRe: catching escape keypresses in an edit control Pin
Julien1-Jul-01 15:33
Julien1-Jul-01 15:33 
GeneralRe: catching escape keypresses in an edit control Pin
Matt Gullett1-Jul-01 15:39
Matt Gullett1-Jul-01 15:39 
GeneralDLL loosing "this" pointer Pin
Peter Marino1-Jul-01 10:20
Peter Marino1-Jul-01 10:20 
GeneralRe: DLL loosing Pin
Cliff Dabrowski1-Jul-01 12:45
Cliff Dabrowski1-Jul-01 12:45 
GeneralRe: DLL loosing Pin
Peter Marino1-Jul-01 13:04
Peter Marino1-Jul-01 13:04 
GeneralRe: DLL loosing Pin
1-Jul-01 13:22
suss1-Jul-01 13:22 
GeneralInternet Traffic Pin
1-Jul-01 10:14
suss1-Jul-01 10:14 
GeneralRe: Free HTML Win32 API control Pin
Michael Dunn1-Jul-01 9:11
sitebuilderMichael Dunn1-Jul-01 9:11 
GeneralSyntax highlighting Pin
1-Jul-01 8:13
suss1-Jul-01 8:13 
GeneralRe: Syntax highlighting Pin
NullStream1-Jul-01 8:30
NullStream1-Jul-01 8:30 
GeneralRe: Syntax highlighting Pin
1-Jul-01 8:40
suss1-Jul-01 8:40 
GeneralRe: Syntax highlighting Pin
Anders Molin1-Jul-01 8:57
professionalAnders Molin1-Jul-01 8:57 

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.