Exemple #1
0
Bool RFullPanelDial::ViewerOptionsInit()
{	LoadCol();
	LaunchDial(new CSViewer,0);
	CRListBox* prlistbox;
	prlistbox=GETDLGITEM(IDC_RLISTBOX);
	prlistbox->SetHilightCol(3);
	prlistbox->ReplaceString("",0,4);
	prlistbox->SetColumnWidth(4,col4   );
	prlistbox->SetColumnWidth(5,collast);
	prlistbox->SetHilightRow(0);
	return TRUE;
}
Exemple #2
0
Bool RFullPanelDial::TwoDOptionsInit()
{	LoadCol();
	LaunchDial(new TwoDPref,0);
	CRListBox* prlistbox;
	prlistbox=GETDLGITEM(IDC_RLISTBOX);
	prlistbox->SetHilightCol(4);
	prlistbox->SetHilightRow(0);
	prlistbox->ReplaceString("",0,5);
	prlistbox->SetColumnWidth(5,col5   );
	prlistbox->SetColumnWidth(6,collast);
	return TRUE;
}
Exemple #3
0
BOOL CSCampaign::OnInitDialog() 
{
	CDialog::OnInitDialog();
	
	CRListBox* rlistbox;
	CString string;

	rlistbox=GETDLGITEM(IDC_RLIST_CAMPAIGNS);
//DeadCode JIM 27Sep00 	rlistbox->Clear();
//DeadCode JIM 27Sep00 	rlistbox->AddColumn(100);
//DeadCode JIM 27Sep00 	rlistbox->AddColumn(100);
//DeadCode JIM 27Sep00 	rlistbox->AddColumn(100);
//DeadCode JIM 27Sep00 	rlistbox->AddColumn(100);
//DEADCODE RDH 26/10/99    	rlistbox->AddColumn(100);

	string.LoadString(IDS_L_SCAMPAIGNSELECT1);
	rlistbox->AddString(string,0);
	string.LoadString(IDS_SCAMPAIGNSELECT2);
	rlistbox->AddString(string,1);
	string.LoadString(IDS_SCAMPAIGNSELECT3);
	rlistbox->AddString(string,2);
	string.LoadString(IDS_SCAMPAIGNSELECT4);
	rlistbox->AddString(string,3);

//DEADCODE RDH 26/10/99    	string.LoadString(IDS_L_SCAMPAIGNDATE1);
//DEADCODE RDH 26/10/99 	rlistbox->AddString(string,1);
//DEADCODE RDH 26/10/99 	string.LoadString(IDS_SCAMPAIGNDATE2A);
//DEADCODE RDH 26/10/99 	rlistbox->AddString(string,1);
//DEADCODE RDH 26/10/99 	string.LoadString(IDS_SCAMPAIGNDATE3A);
//DEADCODE RDH 26/10/99 	rlistbox->AddString(string,1);
//DEADCODE RDH 26/10/99 	string.LoadString(IDS_SCAMPAIGNDATE4A);
//DEADCODE RDH 26/10/99 	rlistbox->AddString(string,1);

	rlistbox->SetHilightRow(0);
	rlistbox->SetHilightCol(0);
	RefreshDate(0);



	return TRUE;  // return TRUE unless you set the focus to a control
	              // EXCEPTION: OCX Property Pages should return FALSE
}