Community Tip - Did you get called away in the middle of writing a post? Don't worry you can find your unfinished post later in the Drafts section of your profile page. X
I try to print all drawing file.
I using ProPrintExecute().
ProPrintExecute() called MS_PRINT_MGR and appear print dialog.
We try to accept print automatic.
But ProPrintExecute() wait user inputs Accept or Cancel.
I try to use Auto Accept through the Windows API, but the next statement will not run until ProPrintExecute () is finished.
Is there a way to run the code after ProPrintExecute is called?
For example, ProPrintExecute runs in the background or starts the code that appears after ProPrintExecute.
Warm Regards
SeonHo
Thanks
Never tried but can check with multi thread once.
A different topic , but below might be useful:
https://stackoverflow.com/questions/21771701/reading-multiple-files-parallel-into-a-buffer
Run the program that have a following sequence before ProPrintExecute ().
1. Continue checking the print window in the while statement (infinite loop).
2. If the print window exists, press the OK button.
3. The program ends
I can now automatically accept printing with the above routine.
thanks