newntui/commonresources/src/filterwizard.cpp
//----------------------------------------------------------------------------------------
// Callabck will run when user press OK button
// If this page is active, we will use it's command to filter list.
// If this page is not active, we will use current command stored in the parent to
// filter our list.
//----------------------------------------------------------------------------------------
Callabck will run when user press OK button
If this page is active, we will use it's command to filter list.
If this page is not active, we will use current command stored in the parent to
filter our list.
Callabck will run when user press OK button If this page is active we will use it ' s command to filter list . If this page is not active we will use current command stored in the parent to filter our list .
void CFilterWizard::OnOK()  {
FilterSheet* parent;
    parent=(FilterSheet *)GetParent();
	if(parent->GetActiveIndex()==1) UpdateParentName();
	CPropertyPage::OnOK();
}
void CFilterWizard :: OnOK ( ) { FilterSheet * parent ; parent = ( FilterSheet * ) GetParent ( ) ; if ( parent -> GetActiveIndex ( ) == 1 ) UpdateParentName ( ) ; CPropertyPage :: OnOK ( ) ; }
Callabck will run when user press OK button
If this page is active, we will use it's command to filter list.
Callabck will run when user press OK button If this page is active we will use it ' s command to filter list .