TomSlayton
Programmer
Hi,
I am using the Common Dialog Box GetOpenFileNameW (comdlg32.dll) call and I am setting the file name buffer to 255 characters. The problem I am experiencing is that I can not see the file name because the textbox is right-justified and all I can see is the spaces padding the name.
I'd like to be able to either not have the spaces and still be able to select a variable length file name or simply set the cursor to the first character of the textbox.
Does anyone know how to do that?
Thanks,
Tom
I am using the Common Dialog Box GetOpenFileNameW (comdlg32.dll) call and I am setting the file name buffer to 255 characters. The problem I am experiencing is that I can not see the file name because the textbox is right-justified and all I can see is the spaces padding the name.
I'd like to be able to either not have the spaces and still be able to select a variable length file name or simply set the cursor to the first character of the textbox.
Does anyone know how to do that?
Thanks,
Tom