Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Change button caption in CommonDialog

Status
Not open for further replies.

madlarry

Programmer
Dec 6, 2000
117
GB
Hi,

Does anyone know if it is possible to change the caption of the Open button in the ShowOpen of a CommonDialog control??
I would like to change it from Open to Select....

Madlarry
 
Frankly, the CommonDialog can be a pain in this regard. it might be worth you checking out the Common Controls Replacement Project extended FileDialog control, which is MUCH more flexible (but still utilises the underlying API calls in comdlg32.dll)

 
I thought of using the SetDlgItemText API, but getting a hWnd for the dialogue turned out to be a mission. Sorry.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top