注册 登录
编程论坛 VC++/MFC

VC6.0 PrintWindow 无法使用问题 如何解决

a278401627 发布于 2012-12-29 16:13, 805 次点击
::PrintWindow(hwnd, hdc, PW_CLIENTONLY);


:\Microsoft Visual Studio\MyProjects\后台取色\后台取色.cpp(35) : error C2039: 'PrintWindow' : is not a member of '`global namespace''
D:\Microsoft Visual Studio\MyProjects\后台取色\后台取色.cpp(35) : error C2065: 'PrintWindow' : undeclared identifier
D:\Microsoft Visual Studio\MyProjects\后台取色\后台取色.cpp(35) : error C2065: 'PW_CLIENTONLY' : undeclared identifier


请问一下大家,要怎么解决这个问题,我去网上查资料,好象说VC6.0中没有这个函数的,

希望会的朋友帮忙一下,说的具体一点。
1 回复
#2
yuccn2012-12-29 19:06
没有用过PrintWindow,你查下msdn看看,好像倒是有个CWnd::PrintWindow
http://msdn.(v=vs.80).aspx
1