Newsgroups : Borland : borland.public.delphi.nativeapi.win32 : 2006 Feb : How to disable themes in a window?

www.cryer.info
Managed Newsgroup Archive

How to disable themes in a window?

Subject:How to disable themes in a window?
Posted by:"mikk" (mikk@nospamplease.go2.pl)
Date:Wed, 01 Feb 2006 12:33:57 +0100

Hi,

I'm running some 3rd party automation server application (out of process
.exe automation server) as embedded window in my application window.
This automation server application exposes its main window handle
through the COM interface, so I'm able in an easy way (without
enumerating windows) to embed its window in my application using WinAPI
SetParent function.
The automation server application is using Windows Themes, but my
application is not themed and *will not be*. On Windows XP it looks odd
- some controls are themed, others are not. To avoid this I'd like to
disable theming in the 3rd party application. If it is possible - how to
do it?

TIA,
mikk

Glossary

File Types

Replies:

www.cryer.info
Managed Newsgroup Archive