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 » CListBoxMenuLike - create in splitter in dialog fails Collapse All
Subject Author Date
Alastair Watts Apr 6, 2011 - 9:06 AM


I’m trying to create a CListBoxMenuLike (from your sample) in a splitter in a dialog but it fails.  Other controls create OK so what am i doing wrong?


 



m_wndListBox.Create(WS_VISIBLE | WS_VSCROLL | WS_TABSTOP | LBS_OWNERDRAWVARIABLE | LBS_HASSTRINGS | LBS_NOINTEGRALHEIGHT,CRect(0, 0, 0), &m_wndSplitter.IdFromRowCol(0, 1));

Technical Support Apr 9, 2011 - 7:35 AM

Then we need more details or a test project.

Alastair Watts Apr 6, 2011 - 12:11 PM

Thats just a typo :)


Am I specifying WS_CHILD

Technical Support Apr 6, 2011 - 12:00 PM

Please do not forget to specify the WS_CHILD window style.