I am having trouble using the Common control dialogs.
First, I am trying to use PrintDlg, but I do not understand how to use the DEVMODE and DEVNAMES strucutres. Each time I use them I get a message saying printer does not exists. How can I get the name of the printer?
Second, I am trying to use the Find Replace Dialog. I have incountered several problems and was wondering if anyone had any sample code on how to use dialog. It seems whenever the mouse goes over the dialog I get an illegal error message.
Thanks in advance for your help.