Click here to Skip to main content
16,007,687 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Assertion Failed in OnCancel Pin
BoudewijnEctor18-Sep-03 1:44
BoudewijnEctor18-Sep-03 1:44 
GeneralRe: Assertion Failed in OnCancel Pin
Jagadeesh VN18-Sep-03 1:47
Jagadeesh VN18-Sep-03 1:47 
GeneralRe: Assertion Failed in OnCancel Pin
BoudewijnEctor18-Sep-03 4:03
BoudewijnEctor18-Sep-03 4:03 
GeneralRe: Assertion Failed in OnCancel Pin
Jagadeesh VN18-Sep-03 4:18
Jagadeesh VN18-Sep-03 4:18 
GeneralRe: Assertion Failed in OnCancel Pin
Jagadeesh VN18-Sep-03 1:54
Jagadeesh VN18-Sep-03 1:54 
GeneralRe: Assertion Failed in OnCancel Pin
David Crow18-Sep-03 3:37
David Crow18-Sep-03 3:37 
GeneralRe: Assertion Failed in OnCancel Pin
Jagadeesh VN18-Sep-03 3:55
Jagadeesh VN18-Sep-03 3:55 
GeneralListBox selection Pin
BoudewijnEctor18-Sep-03 0:02
BoudewijnEctor18-Sep-03 0:02 
Hi,


I've got a listBox in a program, and an array of instances of an own class. This class has a property called ID, and name. Both can be accessed by using get_ID(), and get_name(). The user must be able to select an instance in the listbox by selcting its name and clicking a button.

This works, I use getCurSel, as long as I know what position each instance has in the list. But other people will need to add their own instances, and they will have to change all the ID's etc.

Is there a way to determine the text selected in a list box, instead of the position of the selection, so I will know exactly which instance is selected?

Thanks,
GeneralRe: ListBox selection Pin
HalfWayMan18-Sep-03 0:06
HalfWayMan18-Sep-03 0:06 
GeneralRe: ListBox selection Pin
Jagadeesh VN18-Sep-03 0:38
Jagadeesh VN18-Sep-03 0:38 
GeneralDirectX and .NET Pin
devvvy17-Sep-03 22:55
devvvy17-Sep-03 22:55 
GeneralRe: DirectX and .NET Pin
fadee17-Sep-03 23:51
fadee17-Sep-03 23:51 
GeneralRe: DirectX and .NET Pin
devvvy18-Sep-03 3:11
devvvy18-Sep-03 3:11 
GeneralInteger to hexadecimal conversion Pin
BoudewijnEctor17-Sep-03 22:50
BoudewijnEctor17-Sep-03 22:50 
GeneralRe: Integer to hexadecimal conversion Pin
RChin17-Sep-03 23:15
RChin17-Sep-03 23:15 
GeneralRe: Integer to hexadecimal conversion Pin
Alexander M.,18-Sep-03 6:18
Alexander M.,18-Sep-03 6:18 
GeneralMSComm error Pin
El'Cachubrey17-Sep-03 22:33
El'Cachubrey17-Sep-03 22:33 
GeneralCToolBar related Pin
Shah Shehpori17-Sep-03 21:30
sussShah Shehpori17-Sep-03 21:30 
GeneralTLB Error Load Error - Pin
fadee17-Sep-03 19:38
fadee17-Sep-03 19:38 
GeneralRe: TLB Error Load Error - Pin
Michael P Butler17-Sep-03 22:05
Michael P Butler17-Sep-03 22:05 
GeneralRe: TLB Error Load Error - Pin
fadee17-Sep-03 22:45
fadee17-Sep-03 22:45 
GeneralRe: TLB Error Load Error - Pin
Michael P Butler17-Sep-03 23:09
Michael P Butler17-Sep-03 23:09 
GeneralRe: TLB Error Load Error - Pin
fadee17-Sep-03 23:36
fadee17-Sep-03 23:36 
GeneralShell_NotifyIcon problem.. Help Techies!! Pin
rohit.dhamija17-Sep-03 18:48
rohit.dhamija17-Sep-03 18:48 
GeneralAll the experts seem to be quite busy today... no replies yet Pin
rohit.dhamija17-Sep-03 21:46
rohit.dhamija17-Sep-03 21:46 

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.