CMiniFrameWnd Mn;
RECT rc={400,100,200,100};
if(!Mn.Create(NULL,"Mini",MFS_MOVEFRAME,rc,NULL,0))
AfxMessageBox("Can't Create The Window");
编译的时候没问题
执行的时候系统非法操作了
为什么阿
RECT rc={400,100,200,100};
if(!Mn.Create(NULL,"Mini",MFS_MOVEFRAME,rc,NULL,0))
AfxMessageBox("Can't Create The Window");
编译的时候没问题
执行的时候系统非法操作了
为什么阿
解决方案 »
- win 7 旗舰版 visual studio2010连接、编译的问题 程序没错,运行不过
- 26个钉子的押宝游戏,结果什么出来?
- 新手求助:如何响应键盘按下的回车键和退格键(MFC编程)
- CListCtrl显示bmp图片问题
- 使用CreateProcess启动Ping程序, 利用管道与Ping通信, 但是无法使用^C让Ping终止
- 多文档菜单问题
- 关于SAFEARRAY的使用,大家帮帮忙,急用!
- 请教关于如何在ActiveX中增加Frame框架????
- 请教问题,怎么将vcd转成rm格式,用什么软件?多谢指教
- 关于基于单文档应用程序的问题
- 网上下载的例程编译不了,出以下错误,高手解释一下???
- 我的COM接口传进来的参数是自定义的结构体,怎么做才能实现?
typedef struct _RECT {
LONG left;
LONG top;
LONG right;
LONG bottom;
} RECT, *PRECT; 其中:
left
Specifies the x-coordinate of the upper-left corner of the rectangle.
top
Specifies the y-coordinate of the upper-left corner of the rectangle.
right
Specifies the x-coordinate of the lower-right corner of the rectangle.
bottom
Specifies the y-coordinate of the lower-right corner of the rectangle.
left
Specifies the x-coordinate of the upper-left corner of the rectangle.
top
Specifies the y-coordinate of the upper-left corner of the rectangle.
right
Specifies the x-coordinate of the lower-right corner of the rectangle.
bottom
Specifies the y-coordinate of the lower-right corner of the rectangle.
Mn = new CMiniFrameWnd();
RECT rc={400,100,200,100};
if(!Mn->Create(NULL,"Mini",MFS_MOVEFRAME,rc,NULL,0))
AfxMessageBox("Can't Create The Window");