Click here to Skip to main content
15,886,802 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Visual C++ Pin
«_Superman_»12-Nov-09 17:45
professional«_Superman_»12-Nov-09 17:45 
GeneralRe: Visual C++ Pin
Jacobb Michael12-Nov-09 19:40
Jacobb Michael12-Nov-09 19:40 
GeneralRe: Visual C++ Pin
«_Superman_»12-Nov-09 20:32
professional«_Superman_»12-Nov-09 20:32 
GeneralRe: Visual C++ Pin
Jacobb Michael12-Nov-09 23:50
Jacobb Michael12-Nov-09 23:50 
GeneralRe: Visual C++ Pin
«_Superman_»13-Nov-09 4:30
professional«_Superman_»13-Nov-09 4:30 
QuestionMFC Query Pin
billu 212-Nov-09 14:17
billu 212-Nov-09 14:17 
AnswerRe: MFC Query Pin
David Crow12-Nov-09 15:41
David Crow12-Nov-09 15:41 
QuestionProblems with CComboBox and WS_VSCROLL on Windows 7 [modified] Pin
hollesser00112-Nov-09 8:07
hollesser00112-Nov-09 8:07 
Hello,

i am using Microsoft Visual Studio 2008 on Windows 7 and i'm programming in Visual C++ (using MFC).

Now i have the following problem:
I have a CDialog with an CComboBox on it (placed with the ressource-designer and assigned an variable of type CComboBox). In OnInitDialog() i want so assign an V-Scroll bar on the combobox, so the user can scroll down if the box is full of items. In my code i do this

m_cComboBox.ModifyStyle(0, WS_VISIBLE | WS_CHILD | WS_BORDER | WS_VSCROLL | CBS_DROPDOWNLIST);

The problem ist with WS_VSCROLL.
After compiling (with filling the combobox in the source code) and starting i can not use the combobox by clicking on the 'drop-down-arrow' on the right side. The combobox does not drop down. Whenever i click on the text area of the combobox (area left to the drop-down-arrow) instead it works - then the combobox drops down and shows the items.
This problem i have noticed only since Windows 7.

Why does the drop-down-arrow of the combobox not work? Does anyone have a solution?
Thanks.

modified on Thursday, November 12, 2009 2:18 PM

QuestionRe: Problems with CComboBox and WS_VSCROLL on Windows 7 Pin
David Crow12-Nov-09 8:54
David Crow12-Nov-09 8:54 
QuestionRe: Problems with CComboBox and WS_VSCROLL on Windows 7 [modified] Pin
hollesser00112-Nov-09 10:15
hollesser00112-Nov-09 10:15 
AnswerRe: Problems with CComboBox and WS_VSCROLL on Windows 7 Pin
Maximilien12-Nov-09 8:57
Maximilien12-Nov-09 8:57 
QuestionRe: Problems with CComboBox and WS_VSCROLL on Windows 7 Pin
hollesser00112-Nov-09 10:23
hollesser00112-Nov-09 10:23 
AnswerRe: Problems with CComboBox and WS_VSCROLL on Windows 7 Pin
hollesser00113-Nov-09 7:06
hollesser00113-Nov-09 7:06 
QuestionCrowd detection, how to? [moved to Algorithms] Pin
Gamma_ace12-Nov-09 6:43
Gamma_ace12-Nov-09 6:43 
AnswerRe: Crowd detection, how to? Pin
CPallini12-Nov-09 10:37
mveCPallini12-Nov-09 10:37 
GeneralRe: Crowd detection, how to? Pin
Gamma_ace12-Nov-09 15:52
Gamma_ace12-Nov-09 15:52 
QuestionCreating an native (unmanaged) executable on the fly (at runtime) Pin
shatterstar645712-Nov-09 5:42
shatterstar645712-Nov-09 5:42 
AnswerRe: Creating an native (unmanaged) executable on the fly (at runtime) Pin
Ahmed Charfeddine12-Nov-09 5:51
Ahmed Charfeddine12-Nov-09 5:51 
GeneralRe: Creating an native (unmanaged) executable on the fly (at runtime) Pin
Ahmed Charfeddine12-Nov-09 6:06
Ahmed Charfeddine12-Nov-09 6:06 
QuestionPlease Help me out on this question? Pin
puvancooldude12-Nov-09 3:58
puvancooldude12-Nov-09 3:58 
AnswerRe: Please Help me out on this question? Pin
Cedric Moonen12-Nov-09 4:01
Cedric Moonen12-Nov-09 4:01 
AnswerRe: Please Help me out on this question? Pin
puvancooldude12-Nov-09 4:21
puvancooldude12-Nov-09 4:21 
GeneralRe: Please Help me out on this question? Pin
Michael Schubert12-Nov-09 4:59
Michael Schubert12-Nov-09 4:59 
AnswerRe: Please Help me out on this question? Pin
puvancooldude12-Nov-09 5:21
puvancooldude12-Nov-09 5:21 
GeneralRe: Please Help me out on this question? Pin
David Crow12-Nov-09 5:32
David Crow12-Nov-09 5:32 

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.