parameters: (self)
docstring: Called as the GUI is about to perform any interaction with the user
docstring_summary: Called as the GUI is about to perform any interaction with the user
docstring_tokens: Called as the GUI is about to perform any interaction with the user
function: def GUIAboutToInteract(self):
  		"Called as the GUI is about to perform any interaction with the user"
  		frame = win32ui.GetMainFrame()
  		# Remember the enabled state of our main frame
  		# may be disabled primarily if a modal dialog is displayed.
  		# Only get at enabled via GetWindowLong.
  		self.bFrameEnabled = frame.IsWindowEnabled()
  		self.oldForeground = None
  		fw = win32ui.GetForegroundWindow()
  		if fw is not frame:
  			self.oldForeground = fw
  #			fw.EnableWindow(0) Leave enabled for now?
  			self.oldFrameEnableState = frame.IsWindowEnabled()
  			frame.EnableWindow(1)
  		if self.inForcedGUI and not frame.IsWindowVisible():
  			frame.ShowWindow(win32con.SW_SHOW)
  			frame.UpdateWindow()
  		if self.curframe:
  			SetInteractiveContext(self.curframe.f_globals, self.curframe.f_locals)
  		else:
  			SetInteractiveContext(None, None)
  		self.GUIRespondDebuggerData()
function_tokens: def GUIAboutToInteract ( self ) : frame = win32ui . GetMainFrame ( ) # Remember the enabled state of our main frame # may be disabled primarily if a modal dialog is displayed. # Only get at enabled via GetWindowLong. self . bFrameEnabled = frame . IsWindowEnabled ( ) self . oldForeground = None fw = win32ui . GetForegroundWindow ( ) if fw is not frame : self . oldForeground = fw #			fw.EnableWindow(0) Leave enabled for now? self . oldFrameEnableState = frame . IsWindowEnabled ( ) frame . EnableWindow ( 1 ) if self . inForcedGUI and not frame . IsWindowVisible ( ) : frame . ShowWindow ( win32con . SW_SHOW ) frame . UpdateWindow ( ) if self . curframe : SetInteractiveContext ( self . curframe . f_globals , self . curframe . f_locals ) else : SetInteractiveContext ( None , None ) self . GUIRespondDebuggerData ( )