Click here to Skip to main content
15,887,477 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
JokeRe: BUG IN C (LINKED LIST CODE).......please Help me Pin
Nelek26-Feb-10 3:20
protectorNelek26-Feb-10 3:20 
GeneralRe: BUG IN C (LINKED LIST CODE).......please Help me Pin
Cedric Moonen26-Feb-10 3:46
Cedric Moonen26-Feb-10 3:46 
JokeRe: BUG IN C (LINKED LIST CODE).......please Help me Pin
Nelek26-Feb-10 3:56
protectorNelek26-Feb-10 3:56 
GeneralRe: BUG IN C (LINKED LIST CODE).......please Help me Pin
CPallini26-Feb-10 6:02
mveCPallini26-Feb-10 6:02 
AnswerRe: BUG IN C (LINKED LIST CODE).......please Help me Pin
CPallini26-Feb-10 2:08
mveCPallini26-Feb-10 2:08 
AnswerRe: BUG IN C (LINKED LIST CODE).......please Help me Pin
Avi Berger26-Feb-10 7:02
Avi Berger26-Feb-10 7:02 
QuestionDrag Drop from .net application to outside it Pin
Aseem Sharma26-Feb-10 1:56
Aseem Sharma26-Feb-10 1:56 
QuestionAvoiding "auto-select" in editable combobox Pin
Code-o-mat25-Feb-10 23:46
Code-o-mat25-Feb-10 23:46 
Hello people!

I have an editable combo box which has some items in its list. The text inside the edit field is set to something by the program initially, but this initial text is most of the time not amongst the items of the list part. If the user then clicks on the dropdown button to display the list the combo box seems to "auto-select" the very first item inside its list that begins with the same character serie as the text of the edit field replacing the text in the edit field itself. How to avoid this?
For example if the list contains these 2 items: {"apple", "pear"} and the edit field has "ap" in it, upon displaying the dropdown list "ap" in the edit field becomes "apple".
This event also doesn't seem to generate a CBN_EDITCHANGE notification, which leads to the GUI becoming "seemingly inconsistent" now, since the user sees the auto-selected item inside the edit field in the combo but no other change happens on the GUI so on other places he still sees the original, initially inserted text.
Any idea how to get rid of this unneeded (and annoying) "feature"? Thanks in advance for any answers.
> The problem with computers is that they do what you tell them to do and not what you want them to do. <
> Sometimes you just have to hate coding to do it well. <

AnswerRe: Avoiding "auto-select" in editable combobox Pin
Eugen Podsypalnikov25-Feb-10 23:57
Eugen Podsypalnikov25-Feb-10 23:57 
GeneralRe: Avoiding "auto-select" in editable combobox Pin
Code-o-mat26-Feb-10 0:34
Code-o-mat26-Feb-10 0:34 
GeneralRe: Avoiding "auto-select" in editable combobox Pin
Eugen Podsypalnikov26-Feb-10 1:32
Eugen Podsypalnikov26-Feb-10 1:32 
AnswerRe: Avoiding "auto-select" in editable combobox Pin
Eugen Podsypalnikov26-Feb-10 1:51
Eugen Podsypalnikov26-Feb-10 1:51 
AnswerRe: Avoiding "auto-select" in editable combobox Pin
SandipG 26-Feb-10 1:59
SandipG 26-Feb-10 1:59 
GeneralRe: Avoiding "auto-select" in editable combobox Pin
Code-o-mat26-Feb-10 2:21
Code-o-mat26-Feb-10 2:21 
AnswerRe: Avoiding "auto-select" in editable combobox Pin
Code-o-mat26-Feb-10 2:42
Code-o-mat26-Feb-10 2:42 
QuestionCPU Usage & Mem Usage Pin
john563225-Feb-10 23:35
john563225-Feb-10 23:35 
AnswerRe: CPU Usage & Mem Usage Pin
«_Superman_»26-Feb-10 0:56
professional«_Superman_»26-Feb-10 0:56 
AnswerRe: CPU Usage & Mem Usage Pin
Rajesh R Subramanian26-Feb-10 1:29
professionalRajesh R Subramanian26-Feb-10 1:29 
QuestionMouse Event Pin
john563225-Feb-10 20:49
john563225-Feb-10 20:49 
AnswerRe: Mouse Event Pin
KarstenK25-Feb-10 21:10
mveKarstenK25-Feb-10 21:10 
AnswerRe: Mouse Event Pin
«_Superman_»25-Feb-10 21:16
professional«_Superman_»25-Feb-10 21:16 
AnswerRe: Mouse Event Pin
wangningyu26-Feb-10 21:07
wangningyu26-Feb-10 21:07 
QuestionCompressed image movement is too slow Pin
Game-point25-Feb-10 19:25
Game-point25-Feb-10 19:25 
AnswerRe: Compressed image movement is too slow Pin
Stuart Dootson25-Feb-10 20:43
professionalStuart Dootson25-Feb-10 20:43 
GeneralRe: Compressed image movement is too slow Pin
Game-point25-Feb-10 21:41
Game-point25-Feb-10 21:41 

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.