Button in Dialog not themed 7.05

Button in Dialog not themed 7.05

Postby TimStone » Tue Jul 03, 2007 4:55 pm

On the latest FWH release, with the latest xHarbour, running in Vista. On a dialog, my buttons are the old boxy type although the rest of the dialog box sets to the Windows Vista theme. These are regular dialog buttons not bitmap buttons. Why not the rounded theme buttons ?

Example:

In the program code:
REDEFINE BUTTON ID 710 of oDiw ACTION ( oInv:save( ), oDiw:update( ), oLbxin:setfocus( ) );
MESSAGE "Save any changes made to the current inventory item"

And in the RC:

CONTROL "&Save", 710, "Button", WS_TABSTOP, 580, 96, 50, 12

Previously we had themed buttons ...

Tim :shock:

NOW THAT I LOOK MORE CLOSELY I also see that the edit fields are also the boxy squared off version. Didn't we have all of these working cleanly with themes in the past ( rounded like in all the other programs ) or am I just imagining that ?
Tim Stone
http://www.MasterLinkSoftware.com
http://www.autoshopwriter.com
timstone@masterlinksoftware.com
Using: FWH 23.10 with Harbour 3.2.0 / Microsoft Visual Studio Community 2022-24 32/64 bit
User avatar
TimStone
 
Posts: 2945
Joined: Fri Oct 07, 2005 1:45 pm
Location: Trabuco Canyon, CA USA

Postby Antonio Linares » Tue Jul 03, 2007 5:52 pm

Tim,

Please check that you are including WindowsXP.Manifest file in your resources, to get themes support
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42122
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Manifest

Postby TimStone » Tue Jul 03, 2007 7:44 pm

Thats the first thing I checked ... and it is there. The Dialog box and background is fine. The edit fields are dark boxes and the buttons are square boxes ...
Tim Stone
http://www.MasterLinkSoftware.com
http://www.autoshopwriter.com
timstone@masterlinksoftware.com
Using: FWH 23.10 with Harbour 3.2.0 / Microsoft Visual Studio Community 2022-24 32/64 bit
User avatar
TimStone
 
Posts: 2945
Joined: Fri Oct 07, 2005 1:45 pm
Location: Trabuco Canyon, CA USA

I found the problem

Postby TimStone » Tue Jul 03, 2007 8:00 pm

OK ... in the .RC file there is also a reference to the manifest ... or their should be. However, I had updated the file using the Pelles resource compiler, and it eliminated that reference.

I added it in with a text editor and got my themes back.

Its a shame we don't have a stable resource compiler, 32 bit, Vista compatible.
Tim Stone
http://www.MasterLinkSoftware.com
http://www.autoshopwriter.com
timstone@masterlinksoftware.com
Using: FWH 23.10 with Harbour 3.2.0 / Microsoft Visual Studio Community 2022-24 32/64 bit
User avatar
TimStone
 
Posts: 2945
Joined: Fri Oct 07, 2005 1:45 pm
Location: Trabuco Canyon, CA USA

Postby Rick Lipkin » Tue Jul 03, 2007 8:09 pm

Tim

There was an earlier post on a resource ( free ) editor from Resedit .. I have not used it in production .. here is the link if you would like to download and try.

http://www.resedit.net/

Rick Lipkin
SC Dept of Health, USA
User avatar
Rick Lipkin
 
Posts: 2666
Joined: Fri Oct 07, 2005 1:50 pm
Location: Columbia, South Carolina USA


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 46 guests

cron