Microsoft Foundation Classes (mfc.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
Window State Functions
◄CWnd►                                        ◄Up► ◄Contents► ◄Index► ◄Back►
──Microsoft Foundation Classes──────────────────────────────────────────────
 
  ◄IsWindowEnabled►     Determines if the window is enabled for mouse and
                        keyboard input.
 
  ◄EnableWindow►        Enables or disables mouse and keyboard input.
 
  ◄GetActiveWindow►     Retrieves the active window.
 
  ◄SetActiveWindow►     Activates the window.
 
  ◄GetCapture►          Retrieves the CWnd that has the mouse capture.
 
  ◄SetCapture►          Causes all subsequent mouse input to be sent to
                        the CWnd.
 
  ◄GetFocus►            Retrieves the CWnd that currently has the input
                        focus.
 
  ◄SetFocus►            Assigns the input focus.
 
  ◄SetSysModalWindow►   Makes CWnd a system-modal window.
 
  ◄GetSysModalWindow►   Retrieves the system-modal CWnd if there is one.
 
  ◄GetDesktopWindow►    Retrieves the Windows desktop window.
 
 
                                     -♦-