newntui/discovermdi/src/qachildframe.cpp
//---------------------------------------------------------------------------------------
// This callback will run when the user wants to browse all symbols from the current
// QA query results.
//---------------------------------------------------------------------------------------
This callback will run when the user wants to browse all symbols from the current
QA query results.
This callback will run when the user wants to browse all symbols from the current QA query results .
void CQAChildFrame::OnQaBrowse()  {
CQAParams* p=(CQAParams*)m_wndSplitter.GetPane(0,1);
    p->GetCurrentSet(CString("qa_results"));
	CMainFrame* mainFrame;
	mainFrame=(CMainFrame *)AfxGetMainWnd();
	if(mainFrame!=NULL) {
		mainFrame->m_wndBrowser.BrowseGivenSet(CString("qa_results"));
	}
    p->FreeCurrentSet(CString("qa_results"));
}
void CQAChildFrame :: OnQaBrowse ( ) { CQAParams * p = ( CQAParams * ) m_wndSplitter . GetPane ( 0 , 1 ) ; p -> GetCurrentSet ( CString ( " " ) ) ; CMainFrame * mainFrame ; mainFrame = ( CMainFrame * ) AfxGetMainWnd ( ) ; if ( mainFrame != NULL ) { mainFrame -> m_wndBrowser . BrowseGivenSet ( CString ( " " ) ) ; } p -> FreeCurrentSet ( CString ( " " ) ) ; }
This callback will run when the user wants to browse all symbols from the current
QA query results.
This callback will run when the user wants to browse all symbols from the current QA query results .