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.
Initialization
◄CWnd►                                        ◄Up► ◄Contents► ◄Index► ◄Back►
──Microsoft Foundation Classes──────────────────────────────────────────────
 
  ◄Create►          Creates and initializes the child window associated
                    with the CWnd object.
 
  ◄GetStyle►        Returns the current window style.
 
  ◄Attach►          Attaches a Windows handle to a CWnd object.
 
  ◄Detach►          Detaches a Windows handle from a CWnd object and
                    returns the handle.
 
  ◄FromHandle►      Returns a pointer to a CWnd object when given a handle
                    to a window. If a CWnd object is not attached to the
                    handle, a temporary CWnd object is created and
                    attached.
 
  ◄DeleteTempMap►   Called automatically by the CWinApp idle-time handler
                    and deletes any temporary CWnd objects created by
                    FromHandle.
 
  ◄GetSafeHwnd►     Returns m_hWnd, or NULL if the this pointer is NULL.
 
 
                                     -♦-