Click here to Skip to main content
15,906,708 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Custom shaped dialogs Pin
Dean Michaud18-Nov-02 10:45
Dean Michaud18-Nov-02 10:45 
GeneralRe: Custom shaped dialogs Pin
Michael Dunn18-Nov-02 11:18
sitebuilderMichael Dunn18-Nov-02 11:18 
GeneralRe: Custom shaped dialogs Pin
Atlantys19-Nov-02 3:07
Atlantys19-Nov-02 3:07 
GeneralAdding MFC to a non-MFC project Pin
Dave_18-Nov-02 10:03
Dave_18-Nov-02 10:03 
GeneralRe: Adding MFC to a non-MFC project Pin
Navin18-Nov-02 10:37
Navin18-Nov-02 10:37 
GeneralRe: Adding MFC to a non-MFC project Pin
Bill Wilson18-Nov-02 13:11
Bill Wilson18-Nov-02 13:11 
QuestionIs the field EMPTY ? Pin
Hadi Rezaee18-Nov-02 8:21
Hadi Rezaee18-Nov-02 8:21 
GeneralCListBox FindString Pin
Gary Kirkham18-Nov-02 8:17
Gary Kirkham18-Nov-02 8:17 
Does anyone know what algorithm FindString uses? This function does not work like I think it should. I am allowing a user to select an item from a list and add the item to another list. I don't want duplicates added to the second list so I use FindString to determine if the selected item is already in the list.

Simple enough.

Or so I thought. An example:

If I add the string "cutset2" to the list, then try to add the string "cutset" to the list...FindString tells me that "cutset" is already in the list. If I reverse the order and add "cutset" then "cutset2", FindString works properly.

Does anyone know why? Is this standard behavior? Is there any way around it, besides writting my own FindString function?

Gary Kirkham

A working Program is one that has only unobserved bugs
GeneralRe: CListBox FindString Pin
Gary Kirkham18-Nov-02 8:31
Gary Kirkham18-Nov-02 8:31 
GeneralFormatting string in Edit Box Pin
Georgi Atanasov18-Nov-02 6:49
Georgi Atanasov18-Nov-02 6:49 
GeneralRe: Formatting string in Edit Box Pin
Roger Allen18-Nov-02 7:21
Roger Allen18-Nov-02 7:21 
QuestionHow do I detect removable media being inserted? Pin
Obliterator18-Nov-02 6:09
Obliterator18-Nov-02 6:09 
AnswerRe: How do I detect removable media being inserted? Pin
567890123418-Nov-02 23:00
567890123418-Nov-02 23:00 
GeneralRe: How do I detect removable media being inserted? Pin
Obliterator21-Nov-02 4:18
Obliterator21-Nov-02 4:18 
GeneralApplication Icon Pin
carpediem18-Nov-02 5:57
carpediem18-Nov-02 5:57 
GeneralRe: Application Icon Pin
KevinHall18-Nov-02 6:34
KevinHall18-Nov-02 6:34 
GeneralRe: Application Icon Pin
Shog918-Nov-02 7:49
sitebuilderShog918-Nov-02 7:49 
GeneralRe: Application Icon Pin
carpediem18-Nov-02 12:57
carpediem18-Nov-02 12:57 
GeneralRe: Application Icon Pin
Shog918-Nov-02 13:09
sitebuilderShog918-Nov-02 13:09 
GeneralRe: Application Icon Pin
Al_Pennyworth18-Nov-02 13:14
Al_Pennyworth18-Nov-02 13:14 
GeneralRe: Application Icon Pin
Shog918-Nov-02 13:23
sitebuilderShog918-Nov-02 13:23 
GeneralRe: Application Icon Pin
carpediem18-Nov-02 13:35
carpediem18-Nov-02 13:35 
GeneralRe: Application Icon Pin
Shog918-Nov-02 17:32
sitebuilderShog918-Nov-02 17:32 
GeneralRe: Application Icon Pin
carpediem19-Nov-02 7:16
carpediem19-Nov-02 7:16 
GeneralRe: Application Icon Pin
Shog919-Nov-02 7:28
sitebuilderShog919-Nov-02 7:28 

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.