Solved

Resizing DataCombo Controls Drop List Width (API)

Posted on 2002-05-06
4
324 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
4 Comments
 
LVL 3

Expert Comment

by:n_narayanan
Comment Utility
0
 

Author Comment

by:jponce
Comment Utility
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
Comment Utility
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
Comment Utility
per recommendation

SpideyMod
Community Support Moderator @Experts Exchange
0

Featured Post

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
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…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

744 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now