Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Resizing DataCombo Controls Drop List Width (API)

Posted on 2002-05-06
4
Medium Priority
?
343 Views
Last Modified: 2011-09-20
Hi experts,

I and using data aware versions of a combo box the Data Combo. I want to be able to resize the Data Combo's Drop Down width. I have done this on a regulare Combox Box this with the SendMessage API call and CB_SETDROPPEDWIDTH. I would like the same for the Data Combo, and tried it with the CB_SETDROPPEDWIDTH constant with no success.

Can anyone help me with thi.
Thanks, JP
0
Comment
Question by:jponce
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 
LVL 3

Expert Comment

by:n_narayanan
ID: 6992848
0
 

Author Comment

by:jponce
ID: 6993009
Thanks this is interesting. I believe that it is meant for resizing controls on a form resize event. I only want to resize the data combo's drop down list in order to be able to display the longest list entry without having to make the data combo initial size as wide.

Here is an example of what I had in mind, http://www.mvps.org/vbnet/index.html?code/comboapi/combowidthadv.htm 

-John
0
 
LVL 49

Expert Comment

by:DanRollins
ID: 7722297
Hi jponce,
It appears that you have forgotten this question. I will ask Community Support to close it unless you finalize it within 7 days. I will ask a Community Support Moderator to:

    Refund points and save as a 0-pt PAQ.

jponce, Please DO NOT accept this comment as an answer.
EXPERTS: Post a comment if you are certain that an expert deserves credit.  Explain why.
==========
DanRollins -- EE database cleanup volunteer
0
 

Accepted Solution

by:
SpideyMod earned 0 total points
ID: 7779883
per recommendation

SpideyMod
Community Support Moderator @Experts Exchange
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Suggested Courses

721 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question