Click here to Skip to main content
15,890,882 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: it's so complex for me, i'm mad Pin
Richard MacCutchan5-Feb-10 21:46
mveRichard MacCutchan5-Feb-10 21:46 
Questionwin32 timer Pin
zaftblitz5-Feb-10 15:39
zaftblitz5-Feb-10 15:39 
AnswerRe: win32 timer Pin
Richard MacCutchan5-Feb-10 21:43
mveRichard MacCutchan5-Feb-10 21:43 
AnswerRe: win32 timer Pin
Gary R. Wheeler6-Feb-10 0:15
Gary R. Wheeler6-Feb-10 0:15 
GeneralRe: win32 timer Pin
zaftblitz6-Feb-10 6:17
zaftblitz6-Feb-10 6:17 
GeneralRe: win32 timer Pin
Hristo-Bojilov6-Feb-10 6:54
Hristo-Bojilov6-Feb-10 6:54 
GeneralRe: win32 timer Pin
zaftblitz6-Feb-10 16:59
zaftblitz6-Feb-10 16:59 
QuestionCombo box Dropdown length Pin
Donguy19765-Feb-10 14:17
Donguy19765-Feb-10 14:17 
Hello

I am working on C++ using Win32 API’s in Visual Studio 2008 environment, and am using almost all standard Windows controls
that’s available.

In the application there’s a Combo box that will show multiple items and have a horizontal and vertical scroll bar.

There is an option for user, by which the user can choose the number of items shown in combo box.

The combo box works fine when there more than 2 items to show, the scroll bars work fine.

But when there’s only one item to show in combo box, the vertical scroll bar is very small. That is, the drop down of the
combo box is not long enough to have a longer vertical scroll bar.

That looks like the standard behavior of Windows combo box. But the application that am working on is
used in a touch screen monitor.

So the problem with a small vertical scroll bar is that, user will not have enough space to touch and scroll.

The issue is more complicated is because, the 1st item in the combo box is always a empty string item. This is to make
sure that there’s no default selection in combo box.

So anyone has any idea how to have a longer drop down for a combo box with fewer items to display?

So that the vertical scroll bar is longer.

Is there a way of overriding Windows Combo box function?

Like doing a SubclassDlgItem() or some other function?

Thanks in advance.
AnswerRe: Combo box Dropdown length Pin
Richard MacCutchan6-Feb-10 0:01
mveRichard MacCutchan6-Feb-10 0:01 
GeneralRe: Combo box Dropdown length Pin
Donguy19766-Feb-10 3:44
Donguy19766-Feb-10 3:44 
GeneralRe: Combo box Dropdown length Pin
Richard MacCutchan6-Feb-10 5:31
mveRichard MacCutchan6-Feb-10 5:31 
QuestionAny common multi-threaded smart pointer implementations that exist? Pin
Cyrilix5-Feb-10 11:30
Cyrilix5-Feb-10 11:30 
QuestionMFC ODBC Consumer Wizard Problem Pin
cfilorux5-Feb-10 9:02
cfilorux5-Feb-10 9:02 
AnswerNo Answers ?! what did I do Wrong ? Pin
cfilorux17-Feb-10 11:58
cfilorux17-Feb-10 11:58 
QuestionHow to develop tab control dialog in MFC using MS SSTab Pin
Vaclav_5-Feb-10 8:44
Vaclav_5-Feb-10 8:44 
AnswerRe: How to develop tab control dialog in MFC using MS SSTab Pin
cfilorux11-Feb-10 2:38
cfilorux11-Feb-10 2:38 
QuestionA Basic iButton Interface By Marc Clifton Pin
elchino20105-Feb-10 6:57
elchino20105-Feb-10 6:57 
QuestionRe: A Basic iButton Interface By Marc Clifton Pin
Iain Clarke, Warrior Programmer5-Feb-10 7:01
Iain Clarke, Warrior Programmer5-Feb-10 7:01 
AnswerRe: A Basic iButton Interface By Marc Clifton [modified] Pin
elchino20105-Feb-10 8:34
elchino20105-Feb-10 8:34 
AnswerRe: A Basic iButton Interface By Marc Clifton Pin
Maximilien5-Feb-10 7:19
Maximilien5-Feb-10 7:19 
GeneralRe: A Basic iButton Interface By Marc Clifton Pin
elchino20105-Feb-10 10:29
elchino20105-Feb-10 10:29 
QuestionRe-direction on VS Visual Studio Pin
ForNow5-Feb-10 6:22
ForNow5-Feb-10 6:22 
AnswerRe: Re-direction on VS Visual Studio Pin
Stuart Dootson5-Feb-10 9:50
professionalStuart Dootson5-Feb-10 9:50 
GeneralRe: Re-direction on VS Visual Studio Pin
ForNow5-Feb-10 10:38
ForNow5-Feb-10 10:38 
GeneralOr you can just save the Output to a file Pin
cfilorux6-Feb-10 2:19
cfilorux6-Feb-10 2:19 

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.