model_server/gala/src/viewer.cxx
/*Will eventually be used to bring a viewer to the top*/
Will eventually be used to bring a viewer to the top
Will eventually be used to bring a viewer to the top
void Viewer::bring_to_top()
{
  gInit (Viewer::bring_to_top);
  dialog->Uniconify();
  dialog->Raise();
#ifdef _WIN32
  if( dialog ){
    void *msW = vwindowGetMSWWindow( dialog );
    if( msW && IsWindow(msW) ){
      SetForegroundWindow( msW );
      if( IsIconic(msW) )
        PostMessageA( msW, WM_SYSCOMMAND, SC_RESTORE, 0L );
    }
  }
#endif
}
void Viewer :: bring_to_top ( ) { gInit ( Viewer :: bring_to_top ) ; dialog -> Uniconify ( ) ; dialog -> Raise ( ) ; #ifdef _WIN32 if ( dialog ) { void * msW = vwindowGetMSWWindow ( dialog ) ; if ( msW && IsWindow ( msW ) ) { SetForegroundWindow ( msW ) ; if ( IsIconic ( msW ) ) PostMessageA ( msW , WM_SYSCOMMAND , SC_RESTORE , 0L ) ; } } #endif }
Will eventually be used to bring a viewer to the top
Will eventually be used to bring a viewer to the top
//void *msW = _vsysMSWTaskWindow;