Пример #1
0
void CSheetExchMain::ShowExch()
{
	CenterWindow();
	DelCaclPage();
	if( CExchCalcMain::s_uTheradState != TCaclTherad_State_Start )
	{
		SetFirstPage();
		m_wndPageTab.SetActive((int)0);
	}
	ShowWindow(SW_SHOW);
}
Пример #2
0
BOOL CNewWizDialog::OnInitDialog() 
{
	CDialog::OnInitDialog();
  ModifyStyleEx (0, WS_EX_CONTROLPARENT);	

	ASSERT(m_nPlaceholderID != 0); // Be sure to call SetPlaceholderID from
																// your dialogs OnInitDialog

	// make the first page of the wizard active
	SetFirstPage();

	return TRUE;  // return TRUE unless you set the focus to a control
	              // EXCEPTION: OCX Property Pages should return FALSE
}
Пример #3
0
/*************************************************************************
 * SEQ-EDIT-TOOL-WINDOW
 *************************************************************************/
SeqEditMultiFilterWindow::SeqEditMultiFilterWindow(	BRect frame,
													const BMessage* config,
													const BMessage* multiMsg)
		: inherited(frame, "Edit Multi Filter"),
		  mMultiFilterAddOn(NULL), mMultiFilter(NULL),
		  mNameCtrl(NULL), mKeyCtrl(NULL),
		  mLongDescriptionCtrl(NULL),
		  mPipelineView(NULL), mIconCtrl(NULL), mIconEditor(NULL)
{
	BRect		targetF(CurrentPageFrame() );
	BView*		view = NULL;
	if ((view = NewGeneralView(targetF))) AddPage(view);
	if ((view = NewPipelineView(targetF))) AddPage(view);
	if ((view = NewDescriptionView(targetF))) AddPage(view);
	if ((view = NewIconView(targetF))) AddPage(view);

	if (config) SetConfiguration(config);
	else SetFirstPage();
	if (multiMsg) SetMultiFilter(multiMsg);
}