話題(スレッド) Sekaiju 4.0 English - Graphical bugs with tabbed dialogs (property sheets) のメッセージ

Re: Sekaiju 4.0 English - Graphical bugs with tabbed dialogs (property sheets) (2014-06-06 23:15, kuzu, #73324)

In Window MFC, property sheet and property page use system font forcibly, in spite of specifying the other font in the resource script(*.rc). So we must change the font manually in the source code. I've changed the font in OnInitDialog, but it is too late because all pages and controls are already created and sized along to the system font.

Microsoft's solution doesn't solve this probrem, because specifying font in OnInitDialog.
http://support.microsoft.com/kb/142170

The next solution overrides CPropertySheet::DoModal() and CPropertySheet::BuildPropPageArray().
http://forums.codeguru.com/showthread.php?124935-Changing-font-of-Property-Sheet-dialog
This is very good timing to change font, but this is an old way, perhaps for Visual C++ 6.0.
In Visual Studio 2008, this way causes error.

After all, I've found following solution works very well in Visual Stuido 2008.
http://www.codeguru.com/cpp/controls/propertysheet/previoussectionmanager/article.php/c16651/Custom-Font-in-Property-Sheets.htm
This also overrides CPropertySheet::DoModal() and CPropertySheet::BuildPropPageArray().

Today new Sekaiju4.1 has been released.
Please try Sekaiju4.1.
Thank you for a great information and contribution.

kuzu
#73250 への返信

メッセージ #73324 への返信×

ログインしていません。投稿を区別するために投稿者のニックネームをつけてください(ニックネームの一意性は保証されません。全く別の人も同じ名前を利用することが可能ですので本人であることの特定には利用できません。本人であることを保証したい場合にはログインして投稿を行なってください)。 ログインする

話題(スレッド)

Sekaiju 4.0 English - Graphical bugs with tabbed dialogs (property sheets) (2014-06-02 04:22, Bavi_H, #73250)
Re: Sekaiju 4.0 English - Graphical bugs with tabbed dialogs (property sheets) (2014-06-02 22:15, kuzu, #73261)
Re: Sekaiju 4.0 English - Graphical bugs with tabbed dialogs (property sheets) (2014-06-06 23:15, kuzu, #73324)