Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

CFileDialog question

Status
Not open for further replies.

japhy

Programmer
Sep 27, 2004
12
0
0
US
Hi,

Does anyone know of a way to programmatically size the window created by calling a DoModal on a CFileDialog...

it opens to a default size and i need to make it bigger.

Thanks in advance,
DT
 
Try using SetWindowPos giving it the handle of the dialog. Also note that you'll have to manually resize/move the child controls as well. You can get handles to them using FindWindowEx function.

------------------
When you do it, do it right.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top