[img] http://www.quark-costos.com/downloads/menu2.jpg
Saludos
Arturo
a) When I tried to change to prompt of the menu item using
oMenu:SetPrompt(..) or oMenu:cCaption(..) the gradiation effect is
lost and the system's default gray color with blue highlite is appearing.
b) When the menu are displayed in WIN98 the Hilite bar is painted from
the place where the Icon is ended at the right side and the bar is not
painted on the icon also. But is same functionality is working OK in
WinXp
When I try to compile the testmenu.prg I get the errors shown below. I see the lightColor() function in gradient.c, but I do not see colorMenu() or colorSubMenu(). I am using the buildh.bat file that came with the same (modified for my paths), and FWH 2.7, Aug 2006 build with BCC and xHarbour.
The gradient.obj file is getting linked but the linker doesn't see lightColor() for some reason. I can't find the other two functions anywhere.
Any ideas?
James
Compiling...
xHarbour Compiler build 0.99.61 (SimpLex)
Copyright 1999-2006, http://www.xharbour.org http://www.harbour-project.org/
Compiling 'TESTMENU.prg' and generating preprocessed output to 'TESTMENU.ppo'...
100
200
Lines 266, Functions/Procedures 4
Generating C source output to 'TESTMENU.c'...
Done.
Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland
TESTMENU.c:
Borland Resource Compiler Version 5.40
Copyright (c) 1990, 1999 Inprise Corporation. All rights reserved.
Error TESTMENU.RC 5 15: Cannot open file: d:/fw25/bitmaps/16x16/new.bmp
Turbo Incremental Link 5.00 Copyright (c) 1997, 2000 Borland
Error: Unresolved external '_HB_FUN_LIGHTCOLOR' referenced from C:\FW\MISC\MENUSAT\TESTMENU.OBJ
Error: Unresolved external '_HB_FUN__COLORMENU' referenced from C:\FW\MISC\MENUSAT\TESTMENU.OBJ
Error: Unresolved external '_HB_FUN__COLORSUBMENU' referenced from C:\FW\MISC\MENUSAT\TESTMENU.OBJ
* There are errors
but I do not see colorMenu() or colorSubMenu()
The gradient.obj file is getting linked but the linker doesn't see lightColor() for some reason.
Ramesh,
>These two functions are present in menus.c. You have to compile
menus.c and add menus.obj to the link script.
Ah, yes, I see them now. I thought I had looked in all the files, but I guess I missed that one.
>There is no such file gradient.obj supplied in the zip. It is GRADFILL.C
in which LightColor() function is present.
Sorry, I meant gradfill.obj. Both gradfill.obj and menus.obj are getting linked but I am getting the errors. See section of buildh.bat below.
James
echo menu.obj + >> b32.bc
echo Mru.obj + >> b32.bc
echo gradfill.obj + >> b32.bc
echo menus.obj + >> b32.bc
echo menuitem.obj + >> b32.bc
echo pdmenu.obj, + >> b32.bc
@ECHO OFF
CLS
ECHO ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿
ECHO ³ FiveWin for xHarbour 2.8 - September 2006 xHarbour development power ³Ü
ECHO ³ (c) FiveTech, 1993-2006 for Microsoft Windows 95/98/NT/2000/ME and XP ³Û
ECHO ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙÛ
ECHO ßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßß
if A%1 == A GOTO :SINTAX
if NOT EXIST %1.prg GOTO :NOEXIST
ECHO Compiling...
set hdir=c:\xharbour
set bcdir=c:\bcc55
%hdir%\bin\harbour %1 /n /i..\include;%hdir%\include /w /p %2 %3 > clip.log
%hdir%\bin\harbour menu /n /i..\include;%hdir%\include /w /p %2 %3 >> clip.log
%hdir%\bin\harbour menuitem /n /i..\include;%hdir%\include /w /p %2 %3 >> clip.log
%hdir%\bin\harbour pdmenu /n /i..\include;%hdir%\include /w /p %2 %3 >> clip.log
%hdir%\bin\harbour mru /n /i..\include;%hdir%\include /w /p %2 %3 >> clip.log
@type clip.log
IF ERRORLEVEL 1 PAUSE
IF ERRORLEVEL 1 GOTO EXIT
echo -O2 -e%1.exe -I%hdir%\include %1.c > b32.bc
echo -O2 -e%1.exe -I%hdir%\include menu.c >> b32.bc
echo -O2 -e%1.exe -I%hdir%\include menuitem.c >> b32.bc
echo -O2 -e%1.exe -I%hdir%\include pdmenu.c >> b32.bc
echo -O2 -e%1.exe -I%hdir%\include mru.c >> b32.bc
rem echo -O2 -e%1.exe -I%hdir%\include gradfill.c >> b32.bc
%bcdir%\bin\bcc32 -M -c -v @b32.bc
:ENDCOMPILE
IF EXIST %1.rc %bcdir%\bin\brc32 -r %1
echo c0w32.obj + > b32.bc
echo %1.obj + >> b32.bc
echo menu.obj + >> b32.bc
echo gradfill.obj + >> b32.bc
echo menu.obj + >> b32.bc
echo menus.obj + >> b32.bc
echo menuitem.obj + >> b32.bc
echo pdmenu.obj + >> b32.bc
echo mru.obj, + >> b32.bc
echo %1.exe, + >> b32.bc
echo %1.map, + >> b32.bc
echo c:\fwh\lib\Fivehx.lib c:\fwh\lib\FiveHC.lib + >> b32.bc
echo %hdir%\lib\rtl.lib + >> b32.bc
echo %hdir%\lib\vm.lib + >> b32.bc
echo %hdir%\lib\gtgui.lib + >> b32.bc
echo %hdir%\lib\lang.lib + >> b32.bc
echo %hdir%\lib\macro.lib + >> b32.bc
echo %hdir%\lib\rdd.lib + >> b32.bc
echo %hdir%\lib\dbfntx.lib + >> b32.bc
echo %hdir%\lib\dbfcdx.lib + >> b32.bc
echo %hdir%\lib\dbffpt.lib + >> b32.bc
echo %hdir%\lib\hbsix.lib + >> b32.bc
echo %hdir%\lib\debug.lib + >> b32.bc
echo %hdir%\lib\common.lib + >> b32.bc
echo %hdir%\lib\pp.lib + >> b32.bc
rem Uncomment these two lines to use Advantage RDD
echo %hdir%\lib\rddads.lib + >> b32.bc
echo %hdir%\lib\Ace32.lib + >> b32.bc
echo %bcdir%\lib\cw32.lib + >> b32.bc
echo %bcdir%\lib\import32.lib + >> b32.bc
echo %bcdir%\lib\psdk\odbc32.lib + >> b32.bc
echo %bcdir%\lib\psdk\rasapi32.lib + >> b32.bc
echo %bcdir%\lib\psdk\nddeapi.lib + >> b32.bc
echo %bcdir%\lib\psdk\iphlpapi.lib, >> b32.bc
IF EXIST %1.res echo %1.res >> b32.bc
rem uncomment this line to use the debugger and comment the following one
rem %bcdir%\bin\ilink32 -Gn -Tpe -s -v @b32.bc
%bcdir%\bin\ilink32 -Gn -aa -Tpe -s -v @b32.bc
IF ERRORLEVEL 1 GOTO LINKERROR
ECHO * Application successfully built
rem %1
GOTO EXIT
ECHO
rem delete temporary files
@del %1.c
:LINKERROR
ECHO * There are errors
GOTO EXIT
:SINTAX
ECHO SYNTAX: Build [Program] {-- No especifiques la extensi¢n PRG
ECHO {-- Don't specify .PRG extension
GOTO EXIT
:NOEXIST
ECHO The specified PRG %1 does not exist
:EXITRamesh,
I found the problem. I was calling the wrong batch file. Now it is compiling fine. Thanks for your help.
James
Add) Office Style 2003
Why Office style 2003?
This style is 4 years old and old fashioned.
Let’s start with RibbonBar. That is Office style 2007!
Regards
Otto
This style is 4 years old and old fashioned.
Let’s start with RibbonBar. That is Office style 2007!
I agree with Ramesh.
Otto, this is 2nd topic you let "us down" and try minimize our efforts to develop any new in FW.
What you gain with this type of comment?
Regards,
Maurilio
Hello Maurilio,
>you let "us down" . That's not my intention.
I only asked: Why Office style 2003?
Isn't it the truth that this style is 4 years old and with the upcoming of Office 2007 old fashioned?
Please keep in mind that Fivewin is my main development tool and my whole company depends on this product. I get nervous seeing that the combined efforts go in a wrong direction.
What I need immediately is RibbonBar supported by Fivetech, a better browser supported by Fivetech and an IDE and an outlook how and when Fivewin will support DOT.NET framework.
Regards
Otto
Otto,
>>you let "us down" . That's not my intention.
>I only asked: Why Office style 2003?
>Isn't it the truth that this style is 4 years old and with the upcoming of Office 2007 old fashioned?
I think there is a need for both. One can add this new menu with minimal effort and have a new interface right away.
The ribbonbar is so new that I think we need some time to figure out how best to apply it to database applications--or if it is a good solution. As I think I have pointed out before, the ribbonbar is aimed mostly at formatting documents. I'm not sure how well it will apply to database applications. I do think we need to look into this, because I do think the ribbon is a good marketing feature.
>Please keep in mind that Fivewin is my main development tool and my whole company depends on this product. I get nervous seeing that the combined efforts go in a wrong direction.
I understand your point, but the Office 2003 menu seems to be pretty much developed so I don't think this is going to impact any other developments.
>What I need immediately is RibbonBar supported by Fivetech, a better browser supported by Fivetech and an IDE and an outlook how and when Fivewin will support DOT.NET framework.
CanalFive's ribbonbar is already available.
What browser features do you need that we don't have? The documentation for the browses is not all that good, so perhaps one of them can already do what you want.
Have you looked at the UltraEdit IDE--a number of people are already using it including Antonio. Developing a new IDE would take thousands of man-hours.
Going to .NET is going to require a large effort develop the language end and also there is a very large learning curve for developers (at least for those not already using Visual Studio). I have spent several hundred hours on it and it would take hundreds more before I could develop the most simple application.
There already is an xBase .NET language if you are interested. It is called CULE and has been under development for a number of years.
Regards,
James
Hello James,
Thanks for anwer.
What I don't understand is how Xailer was able to develop an IDE and a language from zero in such a short time meanwhile Fivewin had up from version 2.2 a IDE prototype and now hasn't even plans for an IDE
anymore.
>CanalFive's ribbonbar is already available.
I am in contact with Paco.
Please see your private post.
Regards
Otto
Otto,
How do you imagine a FW IDE ? What should it change from what you have now ?
You are already using a source code editor (the one of your choice) and a resources editor. How a FW IDE will improve that ? How will it help you to improve your development work ?
As James has said, I personally use UEStudio as it is very usefull
when i can download the last version, the site is down....