clistctrl class
-
Am trying to use the clistctrl class using c++/MFC and Microsoft Visual studio 2017. I have designed a report style control with four columns. I am unable to display columns two through four. Am using InsertColumn method to establish the columns, the insertItem method to display the first column and the SetItem method to display columns two through four. I have followed the examples from all around the internet. Only the column headers & the first column are displayed. Is there anyone out there that has gotten this to work? If so could you reference the successful code.
-
Am trying to use the clistctrl class using c++/MFC and Microsoft Visual studio 2017. I have designed a report style control with four columns. I am unable to display columns two through four. Am using InsertColumn method to establish the columns, the insertItem method to display the first column and the SetItem method to display columns two through four. I have followed the examples from all around the internet. Only the column headers & the first column are displayed. Is there anyone out there that has gotten this to work? If so could you reference the successful code.
I use CListCtrl since two decades and never had any problem with the report style... Could you post your code?
-
Am trying to use the clistctrl class using c++/MFC and Microsoft Visual studio 2017. I have designed a report style control with four columns. I am unable to display columns two through four. Am using InsertColumn method to establish the columns, the insertItem method to display the first column and the SetItem method to display columns two through four. I have followed the examples from all around the internet. Only the column headers & the first column are displayed. Is there anyone out there that has gotten this to work? If so could you reference the successful code.
Are you calling SetItemText for each column?
-
Am trying to use the clistctrl class using c++/MFC and Microsoft Visual studio 2017. I have designed a report style control with four columns. I am unable to display columns two through four. Am using InsertColumn method to establish the columns, the insertItem method to display the first column and the SetItem method to display columns two through four. I have followed the examples from all around the internet. Only the column headers & the first column are displayed. Is there anyone out there that has gotten this to work? If so could you reference the successful code.
Do you need to adjust the column width? Without showing your relevant code, it's anybody's guess.
"One man's wage rise is another man's price increase." - Harold Wilson
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
"You can easily judge the character of a man by how he treats those who can do nothing for him." - James D. Miles