I posted the question over a week ago, but no responses. Here I go again.
···
--
I'm trying to get the below code to work. I need to use wxLC_USER_TEXT, but
the event doesn't seem to work. The items show up in the list, but no text.
Thanks.
I'm trying to get the below code to work. I need to use wxLC_USER_TEXT,
but
the event doesn't seem to work. The items show up in the list, but no
text.
Thanks.
The code to generate the event is ifdef'ed out:
case LVN_GETDISPINFO:
// this provokes stack overflow: indeed,
wxConvertFromMSWListItem()
// sends us WM_NOTIFY! As it doesn't do anything for now,
just leave
// it out. #if 0
{
// TODO: some text buffering here, I think
// TODO: API for getting Windows to retrieve values
// on demand.
eventType = wxEVT_COMMAND_LIST_GET_INFO;
LV_DISPINFO *info = (LV_DISPINFO *)lParam;
wxConvertFromMSWListItem(this, event.m_item, info->item,
GetHwnd());
break;
} #endif // 0
return FALSE;
You can probably get more info and a prognosis from wx-users or wx-devel.
···
--
Robin Dunn
Software Craftsman
robin@AllDunn.com Java give you jitters? http://wxPython.org Relax with wxPython!