GenoPro Home  |  Get Started With My Genealogy Tree  |  Buy  |  Login  |  Privacy  |  Search  |  Site Map
 

GenoPro Support Forum




Incorrect Dialog Layout with Custom Tags

Click to view RSS...
Author A long title for a custom dialog layout causes a wrong layout in the property page
rdn
Posted Sunday, September 03, 2006 - Post #12884
Forum Guru

Forum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum Guru

Customers
GenoPro version: 2.5.4.1

Last Login: Friday, October 18, 2013
Posts: 195, Visits: 3,822
The incorrect tab layout may be due to the long title of the custom tab I added.



Danny

Edited: Monday, September 04, 2006 by GenoProSupport

Posted Monday, September 04, 2006 - Post #12893
Supreme Guru

Supreme GuruSupreme GuruSupreme GuruSupreme GuruSupreme GuruSupreme GuruSupreme GuruSupreme GuruSupreme GuruSupreme Guru

Administrators
Moderators
Translator
GenoPro version: 2.5.4.1

Last Login: Yesterday @ 6:25 AM
Posts: 5,257, Visits: 18,786
I see what is happening.  I am investigating the problem.

Posted Monday, September 04, 2006 - Post #12895
Supreme Guru

Supreme GuruSupreme GuruSupreme GuruSupreme GuruSupreme GuruSupreme GuruSupreme GuruSupreme GuruSupreme GuruSupreme Guru

Administrators
Moderators
Translator
GenoPro version: 2.5.4.1

Last Login: Yesterday @ 6:25 AM
Posts: 5,257, Visits: 18,786
This bug has been lurking for a while - about two years to be more accurate.  The fix will be available in the next update.

Description of the Bug:
When a dialog is about to be displayed, Windows computes the width of each tab to determine if they should appear on a single row or multiple rows.  GenoPro was supplying the text "Custom Tag" for computing the tab layout.  As a result, a long text was not considered in the layout, and therefore the layout was often on a single row instead of two rows.  This fix is not perfect because GenoPro uses Unicode and the dialog captions are non-Unicode because of the MFC framework.  This fix should work 99.9% of the case.  In the case of the 0.1% not working, just change the name of your dialog layout to something shorter or longer.

Eventually GenoPro will rewrite its own library to remove any references to MFC stuff.



Edited: Monday, September 04, 2006 by GenoProSupport

Posted Thursday, September 14, 2006 - Post #13110
Supreme Guru

Supreme GuruSupreme GuruSupreme GuruSupreme GuruSupreme GuruSupreme GuruSupreme GuruSupreme GuruSupreme GuruSupreme Guru

Administrators
Moderators
Translator
GenoPro version: 2.5.4.1

Last Login: Yesterday @ 6:25 AM
Posts: 5,257, Visits: 18,786
The fix is available in Beta 18d.



Similar Topics

Click to view RSS...
Expand / Collapse

Reading This Topic

Expand / Collapse