问题描述
大家好,
提前谢谢.
我正在使用寡妇提供的打印机选择对话框在我的应用程序中进行打印.
操作系统:Windows XP Professional.
应用程序类型:MFC
场景:-
当系统上未安装任何打印机并且我的应用程序尝试打印一些数据时,我们将显示错误消息框未安装打印机,您是否要立即安装.如果我选择是"选项,则打印机安装向导会在我主计算机的同一时间图标中弹出Windows Windows打印机图标更改了寡妇.
但相同的应用程序在64位Windows 7计算机上可以正常工作.
代码段:-
Hi All,
Thanks in advance.
I am using printer selection dialog provided by widows for printing in my application.
Operating system: Windows XP professional.
Application Type : MFC
Scenario:-
when no printer install on system and my application try to print some data, we get error message box "no printer install and do you want to install now. if i select yes option, printer installation wizards pop up in same time icon of my main widows changed by windows printer icon.
but the same application working fine on 64 bit windows 7 machine.
Code snippet:-
CPrintInfo printInfo;
DoPreparePrinting( &printInfo );
it call CView::DoPreparePrinting(CPrintInfo* pInfo) from function from viewprnt.cpp file.
建议,我不知道我该在哪里更改和犯错误,这会引起问题.
我们非常期待您的回应.
非常感谢您的宝贵时间.
问候,
Naaryan
I don''t know where i need to change and doing mistake that create issue, kindly suggest.
Your response is keenly awaited.
Thanks a lot for your valuable time.
With Regards,
Naaryan
推荐答案
这篇关于Windows XP上的主窗口图标已更改为默认打印机图标的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!