ans
September 2nd, 1999, 08:37 AM
I've customized the CFileDialog by deriving it and providing it a resource template as it's explained in the help subject "Explorer-style custom templates".
I need to change the size of this dialog box when I push a button which I've added in the dialog.
I try to use SetWindowPos with the SWP_NOMOVE|SWP_SHOWWINDOW flags, but it doesn't work. I wonder if I used the right flags and / or the right method. Do I have to give the new size only for the part of the dialog corresponding to my template resource or the size of the whole dialog which contains both the standard Open fialog box and my template resource ?
Thanks for any help.
I need to change the size of this dialog box when I push a button which I've added in the dialog.
I try to use SetWindowPos with the SWP_NOMOVE|SWP_SHOWWINDOW flags, but it doesn't work. I wonder if I used the right flags and / or the right method. Do I have to give the new size only for the part of the dialog corresponding to my template resource or the size of the whole dialog which contains both the standard Open fialog box and my template resource ?
Thanks for any help.