pMainFrame->ShowWindow(m_nCmdShow); //m_nCmdShow//SW_SHOWMAXIMIZED在向导生成的多文档代码中,将以上的m_nCmdShow(SW_SHOWNORMAL)参数改为SW_SHOWMAXIMIZED后,程序加载过程中不执行OnShowWindow函数,怎么会这样?
解决方案 »
- VC调试疑问。。。。。。。。。。。
- ADO查询打开的记录集进行操作之后更新显示的问题
- List控件SortItems()函数排序问题!
- 计算机中的哲学原理
- 一个多线程问题:主线程收到的重绘消息为什么累积到分线程结束才开始响应?
- 高难度问题:怎样获得USB和1394设备的硬件信息
- 如何在CListCtrl的ICON上显示ToolTips?
- 如何给文件夹和(文本)文件设置密码
- 如何让一个循环在每执行一遍就休息几秒!
- 简单一问:如何把一个int型的数字,放到combobox控件的编辑框中?
- CFormView中一个CListBox的WM_PAINT消息 送给了谁?引起了哪些函数的调用?
- GDI+高手请进,显示内存中图片的问题
Activates the window and displays it as a maximized window.
SW_SHOWNORMAL
Activates and displays a window. If the window is minimized or maximized, the system restores it to its original size and position. An application should specify this flag when displaying the window for the first time.
When a top-level, overlapped window is created with the WS_MAXIMIZE or WS_MINIMIZE style.
When the SW_SHOWNORMAL flag is specified in the call to the ShowWindow function.