How to enable buttons on preview dialog

  • I'm using a twpPreviewdlg, and want to allow the user to setup a printer and print. I must be misunderstanding how to do this. The following doesn't do it. I do get an unlabeled button top left that closes the dialog.

    I'm using the twppreviewdlg so I don't have to create a form.