AFX global function and MFC common data type

xiaoxiao2021-03-06  73

Introduction AFX global function and MFC common data type

Text AfxBeginThread: start a new thread AfxEndThread: the end of an old thread AfxFormatString1: printf-like format string generally AfxFormatString2: printf-like format string generally AfxMessageBox: similar to the Windows API function MessageBoxAfxOuputDebugString: string exports Define device AFXGETAPP: Pointer AFXGETMAINWND: Get Program Main Window Pointer AFXGetInstance: Get Programs Instance Handlemfc Data Type The following is the data type Bool: Boolean, value For True or Falsebstr: 32-bit Character Pointer BYTE: 8-bit integer, no positive and negative colorRef: 32-bit value, representing a color value DWORD: 32-bit integer, unparalleled long: 32-bit Integer, with a positive negative LPARAM: 32-bit integer, a parameter lpcstr: 32-bit pointer to a window function or a callback function, pointing to a constant string LPSTR: 32-bit pointer, pointing to a string LPCTSTR: 32-bit Pointer, pointing to a constant string, this string can be ported to the Unicode and DBCSLPTSTR: 32-bit pointer, pointing to a string, this string can be ported to the Unicode and dbcslpvoid: 32-bit pointer, pointing to a non-specified type data LPRESULT: 32-bit value, the return value of the window function or the Callback function is UINT: in Win16 is a 16-bit unpigneous number integer, in Win32 is a 32-bit unpigneous number integer, WNDPROC: 32-bit pointer, pointing to a window function word: 16-bit integer, unpaired WPARAM: window function or a parameter of the Callback function, 16-bit in Win16, 32-bit below Win32 is below these MFC unique data type Position: A value, represents the element location in the Collection object (such as an array or linked list), which is often used in the MFC Collection class (ie, data processing classes, such as carray) LPCRect: 32-bit pointer, pointing to a constant Rect structure

转载请注明原文地址:https://www.9cbs.com/read-91340.html

New Post(0)