Click here to Skip to main content
16,012,223 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralFloating Palette Bar Pin
21-Feb-01 10:08
suss21-Feb-01 10:08 
GeneralRe: Floating Palette Bar Pin
l a u r e n21-Feb-01 10:48
l a u r e n21-Feb-01 10:48 
GeneralRe: Floating Palette Bar Pin
Christian Graus21-Feb-01 12:37
protectorChristian Graus21-Feb-01 12:37 
GeneralListBox ... Pin
Hadi Rezaee21-Feb-01 8:09
Hadi Rezaee21-Feb-01 8:09 
GeneralRe: ListBox ... Pin
Christian Graus21-Feb-01 9:42
protectorChristian Graus21-Feb-01 9:42 
GeneralRe: ListBox ... Pin
l a u r e n21-Feb-01 10:21
l a u r e n21-Feb-01 10:21 
GeneralComboBox question Pin
David Burrows21-Feb-01 7:36
David Burrows21-Feb-01 7:36 
GeneralRe: ComboBox question Pin
Christian Graus21-Feb-01 9:46
protectorChristian Graus21-Feb-01 9:46 
This sounds to me like a colossally bad idea ( changing default behaviour so your combo will not behave as your user expects ), but assuming you have a good reason to do it...

From what I can see, you'll need to create a class derived from a combo box. Then you can capture the key press for the arrows and ignore it. OR you could catch ON_CBN_DROPDOWN, and set a bool to tell you if the list has been dropped, and based on that in ON_CBN_SELCHANGE you can know if the selection change is from an arrow press or list box click. Sounds like a lot of work to me, but that's how I would do it ( probably just the first suggestion )

Christian

The content of this post is not necessarily the opinion of my yadda yadda yadda.

To understand recursion, we must first understand recursion.
GeneralRe: ComboBox question Pin
Matt Gullett21-Feb-01 10:55
Matt Gullett21-Feb-01 10:55 
GeneralHelp me! Pin
21-Feb-01 6:27
suss21-Feb-01 6:27 
GeneralRe: Help me! Pin
Christian Graus21-Feb-01 9:37
protectorChristian Graus21-Feb-01 9:37 
QuestionIs it possible to make a BitmapButton from a user defined region? Pin
eric kaminski21-Feb-01 3:51
eric kaminski21-Feb-01 3:51 
AnswerRe: Is it possible to make a BitmapButton from a user defined region? Pin
SriSubbu22-Feb-01 6:09
professionalSriSubbu22-Feb-01 6:09 
GeneralWrapping MFC app in a ActiveX for embedding in Explorer Pin
21-Feb-01 3:23
suss21-Feb-01 3:23 
GeneralRe: Wrapping MFC app in a ActiveX for embedding in Explorer Pin
l a u r e n21-Feb-01 11:05
l a u r e n21-Feb-01 11:05 
GeneralNo Modal Pin
21-Feb-01 0:57
suss21-Feb-01 0:57 
GeneralRe: No Modal Pin
21-Feb-01 2:28
suss21-Feb-01 2:28 
GeneralRe: No Modal Pin
21-Feb-01 3:55
suss21-Feb-01 3:55 
GeneralRe: No Modal Pin
l a u r e n21-Feb-01 7:03
l a u r e n21-Feb-01 7:03 
GeneralEaster Date Calculation Egg Pin
ColinDavies20-Feb-01 23:43
ColinDavies20-Feb-01 23:43 
GeneralRe: Easter Date Calculation Egg Pin
Tim Deveaux21-Feb-01 4:10
Tim Deveaux21-Feb-01 4:10 
GeneralRe: Easter Date Calculation Egg Pin
Tim Deveaux21-Feb-01 8:03
Tim Deveaux21-Feb-01 8:03 
QuestionDetecting Internet Connection? Pin
TomK20-Feb-01 23:27
TomK20-Feb-01 23:27 
AnswerRe: Detecting Internet Connection? Pin
Paolo Messina21-Feb-01 7:35
professionalPaolo Messina21-Feb-01 7:35 
QuestionHow to create service in Windows 98 Pin
Puneet Jain20-Feb-01 22:23
Puneet Jain20-Feb-01 22:23 

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.