Using SendMessageLong to make a combo box drop down list longer...


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 5 of 5

Thread: Using SendMessageLong to make a combo box drop down list longer...

Hybrid View

  1. #1
    Rick Rackley Guest

    Using SendMessageLong to make a combo box drop down list longer...


    The Win32API.txt file list 2 constants that you can pass to the SendMessageLong
    declaration to extend the width of a combo box when you click the drop down
    arrow.[CB_GETLBTEXTLEN will allow you to get the length of the ListItems]
    and [CB_SETDROPPEDWIDTH will allow you to set the width of the combo box
    when the drop down arrow is clicked. Can anyone give me the constants that
    you pass into 1) check the combo box drop down length, 2) Set the combo box
    drop down length.............thx

    Rick Rackley

  2. #2
    Jim Edgar Guest

    Re: Using SendMessageLong to make a combo box drop down list longer...

    Rick --

    Karl Peterson has a sample called FullDrop.zip on his web site
    http://www.mvps.org/vb/ that may be of help to you.

    Hope it helps,

    Jim Edgar

    "Rick Rackley" <richardjr.rackley@excite.com> wrote in message
    news:39949a1d$1@news.devx.com...
    >
    > The Win32API.txt file list 2 constants that you can pass to the

    SendMessageLong
    > declaration to extend the width of a combo box when you click the drop

    down
    > arrow.[CB_GETLBTEXTLEN will allow you to get the length of the ListItems]
    > and [CB_SETDROPPEDWIDTH will allow you to set the width of the combo box
    > when the drop down arrow is clicked. Can anyone give me the constants that
    > you pass into 1) check the combo box drop down length, 2) Set the combo

    box
    > drop down length.............thx
    >
    > Rick Rackley




  3. #3
    Toan Guest

    Re: Using SendMessageLong to make a combo box drop down list longer...


    Is there a way we can apply this in HTML/ASP page? Thanks

    "Rick Rackley" <richardjr.rackley@excite.com> wrote:
    >
    >The Win32API.txt file list 2 constants that you can pass to the SendMessageLong
    >declaration to extend the width of a combo box when you click the drop down
    >arrow.[CB_GETLBTEXTLEN will allow you to get the length of the ListItems]
    >and [CB_SETDROPPEDWIDTH will allow you to set the width of the combo box
    >when the drop down arrow is clicked. Can anyone give me the constants that
    >you pass into 1) check the combo box drop down length, 2) Set the combo

    box
    >drop down length.............thx
    >
    >Rick Rackley



  4. #4
    Jim Edgar Guest

    Re: Using SendMessageLong to make a combo box drop down list longer...

    Rick --

    Karl Peterson has a sample called FullDrop.zip on his web site
    http://www.mvps.org/vb/ that may be of help to you.

    Hope it helps,

    Jim Edgar

    "Rick Rackley" <richardjr.rackley@excite.com> wrote in message
    news:39949a1d$1@news.devx.com...
    >
    > The Win32API.txt file list 2 constants that you can pass to the

    SendMessageLong
    > declaration to extend the width of a combo box when you click the drop

    down
    > arrow.[CB_GETLBTEXTLEN will allow you to get the length of the ListItems]
    > and [CB_SETDROPPEDWIDTH will allow you to set the width of the combo box
    > when the drop down arrow is clicked. Can anyone give me the constants that
    > you pass into 1) check the combo box drop down length, 2) Set the combo

    box
    > drop down length.............thx
    >
    > Rick Rackley




  5. #5
    Toan Guest

    Re: Using SendMessageLong to make a combo box drop down list longer...


    Is there a way we can apply this in HTML/ASP page? Thanks

    "Rick Rackley" <richardjr.rackley@excite.com> wrote:
    >
    >The Win32API.txt file list 2 constants that you can pass to the SendMessageLong
    >declaration to extend the width of a combo box when you click the drop down
    >arrow.[CB_GETLBTEXTLEN will allow you to get the length of the ListItems]
    >and [CB_SETDROPPEDWIDTH will allow you to set the width of the combo box
    >when the drop down arrow is clicked. Can anyone give me the constants that
    >you pass into 1) check the combo box drop down length, 2) Set the combo

    box
    >drop down length.............thx
    >
    >Rick Rackley



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center