Thread: AUTOHSCROLL doesn't work on WC. (Help!)

  1. #1
    Registered User Queatrix's Avatar
    Join Date
    Apr 2005
    Posts
    1,342

    Exclamation AUTOHSCROLL doesn't work on WC. (Help!)

    The flags ES_AUTOHSCROLL doesn't make my ComboBox be able to scroll to the right. And the cmpiler says that there is no such thing as WC_AUTOHSCROLL or WC_HSCROLL.

    What do I do?

    Thanks, August.

  2. #2
    Registered /usr
    Join Date
    Aug 2001
    Location
    Newport, South Wales, UK
    Posts
    1,273
    ES = Edit Control Style. A Combo Box is not an Edit.
    WC = Window Class
    WS = Window Style

    Window Styles

  3. #3
    Registered User Queatrix's Avatar
    Join Date
    Apr 2005
    Posts
    1,342
    I already tried using the following:

    WS_AUTOHSCROLL
    WS_HSCROLL
    ES_AUTOHSCROLL
    ES_HSCROLL
    WC_AUTOHSCROLL
    WC_HSCROLL

    What is the flag for a ComboBox? CB?

  4. #4
    Registered /usr
    Join Date
    Aug 2001
    Location
    Newport, South Wales, UK
    Posts
    1,273
    Combo Box Styles

    Try the first one.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. getline() don't want to work anymore...
    By mikahell in forum C++ Programming
    Replies: 7
    Last Post: 07-31-2006, 10:50 AM
  2. Why don't the tutorials on this site work on my computer?
    By jsrig88 in forum C++ Programming
    Replies: 3
    Last Post: 05-15-2006, 10:39 PM
  3. Problems in getting OpenGL to work
    By zonf in forum C Programming
    Replies: 5
    Last Post: 02-13-2006, 04:48 AM
  4. fopen();
    By GanglyLamb in forum C Programming
    Replies: 8
    Last Post: 11-03-2002, 12:39 PM
  5. DLL __cdecl doesnt seem to work?
    By Xei in forum C++ Programming
    Replies: 6
    Last Post: 08-21-2002, 04:36 PM