1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39
   | BOOL CJobSplittingDlg::OnInitDialog() 
{
	CDialog::OnInitDialog();
 
	m_pBoldFont2 = new CFont;
	m_pBoldFont2->CreateFont(14,0,0,0,FW_BOLD,0,0,0,0,0,0,ANTIALIASED_QUALITY,0,"Arial");
	m_frameSplitting.SetFont(m_pBoldFont2);
	m_frameSplitting.SetColor(RGB(95,95,95));
	m_frameSplitting.SetGradientColor(RGB(95,95,95));
 
	m_setInformation.SetFont(m_pBoldFont2);
	m_setInformation.SetColor(RGB(95,95,95));
	m_setInformation.SetGradientColor(RGB(95,95,95));
 
	m_startFrameText.SetFont(m_pBoldFont2);
	m_endFrameText.SetFont(m_pBoldFont2);
 
 
	FILE *rsetFile;
	CJobQueueDlg *pDlg = ( CJobQueueDlg *) GetParent();
	CString lPath = pDlg->m_selectedRsetFilePathName;
	rsetFile = fopen(lPath,"r");
 
	m_startFrame.SetWindowText(CRendersetParser::getStartFrame(rsetFile));
	m_endFrame.SetWindowText(CRendersetParser::getEndFrame(rsetFile));
 
 
	UpdateData(FALSE);
	m_splitMode.SetCurSel(0);
 
	// on initialise le spinCtrl
	m_countSpin.SetRange(0,100);
	m_countSpin.SetPos( 0 );
	m_countEdit.SetWindowText( "0" );
 
 
	return TRUE;  // return TRUE unless you set the focus to a control
	              // EXCEPTION: OCX Property Pages should return FALSE
} | 
Partager