![]() |
| ||
|
|
Новости |
Поиск |
FAQ |
Статьи |
Книги |
Новости VCL
| | Форумы ЧАТ |
Орешник |
|
| |||
| |||
« предыдущая ветвь | форум | следующая ветвь »
XP Theme ? [Delphi, Windows]
Dodfr © (2006-02-10 11:10:00)Hello,
I added an MHXP control on my form thinking that it would activate XP theme compatibility but the application is still displayed with standard Windows style listboxes or buttons components.
How to make D6+KOL applications XP Theme compatible ?
Regards.
denis111 (2006-02-10 13:19:00) [1]you can just make manifest yourself(take from any exe) and make it as resource.
AFAIR: make xpman.rc file, with notepad add string:
1 24 xpman
xpman is file with xp-manifest. And make resource with brcc32:
brcc32 xpman.rc
You'll have xpman.RES file.
now just add to your project: {$R xpman.RES}
Dodfr (2006-02-10 13:14:00) [2]External property was set to "true" by default so no MANIFEST was included, now it works.
Thanks
Dodfr (2006-02-10 13:09:00) [3]It seems that there is no MANIFEST resource into the compiled .exe file.
_Gandalf_ (2006-02-10 11:49:00) [4]Very strange. As I know it works with "old" version of MCK, but now I don't know. Try to check if manifest resource in your application and use InitCommonControls() in your code (MHXP must do itself).