没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
#include<windows.h>
#include"resource.h"
//菜单用到的宏
#define IDM_FILE_NEW 40001
#define IDM_FILE_OPEN 40002
#define IDM_EDIT_COPY 40003
#define IDM_EDIT_STICK 40004
#define IDM_EDIT_CODE 40005
#define IDM_EDIT_OUTPUT 40006
#define IDM_EDIT_CLOSE 40007
LRESULT CALLBACK WndProc(HWND hwnd,UINT msg,WPARAM wParam,LPARAM lParam);
int WINAPI WinMain(HINSTANCE hInstance,HINSTANCE hPrevInstance,LPSTR lpCmdLine,int nShowCmd)
{
WNDCLASSEX wndclass;
HWND hwnd;
MSG msg;
wndclass.cbClsExtra=0;
wndclass.cbSize=sizeof(WNDCLASSEX);
wndclass.cbWndExtra=0;
wndclass.hbrBackground=(HBRUSH)GetStockObject(WHITE_BRUSH);
wndclass.hCursor=NULL;
wndclass.hIcon=LoadIcon(hInstance,MAKEINTRESOURCE(IDI_ICON1));
wndclass.hIconSm=LoadIcon(hInstance,MAKEINTRESOURCE(IDI_ICON2));
wndclass.hInstance=hInstance;
wndclass.lpfnWndProc=WndProc;
wndclass.lpszClassName="菜单";
wndclass.lpszMenuName=NULL;
资源评论
- xueyeyanhua2013-08-19虽然不是我想要的,不过用法和思路都很清晰
- 江畔幻影2012-10-27非常好,很简单,易懂。
- byronone2012-08-23感觉很简单,而且资源文件都没有,一般人看不懂!
tym_edward
- 粉丝: 0
- 资源: 16
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功