-
Jon © (10.03.10 17:57) [0]I found MHFontDialog from http://kolnmck.kolmck.net/components/files_dialogs.shtml
But it does not compile if I define UNICODE_CTRLS
Is there an updated version anywhere?
PS: Links from http://kolmck.net/e_adds.htm#Components_Dialogs are dead -
Jon © (12.03.10 19:10) [1]If there is no fix - is is possible to run use that only that dialog in ansi mode?
-
Try add USE_PROPS to project options | ... | Conditional defines.
-
Jon © (13.03.10 01:54) [3]Thanks for the advice - but the errors still exist.
KOLMHFontDialog.pas(144) Error: Incompatible types: 'Array' and 'PAnsiChar'
KOLMHFontDialog.pas(175) Error: Incompatible types: 'Array' and 'PAnsiChar'
KOLMHFontDialog.pas(180) Error: Incompatible types: 'Array' and 'PAnsiChar'
KOLMHFontDialog.pas(215) Error: Incompatible types: 'tagLOGFONTW' and tagLOGFONTA'
KOLMHFontDialog.pas(257) Error: Incompatible types: 'tagLOGFONTA' and 'tagLOGFONTW'
KOLMHFontDialog.pas(285) Error: Incompatible types: 'tagLOGFONTW' and'tagLOGFONTA'
KOLMHFontDialog.pas(304)
Fatal: Could not compile used unit 'KOLMHFontDialog.pas'
I tried replacing manually changing ID_SELF to PAnsiChar and also TLogFont with TLogFontW but the dialog does not return the correct font.
Any other suggestions please? -
Дмитрий К © (13.03.10 09:26) [4]Try this: http://slil.ru/28786413 . KOL only.
-
Jon © (13.03.10 13:45) [5]Thank you Dmitry, it works well. I shall study your changes.