//------------------------------------------------------------------------------ // Copyright (c) 2009 eryar All rights reserved. // // File : Main.cpp // Author : eryar@163.com // Date : 2009-9-18 23:04 // Version : 1.0v // // Description : // //============================================================================== #include <windows.h> #define IDM_FILE_OPEN 10000 #define IDM_FILE_EXIT 10001 CHAR* g_szAppName = "Read Bitmap"; CHAR* g_szClassName = "CReadBMP"; HINSTANCE g_hInst; void TrackMenu(HWND hWnd, POINT point); LRESULT CALLBACK WndProc(HWND, UINT, WPARAM,