MFC create modeless popup window in modal dialog -


i managed create , show modeless window in property page's message handler:

m_plistctrl = new clistctrl(); m_pparent->screentoclient(rtlist); m_plistctrl->createex(ws_ex_topmost, ws_child|ws_visible|lvs_list, rtlist, m_pparent, idc_list_info); m_plistctrl->showwindow(sw_shownormal); 

but list ctrl cannot work me, doesn't keep focused or active(it cannot capture , handle client area itself, e.g. editbox behind can paint upon it) hope able behave dropdown list combobox. didn't use combobox because cannot use cue banner of combobox project didn't define unicode. title, wondering if it's possible make custom popup window(it can mfc control or common dialog) work in modal dialog. pretty sure possible in modeless window.

i put control in dialog , domodal dialog, works me.


Comments

Popular posts from this blog

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -

javascript - firefox memory leak -

Trying to import CSV file to a SQL Server database using asp.net and c# - can't find what I'm missing -