setting dialog size at run time
-
Hi!! I m working on an mfc sdi application. I hav a dialog in which , i have "SHOW FILE" button. On it`s click event, i want to show the file on the same dialog. But, before clicking the "SHOW FILE" button, i want a small dialog only. Now, I hav two problems: 1. In which control, should I display(show) the file to the user? 2. How to set the dialog size at run time? Thanx a lot "If you change then change for the good."
-
Hi!! I m working on an mfc sdi application. I hav a dialog in which , i have "SHOW FILE" button. On it`s click event, i want to show the file on the same dialog. But, before clicking the "SHOW FILE" button, i want a small dialog only. Now, I hav two problems: 1. In which control, should I display(show) the file to the user? 2. How to set the dialog size at run time? Thanx a lot "If you change then change for the good."
-
ABout your first question which type of file do you want to display? image file, text file, HTML file.... for changing the dialog box size... MoveWindow() SetWindowPos() ...