Solved

Resizing DataCombo Controls Drop List Width (API)

Posted on 2002-05-06
4
325 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
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Introduction I needed to skip over some file processing within a For...Next loop in some old production code and wished that VB (classic) had a statement that would drop down to the end of the current iteration, bypassing the statements that were c…
Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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…

910 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

23 Experts available now in Live!

Get 1:1 Help Now