Open/Save/Folder Dialogue -

Sup dudes,
Isn't there any default for those dialogues? Its anoyying to type down all the info.
Thanks.
[126 byte] By [.pcbrainbuster] at [2007-11-20 11:42:57]
# 1 Re: Open/Save/Folder Dialogue -
Do you mean OPENFILENAME ( http://msdn2.microsoft.com/en-us/library/ms646839.aspx) You can save and open files through GetOpenFileName() ( http://msdn2.microsoft.com/en-us/library/ms646927.aspx) and GetSaveFileName() ( http://msdn2.microsoft.com/en-us/library/ms646928.aspx)
Notsosuperhero at 2007-11-9 13:32:51 >
# 2 Re: Open/Save/Folder Dialogue -
I know. The question is "Isn't there any default structure? Because its a pain to write it all down.".

Thanks.
.pcbrainbuster at 2007-11-9 13:34:01 >
# 3 Re: Open/Save/Folder Dialogue -
I don't know if there is a default OPENFILENAME setup, but it shouldn't be to hard to create one.

Why don't you write a function that automagically intialize the struct as you see fit - using your most used settings?

- petter
wildfrog at 2007-11-9 13:34:58 >
# 4 Re: Open/Save/Folder Dialogue -
I could easily do so but I was just wondering.

RESOLVED.
.pcbrainbuster at 2007-11-9 13:36:02 >
# 5 Re: Open/Save/Folder Dialogue -
Try using CFileDialog class of MFC.

Regards,
Paresh.
paresh_chitte at 2007-11-9 13:37:01 >
# 6 Re: Open/Save/Folder Dialogue -
I don't work with MFC; I work with Win32;
.pcbrainbuster at 2007-11-9 13:38:00 >