MSWord closes unexpectedly when clicking "Print" button in "Envelopes and Labels" dialog
Prasanth Vimalanathan
0
Reputation points
I'm embedding MSWord in my WinForms app using Microsoft Library, and I'm following this guideline to set the window style to ws_child to support the child window. However, when I click the "Print" button in the "Envelopes and Labels" dialog, MSWord unexpectedly closes. The issue is resolved when I remove the style setting or set it to ws_popup, but using ws_popup goes against the guideline. Can anyone guide me on how to resolve this issue while following the guidelines?
Sign in to answer