How do you CENTER & BOLD the labels of the columns (i.e headings) using ListView. I did not understand the below found in MSDN..
/*
If a column is added to a list-view control with index 0 (the leftmost column) and with
LVCFMT_RIGHT or LVCFMT_CENTER specified, the text is not right-aligned or centered. The text in the index 0 column is left-aligned. Therefore if you keep inserting columns with index 0, the text in all columns are left-aligned. If you want the first column to be
right-aligned or centered you can make a dummy column, then insert one or more columns with index 1 or higher and specify the alignment you require. Finally delete the dummy column.
*/
Also I want the last column to occupy the remaining width of the window even if resizing of the Main Window takes place.
|
Go4Expert Founder
|
![]() |
| 22May2005,18:28 | #2 |
|
Quote:
Quote:
Thanks Shabbir Bhimani |
|
Go4Expert Founder
|
![]() |
| 22May2005,18:31 | #3 |
|
You have posted in the wrong forums. It should be in MFC/Win32 under Queries and expert comments and not under Codes and projects Section
|
|
Go4Expert Member
|
|
| 22May2005,19:17 | #4 |
|
Ok i am sorry
|
|
Go4Expert Founder
|
![]() |
| 23May2005,07:01 | #5 |
|
Quote:
Originally Posted by hemanth.balaji |

