Sekaiju 4.0 English - Graphical bugs with tabbed dialogs (property sheets) (2014-06-02 04:22 by Bavi_H #73250)
Kuzu, thank you for Sekaiju. I like it very much.
When using Sekaiju 4.0 in English, some tabbed dialogs need two rows of tabs, but when you first open them, they incorrectly show one row of tabs. When you click on any tab, it switches to two rows of tabs, but then items at the bottom of the page get cut off.
I tested on Windows XP (1024 x 768) and Windows 8.1 (1600 x 900). For images, rnhart . net / sekaiju-4.0-tabbed-dialog.zip
When the system DPI is set to 96 dpi (100%), this happens with the "Options" dialog. After you click on any tab, then on the Event List tab, the bottom option is cut off. ("Enable short cut key Ctrl+'+''-' for Column zoom")
When the system DPI is set to 120 dpi (125%), this happens with the "MIDI Device and Instrument" dialog. After you click on any tab, the line for port 16 is cut off half way.
I think this happens because the property sheet uses a default font to calculate sizes, then the font is changed making the sizes wrong. I found some pages below that discuss this, but I don't understand all the code. I only have Visual Studio Express, so I can't test them out.
Prpfont.exe sample demonstrates how to set the desired font for your CPropertyPages in Visual C++ http://support.microsoft.com/kb/142170
(You can use 7-Zip to extract the contents from the exe file.)
Re: Sekaiju 4.0 English - Graphical bugs with tabbed dialogs (property sheets) (2014-06-06 23:15 by 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.