CListBox resize
- From: Kuenga <sagkumar@xxxxxxxxx>
- Date: Thu, 2 Apr 2009 01:18:49 -0700 (PDT)
Hi,
I have created a ListBox dynamically with following flags
BOOL CTestListBox::PreCreateWindow (CREATESTRUCT& cs)
{
if (!CListBox::PreCreateWindow (cs))
return FALSE;
cs.dwExStyle |= WS_EX_CLIENTEDGE;
cs.dwExStyle |= WS_EX_DLGMODALFRAME | WS_EX_TRANSPARENT;
return TRUE;
}
m_TestListBox.Create(CBS_DROPDOWNLIST | WS_VSCROLL | WS_HSCROLL |
WS_CHILD | WS_VISIBLE | LBS_STANDARD /*| LBS_HASSTRINGS*/ , rect,
this,ID_TEST_LIST_BOX);
This gets popped up, when user press key on a view.
I want the list box to enlarge itself when user had pressed the mouse
bottom and dragged its edeges similar to the list box that gets
displayed when control spacebar is pressed in VS.
What flags do I need to set ? I think it is built in MFC and
developers donot need to code for it.
Thanks
.
- Follow-Ups:
- Re: CListBox resize
- From: Joseph M . Newcomer
- Re: CListBox resize
- From: AliR \(VC++ MVP\)
- Re: CListBox resize
- Prev by Date: Re: Want to run an application without installing it.
- Next by Date: Re: Author of Visual C++ 2005 STL ???
- Previous by thread: Re: Want to run an application without installing it.
- Next by thread: Re: CListBox resize
- Index(es):
Relevant Pages
|