Align column's header of wxListCtrl

Max Velasques maxvelasques at gmail.com
Wed Feb 21 05:10:07 PST 2007


Hi,
   I'm using the wxWidgets 2.8.0 on WindowsXP, and I want to align the colu=
mn's
header on left.
To do this I'm using something like:

wxListItem itemCol;
itemCol.m_mask =3D
wxLIST_MASK_DATA|wxLIST_MASK_STATE|wxLIST_MASK_TEXT|wxLIST_MASK_IMAGE;
itemCol.SetAlign(wxLIST_FORMAT_LEFT);
this->InsertColumn(0, itemCol);

But this doesn't work, because I still have a space between the string
and the border(look the yellow mark on the picture attached).

Anybody knows, how do I fix this?

Thanks!!

Max

--
---------------------------------
Do you want portability?
Try wxWidgets (www.wxwidgets.org)

---------------------------------
Multithreaded download manager:
wxDownload Fast - http://dfast.sourceforge.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: wxlistctrl.png
Type: image/png
Size: 15115 bytes
Desc: not available
Url : http://lists.wxwidgets.org/pipermail/wx-users/attachments/20070221/51=
dcb1df/wxlistctrl.png


More information about the wx-users mailing list