Professional UI Solutions
Site Map   /  Register
 
 

Forum

Please Log In to post a new message or reply to an existing one. If you are not registered, please register.

NOTE: Some forums may be read-only if you are not currently subscribed to our technical support services.

Forums » Prof-UIS Tech Support » Missing CExtComboBox Collapse All
Subject Author Date
Torsten Schucht Oct 29, 2009 - 9:25 AM

 


CExtComboBox* pCombo = new CExtComboBox();

    pCombo->m_bEnableAutoComplete = false;

    pCombo->m_bEnableAutoFilter = true;



   

    CRect Rect (110, 50, 300, 200);



    DWORD uStyle = WS_CHILD | WS_VISIBLE | WS_TABSTOP;

    uStyle |= CBS_DROPDOWN | CBS_SORT; //CBS_AUTOHSCROLL;

   

    pCombo->Create( uStyle, Rect, this, 12);

    pCombo->ModifyStyleEx(0, WS_EX_NOPARENTNOTIFY);



    pCombo->SetFont( CFont::FromHandle( (HFONT)::GetStockObject(DEFAULT_GUI_FONT) ) );

Torsten Schucht Oct 29, 2009 - 9:26 AM

Forget this entry !! I have accidentally posted this..sorry.