JWagberg
2007-05-02 23:20:30 UTC
I suspect I already know the very sad answer to to this question, but
I must ask anyhow.
I want to let the user pick a file for saving his/her data, so I use
UIPUTFILE to get a filename. If the file doesn't exist, UIPUTFILE
returns the new filename as I want to. But, if the file already
exists, a second dialog pops up, pointing out the fact and asks if the
user want to replace it.
However, I want to let the user _append_ to an existing file, making
the dialog's question very confusing. Can this second dialog somehow
be disabled or tweaked, so that I can do the check myself?
I tried to use UIGETFILE instead, but that dialog checks that the file
indeed exist beforehand and puts up a dialog if it doesn't.
Does anyone have a solution to this or am I forced to build my own
dialog?
jewa & wagberg . net (replace the obvious)
PS:Don't use my registered email. It's flooded with spam and not
active.
I must ask anyhow.
I want to let the user pick a file for saving his/her data, so I use
UIPUTFILE to get a filename. If the file doesn't exist, UIPUTFILE
returns the new filename as I want to. But, if the file already
exists, a second dialog pops up, pointing out the fact and asks if the
user want to replace it.
However, I want to let the user _append_ to an existing file, making
the dialog's question very confusing. Can this second dialog somehow
be disabled or tweaked, so that I can do the check myself?
I tried to use UIGETFILE instead, but that dialog checks that the file
indeed exist beforehand and puts up a dialog if it doesn't.
Does anyone have a solution to this or am I forced to build my own
dialog?
jewa & wagberg . net (replace the obvious)
PS:Don't use my registered email. It's flooded with spam and not
active.