navi
May 21st, 1999, 12:11 PM
I want to implement intellisense in an editor that I am writing.
When I popup a listbox with the following:
CPromptPopup *pList = new CPromptPopup();// derived from CListBox
DWORD dwStyle = WS_BORDER|WS_CHILD|WS_VISIBLE|WS_VSCROLL;
pList->Create( dwStyle, rect, this, IDC_IPLIST );
The list box pops up, unfortunately, the listbox's rectangle
cannot go beyond the parent view's client area. How do I
pop-up such a listbox?
p.s. the listbox control does not allow creation with the WS_POPUP style.
thanks in anticipation.
Navi
When I popup a listbox with the following:
CPromptPopup *pList = new CPromptPopup();// derived from CListBox
DWORD dwStyle = WS_BORDER|WS_CHILD|WS_VISIBLE|WS_VSCROLL;
pList->Create( dwStyle, rect, this, IDC_IPLIST );
The list box pops up, unfortunately, the listbox's rectangle
cannot go beyond the parent view's client area. How do I
pop-up such a listbox?
p.s. the listbox control does not allow creation with the WS_POPUP style.
thanks in anticipation.
Navi