Support forum of the software localization tool Sisulizer


Localization Tool for VB, Delphi, .NET, C#, VB.NET, XML, Online Help, HTML ... Home

Get in contact with the makers of Sisulizer.
Our forum is open for all questions around Sisulizer from customers and prospects.
Don't hesitate to register and ask. The Sisulizer team will answer ASAP.

Search     Help Home Sisulizer Website Download
Search by username
Not logged in - Login | Register 

 Moderated by: Renate.Reinartz, Markus.Kreisel, Jaakko.Salmenius, Ilkka.Salmenius
New Topic Reply Printer Friendly
Dialog Preview Update problem after changing fonts - Bugs and Quirks in Sisulizer - Technical Support (You need to be registered at the forum to write) - Localization Tool for VB, Delphi, .NET, C#, VB.NET, XML, Online Help, HTML ...
AuthorPost
 Posted: Sun Nov 2nd, 2008 11:09 pm
PM Quote Reply
mdunmill
Member
 

Joined: Tue Nov 13th, 2007
Location:  
Posts: 64
Status: 
Offline
In a Win32/MFC based Sisulizer Project, and you change the Font that is used for a dialog, then the dialog may resize as a result. The background of the dialog will not always be repainted properly if the new dialog is smaller in one or both of the dimensions. Clicking in the dialog preview or re-selecting the dialog causes the dialog preview window to be completely repainted which fixes the paint problem.

(i.e. it appears that the preview window needs to invalidate the rectangle covering the old dialog to force the correct repaint of the background to the new dialog)

e.g. Change a dialog between "Courier New,8" and "Times New Roman,8" and the new dialog layout will be smaller but you'll see part of the old dialog layout that was not repainted.

See below:

Attachment: DialogRepaint.PNG (Downloaded 20 times)

Back To Top PM Quote Reply

 Posted: Mon Nov 3rd, 2008 11:23 am
PM Quote Reply
Janusz Grzybek
Super Moderator


Joined: Fri Dec 1st, 2006
Location: Zabrze, Poland
Posts: 561
Status: 
Offline
Hello,

Thank you for reporting it. Dialog controls sizes are depend on font size and I reproduced it in my sample project for changing font size to smaller e.g. MS Shell Dlg 10 to MS Shell Dlg 8 (but not vice versa).
Here workaround:
If you have "frozen" old control sizes click in any area of visual editor for refresh it.

Best regards,
janusz



____________________
http://www.sisulizer.com - Three simple steps to localize
Back To Top PM Quote Reply

 Posted: Wed Nov 5th, 2008 04:22 am
PM Quote Reply
Ilkka.Salmenius
Administrator


Joined: Wed Aug 8th, 2007
Location: Espoo, Finland
Posts: 455
Status: 
Offline
I fixed it.



____________________
http://www.sisulizer.com - Three simple steps to localize
Back To Top PM Quote Reply

 Posted: Sun Nov 23rd, 2008 11:10 pm
PM Quote Reply
mdunmill
Member
 

Joined: Tue Nov 13th, 2007
Location:  
Posts: 64
Status: 
Offline
Well done! I've tested this in Version 2008 (Build 275) and it is now repainting properly after a font change.
Thanks.

Back To Top PM Quote Reply

Current time is 01:28 am  
Localization Tool for VB, Delphi, .NET, C#, VB.NET, XML, Online Help, HTML ... > Technical Support (You need to be registered at the forum to write) > Bugs and Quirks in Sisulizer > Dialog Preview Update problem after changing fonts



WowUltra 1.11 Copyright © 2007 by Jim Hale - Based on WowBB Copyright © 2003-2006 Aycan Gulez

Sisulizer software localization tool - Three simple steps to localize