Posted to the installing thread's message queue when a timer expires. The message is posted by the GetMessage or PeekMessage function. c++ #define WM_TIMER 0x0113 Parameters wParam The timer identifier. lParam A pointer to an application-defined callback function that was passed to the SetTimer function when the timer was installed. Return value Type : LRESULT An application should return zero i..
윈도우 프로그램은 이런 식으로 만들 수 있다 1. 윈도우 헤더를 인클루드하고 #include cf) windows.h : 윈도우 개발자들에게 필요한 매크로들,함수, 데이터타입들, API 함수들을 위한 정의를 포함하는 윈도우의 c 및 c++ 헤더파일 ( c에서도 사용될 수 있는 윈도우용 수많은 함수들을 정의하고 있다.) 2. 윈도우즈 프로그램 시작점(WinMain) 을 정의 int APIENTRY WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpszCmdParam, int nCmdShow) { 3. 윈도우를 만들고 -만들 윈도우특성 정의 -정의 한 윈도우 등록 ( 메모리에 생성 ) 4.화면에 출력하고 4.메세지를 처리하다가 ( 메세지루프) - ..
Windows API = WinAPI = Win32Api ....윈도우 운영체제 에서 사용 가능한 마이크로소프트의 Application Programming Interfaces 모든 윈도우 프로그램은 Windows api와 상호작용을 한다. Developer support is available in the form of a software development kit, Micorsoft Windows SDK cf) Microsoft Windows SDK and its predecessors Platform SDK, and .NET FrameworkSDK, are software development kits(SDKs) from Microsoft that contain documentation, head..
Builds a left-handed perspective projection matrix vased on a field of view. syntax c++ D3DXMATRIX* D3DXMatrixPerspectiveFovLH( _Inout_ D3DXMATRIX * pOut, _In_ FLOAT fovy, _In_ FLOAT Aspect, _In_ FLOAT zn, _In_ FLOAT zf ); Prarmeters pOut - Pointer to the D3DXMATRIX structure that is the result of the operation. fovy - Field of view in the y Direction, in radians. Aspect - Aspect ratio, defined ..