Yes.
Here's the sample codes (
EXPANDED)
.PRG
Code: Select all
#include "FiveWin.ch"
function Main()
local oFnt, oDlg, oFld, oGrp
local oFnt2
DEFINE FONT oFnt NAME "Verdana" SIZE 0, -16 BOLD
DEFINE FONT oFnt2 NAME "Verdana" SIZE 0, -12
DEFINE DIALOG oDlg FONT oFnt RESOURCE 'TRY_DLG'
REDEFINE FOLDER oFld ID 903 OF oDlg;
PROMPTS "One", "Two", "Three";
DIALOGS 'GRP_DLG','BLANK_DLG','BLANK_DLG';
FONT oFnt
ACTIVATE DIALOG oDlg CENTERED;
ON INIT oFld:aDialogs[1]:SetFont( oFnt2 )
return nil
.RC
Code: Select all
1 MANIFEST "xpman.xml"
TRY_DLG DIALOG 1, 1, 160, 111
STYLE WS_POPUP | WS_CAPTION | WS_SYSMENU
{
CONTROL "", 903, "SysTabControl32", 0 | WS_CHILD | WS_VISIBLE, 5, 7, 149, 100
}
GRP_DLG DIALOG 1, 1, 99, 51
STYLE WS_CHILD | WS_CLIPCHILDREN
{
GROUPBOX "Group", 101, 6, 7, 85, 34, BS_GROUPBOX
}
BLANK_DLG DIALOG 1, 1, 95, 61
STYLE WS_CHILD | WS_SYSMENU
{
}
RESULTS
That's the problem there. The groupbox should be of different font against the font of TFolder.
I hope we can make some workaround.. Vista is not my concern.. Only XP.
Best regards,