C++,指定打印路径,为什么没反应啊
voidDanju::OnButton4(){//TODO:AddyourcontrolnotificationhandlercodehereCStringStrPath...
void Danju::OnButton4()
{
// TODO: Add your control notification handler code here
CString StrPath;
StrPath="D:\vc项目\yueda\demo.txt";
::ShellExecute(NULL,"print",StrPath,"","",SW_HIDE);
} 展开
{
// TODO: Add your control notification handler code here
CString StrPath;
StrPath="D:\vc项目\yueda\demo.txt";
::ShellExecute(NULL,"print",StrPath,"","",SW_HIDE);
} 展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询