🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.cppbuilder.nativeapi
3 messages
3 total messages Started by Wiebe Vos Tue, 01 May 2007 08:52
How to modify Form Title Bar while using Vista Theme?
#2086
Author: Wiebe Vos
Date: Tue, 01 May 2007 08:52
14 lines
1435 bytes
We're using BCB6.
In order to control colors and position, we display the caption on title bar 
of
our forms via DrawText() on a canvas. Up till WinXP no problem.
However in Windows Vista (bussiness ed), with Theme in Display Properties
(<Start><Control Center><Appearance and Themes><Change the computer's 
theme>)
set to 'Windows Vista', no text at all is displayed on the title bar.
When Theme is set to 'Windows Classic' the text is displayed as usual.

Any suggestion how to solve this?

Thanks in advance,
Wiebe 
Re: How to modify Form Title Bar while using Vista Theme?
#2093
Author: Wiebe Vos
Date: Wed, 02 May 2007 12:20
10 lines
1223 bytes
After more searching, I do now realize that I have to deal with the Vista
Aero Glass and DWM bussiness.
There is an interesting article on: 
http://www.codeproject.com/vista/VGGlassIntro.asp

However I can nowhere find the files dwmapi.h and dwmapi.dll on my machine
to start with.
Any suggestion how to proceed any further?

Wiebe 
Re: How to modify Form Title Bar while using Vista Theme?
#2002
Author: Bob Gonder
Date: Thu, 03 May 2007 21:23
6 lines
1210 bytes
Wiebe Vos wrote:

>However I can nowhere find the files dwmapi.h and dwmapi.dll on my machine
>to start with.

http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=1398185&SiteID=1
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads