New Win 3.1 API Functions Wrapped by MFC

Last reviewed: July 17, 1997
Article ID: Q86461
7.00 | 1.00 1.50 MS-DOS | WINDOWS kbprg

The information in this article applies to:

  • The Microsoft Foundation Classes (MFC) included with:

        - Microsoft C/C++ version 7.0
        - Microsoft Visual C++ for Windows, versions 1.0 and 1.5
    

SUMMARY

The following table shows the Microsoft Windows version 3.1 API functions that are wrapped by the Microsoft Foundation Classes (MFC) and their equivalent member functions:

Windows 3.1 API                 MFC Wrapper
---------------                 -----------

AbortDoc                        CDC::AbortDoc
EnableScrollBar                 CWnd::EnableScrollBar
EndDoc                          CDC::EndDoc
EndPage                         CDC::EndPage
GetBoundsRect                   CDC::GetBoundsRect
GetCharABCWidths                CDC::GetCharABCWidths
GetDCEx                         CWnd::GetDCEx
GetFontData                     CDC::GetFontData
GetGlyphOutline                 CDC::GetGlyphOutline
GetKerningPairs                 CDC::GetKerningPairs
GetOpenClipboardWindow          CWnd::GetOpenClipboardWindow
GetOutlineTextMetrics           CDC::GetOutlineTextMetrics
GetWindowPlacement              CWnd::GetWindowPlacement
LockWindowUpdate                CWnd::LockWindowUpdate
MapWindowPoints                 CWnd::MapWindowPoints
QueryAbort                      CDC::QueryAbort
RedrawWindow                    CWnd::RedrawWindow
ScrollWindowEx                  CWnd::ScrollWindowEx
SetAbortProc                    CDC::SetAbortProc
SetBoundsRect                   CDC::SetBoundsRect
SetWindowPlacement              CWnd::SetWindowPlacement
StartDoc                        CDC::StartDoc
StartPage                       CDC::StartPage


Additional reference words: kbinf 7.00 1.00 1.50 2.00 2.50
KBCategory: kbprg
KBSubcategory: MfcMisc
Keywords : kb16bitonly
Technology : kbMfc


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: July 17, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.