Click here to Skip to main content
15,925,661 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: how to create line graph in vc++? Pin
basementman15-Dec-10 3:51
basementman15-Dec-10 3:51 
AnswerRe: how to create line graph in vc++? Pin
SoftwareDeveloperGoa15-Dec-10 9:50
SoftwareDeveloperGoa15-Dec-10 9:50 
QuestionVisulizing Webcam throught browser Pin
Schehaider_Aymen13-Dec-10 8:51
Schehaider_Aymen13-Dec-10 8:51 
AnswerRe: Visulizing Webcam throught browser Pin
Cool_Dev14-Dec-10 1:41
Cool_Dev14-Dec-10 1:41 
GeneralRe: Visulizing Webcam throught browser Pin
Schehaider_Aymen16-Dec-10 10:37
Schehaider_Aymen16-Dec-10 10:37 
GeneralRe: Visulizing Webcam throught browser Pin
Cool_Dev16-Dec-10 17:21
Cool_Dev16-Dec-10 17:21 
GeneralRe: Visulizing Webcam throught browser Pin
Schehaider_Aymen20-Dec-10 11:20
Schehaider_Aymen20-Dec-10 11:20 
GeneralRe: Visulizing Webcam throught browser Pin
Cool_Dev20-Dec-10 17:12
Cool_Dev20-Dec-10 17:12 
QuestionCListCtrl & theCtrl = GetListCtrl Pin
cy163@hotmail.com13-Dec-10 4:07
cy163@hotmail.com13-Dec-10 4:07 
AnswerRe: CListCtrl & theCtrl = GetListCtrl Pin
David Crow13-Dec-10 4:36
David Crow13-Dec-10 4:36 
GeneralRe: CListCtrl & theCtrl = GetListCtrl Pin
cy163@hotmail.com14-Dec-10 14:36
cy163@hotmail.com14-Dec-10 14:36 
AnswerRe: CListCtrl & theCtrl = GetListCtrl Pin
David Crow14-Dec-10 16:47
David Crow14-Dec-10 16:47 
GeneralRe: CListCtrl & theCtrl = GetListCtrl Pin
cy163@hotmail.com15-Dec-10 1:59
cy163@hotmail.com15-Dec-10 1:59 
AnswerRe: CListCtrl & theCtrl = GetListCtrl Pin
David Crow15-Dec-10 4:50
David Crow15-Dec-10 4:50 
GeneralRe: CListCtrl & theCtrl = GetListCtrl Pin
cy163@hotmail.com15-Dec-10 19:50
cy163@hotmail.com15-Dec-10 19:50 
GeneralRe: CListCtrl & theCtrl = GetListCtrl Pin
David Crow16-Dec-10 2:20
David Crow16-Dec-10 2:20 
GeneralRe: CListCtrl & theCtrl = GetListCtrl Pin
cy163@hotmail.com17-Dec-10 0:15
cy163@hotmail.com17-Dec-10 0:15 
GeneralRe: CListCtrl & theCtrl = GetListCtrl Pin
David Crow17-Dec-10 5:01
David Crow17-Dec-10 5:01 
GeneralRe: CListCtrl & theCtrl = GetListCtrl Pin
cy163@hotmail.com18-Dec-10 2:05
cy163@hotmail.com18-Dec-10 2:05 
AnswerRe: CListCtrl & theCtrl = GetListCtrl Pin
David Crow19-Dec-10 14:09
David Crow19-Dec-10 14:09 
QuestionClass CxxxxView:CFormView Pin
cy163@hotmail.com13-Dec-10 4:00
cy163@hotmail.com13-Dec-10 4:00 
AnswerRe: Class CxxxxView:CFormView Pin
«_Superman_»13-Dec-10 7:20
professional«_Superman_»13-Dec-10 7:20 
GeneralRe: Class CxxxxView:CFormView Pin
cy163@hotmail.com13-Dec-10 15:42
cy163@hotmail.com13-Dec-10 15:42 
Thanks you superman for your reply.

Another question concerns the following code snippet. I wonder why


CListView::OnInitialUpdate();


can be called directly, without declaring an instance of the class CListView.
void CMyListView::OnInitialUpdate()
{
   CListView::OnInitialUpdate();

   // this code only works for a report-mode list view
   ASSERT(GetStyle() & LVS_REPORT);

   // Gain a reference to the list control itself
   CListCtrl& theCtrl = GetListCtrl();

   // Insert a column. This override is the most convenient.
   theCtrl.InsertColumn(0, _T("Player Name"), LVCFMT_LEFT);

   // The other InsertColumn() override requires an initialized
   // LVCOLUMN structure.
   LVCOLUMN col;
   col.mask = LVCF_FMT | LVCF_TEXT;
   col.pszText = _T("Jersey Number");
   col.fmt = LVCFMT_LEFT;
   theCtrl.InsertColumn(1, &col);

   // Set reasonable widths for our columns

GeneralRe: Class CxxxxView:CFormView Pin
«_Superman_»13-Dec-10 16:00
professional«_Superman_»13-Dec-10 16:00 
GeneralRe: Class CxxxxView:CFormView Pin
yu-jian14-Dec-10 17:56
yu-jian14-Dec-10 17:56 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.