Solved

Resizing DataCombo Controls Drop List Width (API)

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

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

Question has a verified solution.

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

Suggested Solutions

Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
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 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…

770 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