Solved

Resizing DataCombo Controls Drop List Width (API)

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

Technology Partners: 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

Suggested Solutions

Title # Comments Views Activity
Notepad++ how to remove delimiter : from beggning of the line? 3 124
Spell Check in VB6 13 134
Problem to With line 4 73
how to loop through and process two columns in excel 8 46
When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
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…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

679 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