473,396 Members | 1,784 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

help with simple combobox problem in Visual C++

dt
hello, I'm still new to win32 programming and I have a small problem. I am
making a simple application. The main GUI is a dialog box with check boxes,
radio buttons, combo boxes etc.

The problem I'm having is that I have two combo boxes (both dropdown). One
of them works fine; when you click the arrow on the right side of the box,
the list drops down. With the other combo box, when you click the arrow, it
looks like something tries to drop down but you can't see anything. You can
still select the values if you click on the whitespace and use the arrow keys
on the keyboard to scroll through the list, but the list won't drop down. I
don't understand what's wrong since the two combo boxes have the same
properties, and I have done everything the same for them in my .cpp file and
the resource script file (except that they have different IDC's define of
course). Can anyone please help me out?? if more information is required
please let me know... Thanks!
Nov 17 '05 #1
2 4423
>The problem I'm having is that I have two combo boxes (both dropdown). One
of them works fine; when you click the arrow on the right side of the box,
the list drops down. With the other combo box, when you click the arrow, it
looks like something tries to drop down but you can't see anything.


Have you sized the combo box control?

In the IDE's dialog editor click on the drop list button and resize
the control.

Dave
--
MVP VC++ FAQ: http://www.mvps.org/vcfaq
Nov 17 '05 #2
dt
Thanks! that solved it

"David Lowndes" wrote:
The problem I'm having is that I have two combo boxes (both dropdown). One
of them works fine; when you click the arrow on the right side of the box,
the list drops down. With the other combo box, when you click the arrow, it
looks like something tries to drop down but you can't see anything.


Have you sized the combo box control?

In the IDE's dialog editor click on the drop list button and resize
the control.

Dave
--
MVP VC++ FAQ: http://www.mvps.org/vcfaq

Nov 17 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

20
by: Jack Schitt | last post by:
I thought I was starting to get a handle on Access, until I tried doing something useful...now I'm stuck. I have a DB with two tables - to keep it simple I'll say that one is an Employee File...
11
by: my-wings | last post by:
I think I've painted myself into a corner, and I'm hoping someone can help me out. I have a table of books (tblBooks), which includes a field (strPubName) for Publisher Name and another field...
23
by: Jason | last post by:
Hi, I was wondering if any could point me to an example or give me ideas on how to dynamically create a form based on a database table? So, I would have a table designed to tell my application...
4
by: David K. | last post by:
I know it is an ongoing issue, yet, I still look for a solution. I saw a solution using a DataGridComboBoxColumn class. I use C# with Visual Studio .NET 2003, and that class is not recognized. Any...
2
by: jaYPee | last post by:
i have successfully added a combobox control in datagrid. this is the code i have created but don't show up the record from another table. Private Sub AddCustomDataTableStyle() Dim ts1 As...
4
by: jon f kaminsky | last post by:
Hi- I've seen this problem discussed a jillion times but I cannot seem to implement any advice that makes it work. I am porting a large project from VB6 to .NET. The issue is using the combo box...
5
by: Keith G | last post by:
I am using Visual Studio 2003. In the standard combobox control it would appear that only 1 column of data can be displayed in the list (as stipulated in the DisplayMember property). In VBA it was...
6
by: Roberto | last post by:
Hi, using vb 2005 I'd like to have a combobox in READONLY mode, like I have for textbox. Combobox only has enabled property. When I turn this property false I can not select the text in the...
0
by: BigAl.NZ | last post by:
Hi Guys, I am trying to write/copy some code that uses events with a GPS. Everytime the GPS position updates the event fires. The GPS code is from a SDK Library that I got called GPS Tools...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.