MFC Programming Tips

This page shows a number of MFC programming tips and introduces my MFC extension classes MFCX.


Tips

CHANGE THE BUTTON TEXT IN A COMMON DIALOG

Easy!

  1. Derive your class from the common dialog class, for example CSelectFileDialog.
  2. Override the InitDone() routine.
  3. Change the text of the control using SetControlText(). Remember to call the base classes InitDone() routine first.

Back home
jyoung@gol.com
Copyright © 1999 John Young.
This page was last updated on the 21 January 1999