You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
I use MFC Visual C++ 4.2.
I use a CListCtrl to display data.
I have 2 columns which display "OK" text.
I need to place them Center aligned.
How to do that?
Thank you.
Victor
unread,
Jul 23, 2008, 4:06:03 AM7/23/08
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
Use LVCFMT_CENTER flag while inserting columns. It doesn't, however, work for the first (inserted with index 0) column which is always left-aligned. Possible workarounds: owner draw or inserting a dummy (hidden) column as the first one.
Victor
Mikel
unread,
Jul 23, 2008, 5:45:25 AM7/23/08
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
For the first column, you can also insert it twice, then DeleteColumn(0). I do it and it works fine
> > Thank you.- Ocultar texto de la cita - > > - Mostrar texto de la cita -
Victor
unread,
Jul 23, 2008, 6:00:07 AM7/23/08
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
Great! I never considered such a possibility! (although, I almost never needed to set a "non-standard" allignment for the first column)