Disabled Windows CE Functions

MFC for Windows CE disables a few Windows CE functions that would otherwise interfere with its functionality. The following table shows the Windows CE functions that are not valid in MFC as well as permissible equivalent functions.

Disabled Function Permissible Equivalent Function
DrawIcon DrawIconEx
GetDlgItemText GetWindowText
LoadCursor LoadImage
SendDlgItemMessage SendMessage
SetDlgItemText SetWindowText
TrackPopupMenu TrackPopupMenuEx