October 14th, 2012, 06:33 AM
Highlite entry in GetOpenFileName() list, programmatically.
I'm using the GetOpenFileName() common dialog, with no problems. Now I want to add a feature of making the default filename be supplied (with the last opened filename). This is not an issue, per se, as the filename shows up in the File Name edit field. But I also would like to have that file entry in the list be automatically selected (highlited), scrolling the list as necessary to make the selected name visible.
After looking through the VC8 help files on this topic, I don't see any way to make the OFN dialog select an entry by sending a message, or any other method. Can this be done?
I really don't want to re-invent the OFN dialog just to accomplish this.
Last edited by cosmicvoid; October 21st, 2012 at 01:10 AM.
Reason: set to not resolved
Tags for this Thread
Click Here to Expand Forum to Full Width
This is a Codeguru.com survey!