Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ Widgets - General questions or Mixed problems » Key in DropList cannot be same
icon9.gif  Key in DropList cannot be same [message #14146] Fri, 15 February 2008 05:55 Go to previous message
bonami is currently offline  bonami
Messages: 186
Registered: June 2007
Location: Beijing
Experienced Member
ezcomm/main.cpp line 209
i have a DropList hist_text_in. Its values are received messages and its keys are indexes in a corresponding address list. Thus, different items in the DropList can have same keys to point to same indexes. But when I select an item, if keys are same, I cannot locate the item using GetIndex() + GetValue() or anything.
then i suppose i should have another list/table correlating each address list index to DropList key. in this way, key can be made unique. but when the DropList is full, new items make old items disappear. thus i have no easy way to track items.
  • Attachment: ezcomm.zip
    (Size: 330.42KB, Downloaded 265 times)
 
Read Message icon9.gif
Read Message
Read Message
Read Message
Read Message icon14.gif
Read Message
Read Message
Read Message
Read Message
Previous Topic: Two questions on U++
Next Topic: Layout and Paint event processing
Goto Forum:
  


Current Time: Sun Apr 28 15:14:42 CEST 2024

Total time taken to generate the page: 0.04856 seconds