here is my code
Code:
BOOL D3dDevice::Picking(HWND hWnd, LPDIRECT3DDEVICE9 d3ddev, CXFileEntity *entity, int z) { D3DXVECTOR3 v; D3DXMATRIX matProj;
BOOL D3dDevice::Picking(HWND hWnd, LPDIRECT3DDEVICE9 d3ddev, CXFileEntity *entity, int z) { D3DXVECTOR3 v; D3DXMATRIX matProj;
while(sd==1) { sf++;//globe var, sf equals 1 onPaint(hdc);//paint the circle InvalidateRect (hWnd, NULL, TRUE);//it should repaint the window but it doesn't UpdateWindow(hWnd); }
VOID onPaint(HDC hdc) { Graphics
// Take and Run.cpp : Defines the entry point for the application. // #include "stdafx.h" #include "Take and Run.h" #include <string> #include <objidl.h> #include <gdiplus.h> using namespace Gdiplus; #pragma comment (lib,"Gdiplus.lib") #define MAX_LOADSTRING 100 // Global Variables:
Leave a comment: