INFO: Win 3.0 and 3.1 API Functions Wrapped by MFC (A-G)

Last reviewed: July 22, 1997
Article ID: Q86462
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, 1.5
    

SUMMARY

The following table shows the Microsoft Windows versions 3.0 and 3.1 API functions that begin with the letters A through G and that are wrapped by the Microsoft Foundation Classes (MFC). Functions that begin with H through W are continued in another Knowledge Base article.

Windows 3.0 and 3.1 API         MFC Wrapper
-----------------------         -----------

AnimatePalette                  CPalette::AnimatePalette
AnsiToOem                       CString::AnsiToOem
AppendMenu                      CMenu::AppendMenu
Arc                             CDC::Arc
ArrangeIconicWindows            CWnd::ArrangeIconicWindows
BeginPaint                      CWnd::BeginPaint (also see CPaintDC)
BitBlt                          CDC::BitBlt
BringWindowToTop                CWnd::BringWindowToTop
ChangeClipboardChain            CWnd::ChangeClipboardChain
CheckDlgButton                  CWnd::CheckDlgButton
CheckMenuItem                   CMenu::CheckMenuItem
CheckRadioButton                CWnd::CheckRadioButton
ChildWindowFromPoint            CWnd::ChildWindowFromPoint
Chord                           CDC::Chord
ClientToScreen                  CWnd::ClientToScreen
CloseMetaFile                   CMetafileDC::Close
CloseWindow                     CWnd::CloseWindow
CombineRgn                      CRgn::CombineRgn
CopyRect                        CRect::CopyRect
CreateBitmap                    CBitmap::CreateBitmap
CreateBitmapIndirect            CBitmap::CreateBitmapIndirect
CreateBrushIndirect             CBrush::CreateBrushIndirect
CreateCaret                     CWnd::CreateCaret
                                CWnd::CreateGrayCaret
                                CWnd::CreateSolidCaret
