COP4226, Classes and Messages for the Midterm
You should be familiar with the following classes and member functions for
the midterm
Messages
-
WM_CREATE
-
WM_CLOSE
-
WM_LBUTTONDOWN
-
WM_LBUTTONUP
-
WM_RBUTTONDOWN
-
WM_MOUSEMOVE
-
WM_CHAR
-
WM_KEYDOWN
-
WM_PAINT
Constants
-
SB_LINEUP, etc
-
CTLCOLOR_EDIT, CTLCOLOR_DLG, CTLCOLOR_STATIC
-
GRAY_BRUSH, BLACK_PEN
-
VK_UP, VK_DOWN, etc
-
MM_TEXT, etc
-
WM_USER
-
MK_CONTROL
-
LOGPIXELSX, LOGPIXELSY
Classes - all constructors and destructors
-
CView
-
OnDraw
-
Invalidate
-
InvalidateRect
-
GetClientRect
-
OnInitialUpdate
-
OnPrepareDC
-
GetDlgItem
-
GetDlgCtrlID
-
UpdateData
-
OnLButtonDown
-
OnRButtonDown
-
OnMouseMove
-
OnLButtonUp
-
OnKeyDown
-
OnPaint
-
CScrollView
-
SetScrollSizes
-
OnVScroll
-
OnHScroll
-
CDialog
-
OnInitDialog
-
DoDataExchange - know what it does
-
DoModal
-
Create
-
OnOK
-
OnCancel
-
CListBox
-
CDC
-
TextOut
-
SelectStockObject
-
SelectObject
-
Ellipse
-
Rectangle
-
SetMapMode
-
SetWindowOrg
-
SetWindowExt
-
SetViewportOrg
-
SetViewportExt
-
LPtoDP
-
DPtoLP
-
OnPrepareDC
-
MoveTo
-
LineTo
-
SetBkColor
-
SetTextColor
-
GetDeviceCaps
-
GetTextMetrics
-
CreateCompatibleDC
-
BitBlt
-
StretchBlt
-
CClientDC
-
CPaintDC
-
CRect
-
CPoint
-
CSize
-
CBitmap
-
CBrush
-
CPen
-
CFont
-
CFontDialog
-
CScrollBar
-
GetScrollPos
-
SetScrollPos
-
SetScrollRange