newntui/discovermdi/src/dockablebrowser.cpp
//-----------------------------------------------------------------------------------------
// This callback runs every time the user insert elements into the group
//-----------------------------------------------------------------------------------------
This callback runs every time the user insert elements into the group
This callback runs every time the user insert elements into the group
void  CDockableBrowser::OnGroupInsSel(void) {
   CQueryResults* Results  = (CQueryResults *) GetDlgItem(IDC_RESULTS);
   Results->SetQuery("");
   Results->Update();
   SaveHistory();
   ExecuteCommand(CString("set DiscoverGroups $DiscoverAll"));
   CString sizeStr = ExecuteCommand(CString("size $DiscoverSelection"));
   CMainFrame* main=(CMainFrame*) AfxGetMainWnd();
   main->m_SelectionSize=atoi(sizeStr);
   DisplayInfoString();
}
void CDockableBrowser :: OnGroupInsSel ( void ) { CQueryResults * Results = ( CQueryResults * ) GetDlgItem ( IDC_RESULTS ) ; Results -> SetQuery ( " " ) ; Results -> Update ( ) ; SaveHistory ( ) ; ExecuteCommand ( CString ( " " ) ) ; CString sizeStr = ExecuteCommand ( CString ( " " ) ) ; CMainFrame * main = ( CMainFrame * ) AfxGetMainWnd ( ) ; main -> m_SelectionSize = atoi ( sizeStr ) ; DisplayInfoString ( ) ; }
This callback runs every time the user insert elements into the group
This callback runs every time the user insert elements into the group