Dear Anotonio,
I use FONT 'Tahoma' in oMenu FONT. The screen paint very slow display and strange screen.
aFonts := { -16, 0, 0, 0, 400, .F., .F., .F., 0, 3, 2, 1, 34, 'Tahoma' }
DEFINE FONT oFontMenu NAME cFont SIZE 0, -16
oFontMenu:hFont := CreateFont( aFonts )
// 400
aFonts := { -16, 0, 0, 0, 0, .F., .F., .F., 222, 3, 2, 1, 34, 'Tahoma' }
//oFontMenu := TFont():New( "Tahoma", 0, -16,,,,, 400,,,, 178, 3, 2, 1, )
DEFINE FONT oFontMenu NAME cFont SIZE 0, -16 //CHARSET 222 WEIGHT 400 //cFont // [ WEIGHT <nWeight> ] ;
oFontMenu:hFont := CreateFont( aFonts )
nhlf = lf.lfWeight * 2;
nhlf = lf.lfHeight * 2;
@echo off
SET FWH=D:\FWH1506
SET XHB=D:\xHarbour1506
SET BCC=D:\BCC7
%BCC%\bin\bcc32 /O2 /c /D__HARBOUR__ /I%BCC%\include;%fwh%\include;%XHB%\include menudraw.c >comp.log
IF ERRORLEVEL 1 GOTO COMPILERROR
IF EXIST menudraw.obj %BCC%\bin\Tlib %FWH%\LIB\fivehc32 +menudraw.obj > Lib.log
ECHO Fivehc32.lib was successful
GOTO END
:COMPILERROR
ECHO Borland Compiler error see comp.log
:END
Embarcadero C++ 7.00 for Win32 Copyright (c) 1993-2015 Embarcadero Technologies, Inc.
menudraw.c:
Warning W8065 menudraw.c 712: Call to function 'hb_parvnl' with no prototype in function HB_FUN_SET2013SKINMENU
Warning W8065 menudraw.c 714: Call to function 'hb_parvnl' with no prototype in function HB_FUN_SET2013SKINMENU
Warning W8065 menudraw.c 722: Call to function 'hb_parvnl' with no prototype in function HB_FUN_SET2013SKINMENU
Warning W8065 menudraw.c 724: Call to function 'hb_parvnl' with no prototype in function HB_FUN_SET2013SKINMENU
Warning W8065 menudraw.c 728: Call to function 'hb_parvnl' with no prototype in function HB_FUN_SET2013SKINMENU
Warning W8065 menudraw.c 730: Call to function 'hb_parvnl' with no prototype in function HB_FUN_SET2013SKINMENU
Warning W8065 menudraw.c 734: Call to function 'hb_parvnl' with no prototype in function HB_FUN_SET2013SKINMENU
Warning W8065 menudraw.c 736: Call to function 'hb_parvnl' with no prototype in function HB_FUN_SET2013SKINMENU
Warning W8065 menudraw.c 740: Call to function 'hb_parvnl' with no prototype in function HB_FUN_SET2013SKINMENU
Warning W8065 menudraw.c 742: Call to function 'hb_parvnl' with no prototype in function HB_FUN_SET2013SKINMENU
Warning W8065 menudraw.c 748: Call to function 'hb_parvnl' with no prototype in function HB_FUN_SET2013SKINMENU
Warning W8065 menudraw.c 750: Call to function 'hb_parvnl' with no prototype in function HB_FUN_SET2013SKINMENU
Warning W8065 menudraw.c 755: Call to function 'hb_parvnl' with no prototype in function HB_FUN_SET2013SKINMENU
Warning W8065 menudraw.c 757: Call to function 'hb_parvnl' with no prototype in function HB_FUN_SET2013SKINMENU
Warning W8065 menudraw.c 761: Call to function 'hb_parvnl' with no prototype in function HB_FUN_SET2013SKINMENU
Warning W8065 menudraw.c 763: Call to function 'hb_parvnl' with no prototype in function HB_FUN_SET2013SKINMENU
Warning W8065 menudraw.c 927: Call to function 'hb_parvnl' with no prototype in function HB_FUN_SETFWSKINMENU
Warning W8065 menudraw.c 928: Call to function 'hb_parvnl' with no prototype in function HB_FUN_SETFWSKINMENU
Warning W8065 menudraw.c 929: Call to function 'hb_parvnl' with no prototype in function HB_FUN_SETFWSKINMENU
Warning W8065 menudraw.c 932: Call to function 'hb_parvnl' with no prototype in function HB_FUN_SETFWSKINMENU
Warning W8065 menudraw.c 933: Call to function 'hb_parvnl' with no prototype in function HB_FUN_SETFWSKINMENU
Warning W8065 menudraw.c 934: Call to function 'hb_parvnl' with no prototype in function HB_FUN_SETFWSKINMENU
Warning W8065 menudraw.c 2001: Call to function 'hb_storvni' with no prototype in function HB_FUN_GETDRAWISR
Warning W8065 menudraw.c 2002: Call to function 'hb_storvni' with no prototype in function HB_FUN_GETDRAWISR
Warning W8065 menudraw.c 2003: Call to function 'hb_storvni' with no prototype in function HB_FUN_GETDRAWISR
Warning W8065 menudraw.c 2004: Call to function 'hb_storvni' with no prototype in function HB_FUN_GETDRAWISR
Warning W8065 menudraw.c 2005: Call to function 'hb_storvni' with no prototype in function HB_FUN_GETDRAWISR
Warning W8065 menudraw.c 2006: Call to function 'hb_storvni' with no prototype in function HB_FUN_GETDRAWISR
Warning W8065 menudraw.c 2007: Call to function 'hb_storvni' with no prototype in function HB_FUN_GETDRAWISR
Warning W8065 menudraw.c 2008: Call to function 'hb_storvni' with no prototype in function HB_FUN_GETDRAWISR
Warning W8065 menudraw.c 2009: Call to function 'hb_storvni' with no prototype in function HB_FUN_GETDRAWISR
Warning W8065 menudraw.c 2010: Call to function 'hb_storvni' with no prototype in function HB_FUN_GETDRAWISR
Warning W8065 menudraw.c 2011: Call to function 'hb_storvni' with no prototype in function HB_FUN_GETDRAWISR
Warning W8065 menudraw.c 2012: Call to function 'hb_storvnd' with no prototype in function HB_FUN_GETDRAWISR
Warning W8065 menudraw.c 2028: Call to function 'hb_storvni' with no prototype in function HB_FUN_GETMEAUSUR
Warning W8065 menudraw.c 2029: Call to function 'hb_storvni' with no prototype in function HB_FUN_GETMEAUSUR
Warning W8065 menudraw.c 2030: Call to function 'hb_storvni' with no prototype in function HB_FUN_GETMEAUSUR
Warning W8065 menudraw.c 2031: Call to function 'hb_storvni' with no prototype in function HB_FUN_GETMEAUSUR
Warning W8065 menudraw.c 2032: Call to function 'hb_storvni' with no prototype in function HB_FUN_GETMEAUSUR
Warning W8065 menudraw.c 2033: Call to function 'hb_storvnd' with no prototype in function HB_FUN_GETMEAUSUR
Warning W8065 menudraw.c 2178: Call to function 'hb_storvni' with no prototype in function HB_FUN_MINFOMIMENU
Warning W8065 menudraw.c 2179: Call to function 'hb_storvni' with no prototype in function HB_FUN_MINFOMIMENU
Warning W8065 menudraw.c 2180: Call to function 'hb_storvni' with no prototype in function HB_FUN_MINFOMIMENU
Warning W8065 menudraw.c 2181: Call to function 'hb_storvni' with no prototype in function HB_FUN_MINFOMIMENU
TLIB 6.4 Copyright (c) 1987-2014 Embarcadero Technologies, Inc.
Error: Bad header in input LIB
cnavarro wrote:Dear Dutch
Fixed and Solved
Line 1064
File: \Fwh\source\winapi\menudraw.c
- Code: Select all Expand view RUN
nhlf = lf.lfWeight * 2;
replace with
- Code: Select all Expand view RUN
nhlf = lf.lfHeight * 2;
Thanks
Antonio Linares wrote:Dutch,
Are you using FWH 15.06 build 2 ?
Antonio Linares wrote:Dutch,
I email you modified FWH libs, please try it again with them, thanks
Antonio Linares wrote:Dutch,
I email you modified FWH libs, please try it again with them, thanks
Return to FiveWin for Harbour/xHarbour
Users browsing this forum: No registered users and 85 guests