Originally posted by: Marty
CColorDialog ClrDlg;
ClrDlg.doModal();
this source code don't works if it's called from a property page.... ????
How can I do it ????
Originally posted by: Mike Philis
Do you need a powerfull PropertiesList control? Check this out:
Mike
Do you need an advanced list control? Check this out:
http://www.exontrol.com/sg.jsp?content=products/exlist
http://www.exontrol.com/sg.jsp?content=products/expropertieslist
www.exontrol.com
Originally posted by: Ardiani
Do you know how can I get the changed data from the property list. I've tried with GetText() but it didn't work.
Reply
Originally posted by: raser
modify following code in CPropertyList:
WS_VSCROLL is added.
When items are many, the combobox drawdown list won't
list all items, nor vscroll bar appear.
m_cmbBox.Create(CBS_DROPDOWNLIST | CBS_NOINTEGRALHEIGHT | WS_VISIBLE | WS_CHILD | WS_BORDER | WS_VSCROLL, rect,this,IDC_PROPCMBBOX);
Originally posted by: raser
I tried use PropertyList in my SDI window,
but it always draw nothing in list box.
after i set the breakpoint in DrawItem(),
i found it never be trigged!
it works in dialog project, but seems has problem
in SDI.
Originally posted by: Yong Hoon Lee
while ((i2=cmbItems.Find('|',i)) != -1)
// Add this code //////////////////////////////
m_cmbBox.ShowWindow(SW_SHOW);
.....................................
Add code into CPropertyList::OnSelchange()
{
.....................................
{
m_cmbBox.AddString(cmbItems.Mid(i,i2-i));
i=i2+1;
}
if(i != 0)
m_cmbBox.AddString(cmbItems.Mid(i));
///////////////////////////////////////////////
m_cmbBox.SetFocus();
}