|
-
May 3rd, 1999, 12:53 AM
#1
Property Sheet's Buttons.
Is there a way to rename the apply button on a Property Sheet. I would like to rename Apply button%2
-
May 3rd, 1999, 05:29 PM
#2
Re: Property Sheet's Buttons.
I haven't tried the code I'm putting here, but what you're doing would be something like this:
// Assuming that you are accessing from the property sheet itself
CWnd* pWnd = GetDlgItem(ID_APPLY_NOW);
pWnd->SetWindowText(_T("MyLoadButton"));
// Now override the OnApply virtual function on your specific property page
// to accomodate this functionality when you press the button.
The code above is un-tested, but with some slight modifications (or none at all) it should work for you. Good luck.
- Troy
-
May 3rd, 1999, 05:37 PM
#3
Re: Property Sheet's Buttons.
Another solution is to hide the button entirely, and add one of your own onto the CPropertySheet derived class. There is already an article online at CodeGuru.com listed here:
http://www.codeguru.com/propertyshee...to_sheet.shtml
Good luck!
- Troy
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|