hi.
Can a ; or , be used in the quoted txt part of macros like func, fn etc ?
For exampleOpenFileDialog,NULL,hInstance,"Select File","text files,0,*.txt,0"
that doesn't work proper
thanks.
Rainstorm
Have a look at the High level Help file under the setion "Calling Procedures" as it deals with the various way that procedures are called inclusing the macros that you have mentioned.
hutch,
from the documentation it seems that this is not possible with rev & fn & that i have to use fnc or rvc for the quoted text...with which it assembles proper.
..but I still can't get it to display the right pttern in the 'file type box' of the file open dialogue,..it displays the the zeroes & the escape sequences
thanks..
Try replacing the last parameter with something like this: chr$("Text Files",0,"*.txt",0). The macro will add the second terminating NULL for you. Also, it is good programming practice to allow the user the option of selecting any file type, in case the extension of the file they wish to process is nonstandard, in this case you would try: chr$("Text Files",0,"*.txt",0,"All Files", 0, "*.*", 0)
Hope this helps, Ehtyar.
Ehtyar,
That worked fine..
thanks..
Rainstorm