11-07-2013, 01:19 PM
Move the dialog code to the macro.
str controls...DestroyWindow hDlg
But usually it is better to show dialog in other thread.
str controls...DestroyWindow hDlg
But usually it is better to show dialog in other thread.