CreateCompatibleBitmap          CBitmap::CreateCompatibleBitmap
CreateCompatibleDC              CDC::CreateCompatibleDC
CreateDC                        CDC::CreateDC
CreateDialog                    CDialog::Create
CreateDialogIndirect            CDialog::CreateIndirect
CreateDIBPatternBrush           CBrush::CreateDIBPatternBrush
CreateDiscardableBitmap         CBitmap::CreateDiscardableBitmap
CreateEllipticRgn               CRgn::CreateEllipticRgn
CreateEllipticRgnIndirect       CRgn::CreateEllipticRgnIndirect
CreateFont                      CFont::CreateFont
CreateFontIndirect              CFont::CreateFontIndirect
CreateHatchBrush                CBrush::CreateHatchBrush
CreateIC                        CDC::CreateIC
CreateMenu                      CMenu::CreateMenu
CreateMetaFile                  CMetaFileDC::CreateMetaFile
CreatePalette                   CPalette::CreatePalette
CreatePatternBrush              CBrush::CreatePatternBrush
CreatePen                       CPen::CreatePen
CreatePenIndirect               CPen::CreatePenIndirect
CreatePolygonRgn                CRgn::CreatePolygonRgn
CreatePolyPolygonRgn            CRgn::CreatePolyPolyRgn
CreatePopupMenu                 CMenu::CreatePopupMenu
CreateRectRgn                   CRgn::CreateRectRgn
CreateRectRgnIndirect           CRgn::CreateRectRgnIndirect
CreateRoundRectRgn              CRgn::CreateRoundRectRgn
CreateSolidBrush                CBrush::CreateSolidBrush
CreateWindow                    CWnd::Create
CreateWindowEx                  CWnd::CreateEx
DeleteDC                        CDC::DeleteDC
DeleteMenu                      CMenu::DeleteMenu
DeleteObject                    CGdiObject::DeleteObject
DestroyMenu                     CMenu::DestroyMenu
DestroyWindow                   CWnd::DestroyWindow
DialogBox                       CModalDialog::CModalDialog/DoModal
DialogBoxIndirect               CModalDialog::CModalDialog/DoModal
DlgDirList                      CWnd::DlgDirList
DlgDirListComboBox              CWnd::DlgDirListComboBox
DlgDirSelect                    CWnd::DlgDirSelect
DlgDirSelectComboBox            CWnd::DlgDirSelectComboBox
DPtoLP                          CDC::DPtoLP
DrawFocusRect                   CDC::DrawFocusRect
DrawIcon                        CDC::DrawIcon
DrawMenuBar                     CWnd::DrawMenuBar
DrawText                        CDC::DrawText
Ellipse                         CDC::Ellipse
EnableMenuItem                  CMenu::EnableMenuItem
EnableWindow                    CWnd::EnableWindow
EndDialog                       CDialog::EndDialog
EndPaint                        CWnd::EndPaint (also see CPaintDC)
EnumObjects                     CDC::EnumObjects
EqualRect                       CRect::EqualRect
EqualRgn                        CRgn::EqualRgn
Escape                          CDC::Escape
ExcludeClipRect                 CDC::ExcludeClipRect
ExcludeUpdateRgn                CDC::ExcludeUpdateRgn
ExtFloodFill                    CDC::ExtFloodFill
ExtTextOut                      CDC::ExtTextOut
FillRect                        CDC::FillRect
FillRgn                         CDC::FillRgn
FindWindow                      CWnd::FindWindow
FlashWindow                     CWND::FlashWindow
FloodFill                       CDC::FloodFill
FrameRect                       CDC::FrameRect
FrameRgn                        CDC::FrameRgn
GetActiveWindow                 CWnd::GetActiveWindow
GetAspectRatioFilter            CDC::GetAspectRatioFilter
GetBitmapBits                   CBitmap::GetBitmapBits
GetBitmapDimension              CBitmap::GetBitmapDimension
GetBkColor                      CDC::GetBkColor
GetBkMode                       CDC::GetBkMode
GetBrushOrg                     CDC::GetBrushOrg
GetCapture                      CWnd::GetCapture
GetCaretPos                     CWnd::GetCaretPos
GetCharWidth                    CDC::GetCharWidth
GetClientRect                   CWnd::GetClientRect
GetClipboardOwner               CWnd::GetClipboardOwner
GetClipboardViewer              CWnd::GetClipboardViewer
GetClipBox                      CDC::GetClipBox
GetCurrentPosition              CDC::GetCurrentPosition
GetDC                           CWnd::GetDC
GetDCOrg                        CDC::GetDCOrg
GetDesktopWindow                CWnd::GetDesktopWindow
GetDeviceCaps                   CDC::GetDeviceCaps
GetDlgCtrlID                    CWnd::GetDlgCtrlID
GetDlgItem                      CWnd::GetDlgItem
GetDlgItemInt                   CWnd::GetDlgItemInt
GetDlgItemText                  CWnd::GetDlgItemText
GetFocus                        CWnd::GetFocus
GetLastActivePopup              CWnd::GetLastActivePopup
GetMapMode                      CDC::GetMapMode
GetMenu                         CWnd::GetMenu
GetMenuItemCount                CMenu::GetMenuItemCount
GetMenuItemID                   CMenu::GetMenuItemID
GetMenuState                    CMenu::GetMenuState
GetMenuString                   CMenu::GetMenuString
GetNearestColor                 CDC::GetNearestColor
GetNearestPaletteIndex          CPalette::GetNearestPaletteIndex
GetNextDlgGroupItem             CWnd::GetNextDlgGroupItem
GetNextDlgTabItem               CWnd::GetNextDlgTabItem
GetNextWindow                   CWnd::GetNextWindow
GetObject                       CGdiObject::GetObject
GetPaletteEntries               CPalette::GetPaletteEntries
GetParent                       CWnd::GetParent
GetPixel                        CDC::GetPixel
GetPolyFillMode                 CDC::GetPolyFillMode
GetRgnBox                       CRgn::GetRgnBox
GetROP2                         CDC::GetROP2
GetScrollPos                    CWnd::GetScrollPos
GetScrollRange                  CWnd::GetScrollRange
GetStockObject                  CGdiObject::CreateStockObject
GetStretchBltMode               CDC::GetStretchBltMode
GetSubMenu                      CMenu::GetSubMenu
GetSysModalWindow               CWnd::GetSysModalWindow
GetSystemMenu                   CWnd::GetSystemMenu
GetTabbedTextExtent             CDC::GetTabbedTextExtent
GetTextAlign                    CDC::GetTextAlign
GetTextCharacterExtra           CDC::GetTextCharacterExtra
GetTextColor                    CDC::GetTextColor
GetTextExtent                   CDC::GetTextExtent
GetTextFace                     CDC::GetTextFace
GetTextMetrics                  CDC::GetTextMetrics
GetTopWindow                    CWnd::GetTopWindow
GetUpdateRect                   CWnd::GetUpdateRect
GetUpdateRgn                    CWnd::GetUpdateRgn
GetViewportExt                  CDC::GetViewportExt
GetViewportOrg                  CDC::GetViewportOrg
GetWindow                       CWnd::GetWindow
GetWindowDC                     CWnd::GetWindowDC
GetWindowExt                    CDC::GetWindowExt
GetWindowOrg                    CDC::GetWindowOrg
GetWindowRect                   CWnd::GetWindowRect
GetWindowText                   CWnd::GetWindowText
GetWindowTextLength             CWnd::GetWindowTextLength
GrayString                      CDC::GrayString


Additional query words: wrapped
Keywords : kb16bitonly MfcMisc kbinfo
Technology : kbmfc
Version : 1.0 1.5 7.0


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 22, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.