newntui/discovermdi/src/dockablebrowser.cpp
//-----------------------------------------------------------------------------------------
// This function will run when the user select the "Select Sort..." item in the 
// pop-up menu. This function will show the Sort Selector dialog.
//-----------------------------------------------------------------------------------------
This function will run when the user select the "Select Sort..." item in the
pop-up menu. This function will show the Sort Selector dialog.
This function will run when the user select the " Select Sort ... " item in the pop - up menu . This function will show the Sort Selector dialog .
void CDockableBrowser::OnSelectSort(void) {
	CComplexSort sort(this);
	CQueryResults* Results  = (CQueryResults *) GetDlgItem(IDC_RESULTS);
	sort.SetApplyTaget(Results);
	sort.DoModal();
}
void CDockableBrowser :: OnSelectSort ( void ) { CComplexSort sort ( this ) ; CQueryResults * Results = ( CQueryResults * ) GetDlgItem ( IDC_RESULTS ) ; sort . SetApplyTaget ( Results ) ; sort . DoModal ( ) ; }
This function will run when the user select the "Select Sort..." item in the
pop-up menu.
This function will run when the user select the " Select Sort ... " item in the pop - up menu .