win32去掉菜单栏的方法
2011-09-05 22:39
169 查看
ATOM MyRegisterClass(HINSTANCE hInstance) { WNDCLASSEX wcex; wcex.cbSize = sizeof(WNDCLASSEX); wcex.style = CS_HREDRAW | CS_VREDRAW; wcex.lpfnWndProc = WndProc; wcex.cbClsExtra = 0; wcex.cbWndExtra = 0; wcex.hInstance = hInstance; wcex.hIcon = LoadIcon(hInstance, MAKEINTRESOURCE(IDI_WEBTOOL)); wcex.hCursor = LoadCursor(NULL, IDC_ARROW); wcex.hbrBackground = (HBRUSH)(COLOR_WINDOW+1); //wcex.lpszMenuName = MAKEINTRESOURCE(IDC_WEBTOOL); wcex.lpszMenuName = NULL; //不显示菜单栏 wcex.lpszClassName = szWindowClass; wcex.hIconSm = LoadIcon(wcex.hInstance, MAKEINTRESOURCE(IDI_SMALL)); return RegisterClassEx(&wcex); }
相关文章推荐
- 创建window应用程序(win32 非 mfc) 去掉菜单栏
- Win32编程中去掉标题栏的方法
- 删除MFC单文档默认菜单栏的两种方法
- BOM utf-8 的去掉BOM的方法
- 去掉Visifire水印的一种方法
- 如何去掉android头部label的方法
- 高效率去掉js数组中重复项的方法
- 超链接 去掉焦点虚框 方法总结
- win32 sdk实现XP风格两种方法
- 方维分享去掉淘宝 qq 微博登录的方法
- Unix下去掉^M的方法
- emacs 去掉^M的方法
- 织梦dedecms 去掉后台登陆验证码的方法
- MFC中菜单栏的重绘方法
- 如何永久去掉Word修改痕迹的方法
- TableView分组风格下去掉HeaderView和FooterView的方法
- Linux下去掉^M的方法
- Java字符串中去掉空格的几种方法
- 去掉xp登陆界面的方法分享
- 一个非常简单的菜单栏折叠控制方法