still on CFileDialog
-
Hi all, The CFileDialog has on the bottom-right corner a button labeled as "open". How can i change the label into "save" ? Thanx in advance, Desmo16.
Did you read the documentation about the function ? (it's on MSDN). If you read it, you would have seen that the first argument to the function is a boolean that specify if the file dialog is a load or save dialog box.
Cédric Moonen Software developer
Charting control [Updated - v1.1] -
Hi all, The CFileDialog has on the bottom-right corner a button labeled as "open". How can i change the label into "save" ? Thanx in advance, Desmo16.
damn it !!! i gave you the link to the constructor CFileDialog::CFileDialog()[^]... you didn't even bother reading it :( msdn says : bOpenFileDialog Set to TRUE to construct a File Open dialog box or FALSE to construct a File Save As dialog box.
You don't know where to start ? ask a good friend
-
damn it !!! i gave you the link to the constructor CFileDialog::CFileDialog()[^]... you didn't even bother reading it :( msdn says : bOpenFileDialog Set to TRUE to construct a File Open dialog box or FALSE to construct a File Save As dialog box.
You don't know where to start ? ask a good friend
toxcct wrote:
damn it !!!
cool cool buddy. :-D
Nobody can give you wiser advice than yourself. - Cicero
-
damn it !!! i gave you the link to the constructor CFileDialog::CFileDialog()[^]... you didn't even bother reading it :( msdn says : bOpenFileDialog Set to TRUE to construct a File Open dialog box or FALSE to construct a File Save As dialog box.
You don't know where to start ? ask a good friend
-
toxcct wrote:
damn it !!!
cool cool buddy. :-D
Nobody can give you wiser advice than yourself. - Cicero
brahmma wrote:
cool cool buddy
seriously... why answering to people when they don't listen to you...
You don't know where to start ? ask a good friend
-
I'm sorry you're right. I didn't think it was so easy, I supposed i had to use fd.m_pOFN->something to do it. I found that immediately after the post. Excuse me again.
nevermind, it's ok... but read the docs before asking too easy question ;)
You don't know where to start ? ask a good friend
-
Hi all, The CFileDialog has on the bottom-right corner a button labeled as "open". How can i change the label into "save" ? Thanx in advance, Desmo16.
In additional you can use
GetSaveFileName
orGetOpenFileName
WhiteSky