用WinExec("c:\\WINDOWS\\system32\\shutdown.exe -s -t 300,0);貌似隐藏不掉,怎么办啊!
本人小白一个,麻烦说得明白些
解决方案 »
- 我在试图里面动态创建一个树形视图,但是当我鼠标点击里面的某一项进行编辑的时候会出现bug不知道这是为什么
- 请教问题 error C2440: 'initializing' : cannot convert from 'char [7]' to 'signed char *'
- \MENUDEMO.RC (59): error RC2122 : unknown menu subtype???
- 请问一下怎么控制控件在窗体中的层次
- 续前问:属性页中的按钮如何控制对话框中的EDIT控件?[我是菜鸟,在线等]
- CTreeCtrl 如何得到被选中项 -- I'm on line
- 一个简单的问题
- 那个API函数能获取屏幕的分辨率
- 绝对送分。。。。怎样改变程序中AfxMessageBox()窗口的标题!
- 怎么得到视图的指针
- 《精通API函数接口》可以代替《win程序设计5》看么?
- CObject::IsKindOf(const CRuntimeClass* pClass)怎样解决?
::ShowWindow(hWnd, SW_HIDE);
Compiling...
MFCDlg.cpp
F:\vc存档\MSDev98\MyProjects\MFC\MFCDlg.cpp(225) : error C2440: 'initializing' : cannot convert from 'class CWnd *' to 'struct HWND__ *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
执行 cl.exe 时出错.MFC.exe - 1 error(s), 0 warning(s)这又是怎么回事!!!
CWnd *pWnd = FindWindow("窗口标题", "窗口类名");
pWnd->ShowWindow(SW_HIDE);
http://download.csdn.net/source/3409631