user3494614
user3494614

Reputation: 603

How to change font of MFC PropertySheet

I have a class derived from CPropertySheet. Please let me know how can I change the font of this propertysheet tab along with fonts in all pages. Currently they used system font only.

Also I would like the dialog box to come up at specific location on screen and remain there only. Please let me know how can I change location of propertysheet dialog when it is getting initialised.

Thanks

Upvotes: 1

Views: 1184

Answers (1)

ScottMcP-MVP
ScottMcP-MVP

Reputation: 10425

CPropertySheet inherits the SetFont method from CWnd. You could call this method from CPropertySheet::OnInitDialog. Do the same thing in the pages to set their font.

Upvotes: 1

Related Questions