Click here to Skip to main content
15,889,266 members
Home / Discussions / C#
   

C#

 
GeneralRe: Interfacing with C from C# Pin
Stephane Rodriguez.10-May-03 19:18
Stephane Rodriguez.10-May-03 19:18 
QuestionIs there really no usefull ListView Owner Draw Example in this world!!!??? Pin
STW9-May-03 7:07
STW9-May-03 7:07 
GeneralTitle for taskbar button Pin
Manish K. Agarwal9-May-03 6:11
Manish K. Agarwal9-May-03 6:11 
GeneralDetermining Memory Size Pin
Mark Sanders9-May-03 5:39
Mark Sanders9-May-03 5:39 
GeneralRe: Determining Memory Size Pin
Stephane Rodriguez.9-May-03 8:34
Stephane Rodriguez.9-May-03 8:34 
General3d Party Controls Pin
RB@Emphasys9-May-03 5:13
RB@Emphasys9-May-03 5:13 
GeneralRe: 3d Party Controls Pin
Stefan de Zeeuw10-May-03 2:16
professionalStefan de Zeeuw10-May-03 2:16 
Questioncombobox item values? Pin
dazinith9-May-03 3:39
dazinith9-May-03 3:39 
i am currently doing something like the following to a combobox:
(for int i = 0; i < 10; i++)
{
    MyObject objData = MyData.GetAt(i);
    this.cbMyComboBox.Items.Add(objData.strWord);
}

which adds the text to the combobox fine.. but what i really wanna do is set a data value for each item i add.. there are 'tag' values for tree controls, but i dont see anything like this for the combobox.. and if i just add the object then it displays the object type because it doesnt know what text to display..

im sure this is a common problem, just couldn't find the answer in the message boards..

thanks in advance!

still a newb.. cut me some slack :P
-dz
AnswerRe: combobox item values? Pin
RB@Emphasys9-May-03 9:13
RB@Emphasys9-May-03 9:13 
GeneralRe: combobox item values? Pin
dazinith9-May-03 9:39
dazinith9-May-03 9:39 
GeneralRe: combobox item values? Pin
RB@Emphasys9-May-03 9:49
RB@Emphasys9-May-03 9:49 
GeneralRe: combobox item values? Pin
dazinith9-May-03 9:52
dazinith9-May-03 9:52 
GeneralRe: combobox item values? Pin
dazinith14-May-03 8:25
dazinith14-May-03 8:25 
GeneralRe: combobox item values? Pin
dazinith14-May-03 8:47
dazinith14-May-03 8:47 
GeneralWYSIWYG HTML Editor Windows Control. Pin
Jonas Follesø8-May-03 22:42
Jonas Follesø8-May-03 22:42 
QuestionHow to extract anchors from applets Pin
benzite8-May-03 19:40
benzite8-May-03 19:40 
GeneralDetecting Connection Pin
Alex Korchemniy8-May-03 19:09
Alex Korchemniy8-May-03 19:09 
GeneralRe: Detecting Connection Pin
J. Dunlap8-May-03 20:11
J. Dunlap8-May-03 20:11 
GeneralBinding Pin
Jon Newman8-May-03 13:57
Jon Newman8-May-03 13:57 
GeneralRe: Binding Pin
David Stone8-May-03 14:21
sitebuilderDavid Stone8-May-03 14:21 
GeneralRe: Binding Pin
Jon Newman9-May-03 5:59
Jon Newman9-May-03 5:59 
GeneralRe: Binding Pin
leppie9-May-03 7:14
leppie9-May-03 7:14 
GeneralRe: Binding Pin
David Stone9-May-03 11:29
sitebuilderDavid Stone9-May-03 11:29 
QuestionGetTextMetrics in .NET ? Pin
monrobot138-May-03 11:39
monrobot138-May-03 11:39 
AnswerRe: GetTextMetrics in .NET ? Pin
David Stone8-May-03 12:32
sitebuilderDavid Stone8-May-03 12:32 

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.