Common Dialog

wakjah
03-19-2005, 10:55 AM
Hullo,
I'm trying to customise the API created common dialog windows, but unfortunately all is not going to plan. I wish to create my own windows on the common dialog control while leaving the toolbar on the left that comes with setting the OFN_EXPLORER flag when showing the dialog. However, when a hook is included (which is needed to add the custom windows) the toolbar window is never created.

I thought that perhaps a call to DefDlgProc in the same place as I was creating the windows might do the trick, but alas, no such luck. So I then moved that call such that DefDlgProc would be called for any message being sent to the hook proc. Unfortunately, however, that crashes VB. So how exactly can I ensure that the toolbar window will be created when the dialog is hooked?

Thanks.

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum