Page 1 of 2

Menus style office 2003 y xp

Posted: Mon Jan 08, 2007 3:08 pm
by Arturo Tamayo Daza
Aqui les dejo las fuentes para crear menus tipo office 2003 y Xp, basado en las fuentes originales de Fivewin

Pueden descargar de www.quark-costos.com

Felices fiestas

Saludos

Arturo Tamayo Daza

Image

Posted: Mon Jan 08, 2007 4:47 pm
by Taiwan
Hello Arturo,

Very nice. Power tools.

Richard

Posted: Tue Jan 09, 2007 12:16 am
by Antonio Linares
Arturo,

Thanks for your contribution!

Posted: Tue Jan 09, 2007 4:06 am
by areang
Mr. Arturo

Nice !

It's free for me ?

I can't understand spanish.

Regards
Areang

Posted: Tue Jan 09, 2007 2:45 pm
by Baxajaun
Hi Areang,

look at http://fivetechsoft.com/forums/viewtopic.php?t=5567

Best regards,

Felix

Posted: Wed Jan 10, 2007 12:30 am
by Arturo Tamayo Daza
areang

you have to confirm your e-mail, which one was sending to you to reconfirm the register.
You have to enter to the web side, and seek in the menu the option "descargar" ( download), there is a section "fivewin", where you can find the menu download.

you have to check your name (usuario) and password (clave) in "formulario de acceso".

regard

Posted: Wed Jan 10, 2007 1:22 am
by areang
Mr. Arturo !

Thank' for reply

I have reply this message to my email.
Mensaje desde 'www.quark-costos.com'

Mensaje:
Pueden bajar la ultima modificacion de menus

se ha corregido los bugs reportados

saludos

Arturo Tamayo Daza
But I forgot my UserName.
Please Help me

Thank's[/quote]

Posted: Wed Jan 10, 2007 4:57 am
by hua
An excellent piece of work Anturo! :D

Thank you very much!

Posted: Wed Jan 10, 2007 2:53 pm
by RAMESHBABU
Arturo,

Excellent Contribution.

When I checked the "TESTMENU.PRG" I am not getting the output the
way it is shown in the picture above.

There is no black square boarder for the hilighted menu item and it is
not strenching fully in the box, but limited from the gradient side bar
(on which the the icons are painted) to end of the box.
Am I missing any parameter in the TESTMENU.PRG ?

Thank you very much

Regards

- Ramesh Babu P

Posted: Thu Jan 11, 2007 2:43 am
by hua
Let's say we have a menu defined as below:

Code: Select all

MENU oMenu ;
 COLORMENU ... ;
 COLORBMP ... ;
 COLORSELECT ... ;
 COLORSEPARATOR ... ;
    MENU "&File ;
      COLORMENU ... ;
      COLORBMP ... ;
      COLORSELECT ... ;
       COLORSEPARATOR ... ;
       MENU "New" ACTION "Open()"
       MENU "Close" ACTION "CloseIt()"
    ENDMENU
    MENU "&Edit" ;
      COLORMENU ... ;
      COLORBMP ... ;
      COLORSELECT ... ;
       .
       .
    ENDMENU
ENDMENU 
From my tests, it looks like COLORMENU, COLORBMP, etc need to be defined for every occcurence of MENU. What could be done so that if the colors are specified at oMenu level, the rest would auto use that color unless it's specifically specified?

Posted: Thu Jan 11, 2007 4:14 am
by RAMESHBABU
Mr.Arturo,

I was testing the class. It is working Ok to the expectaed, execept :

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

c) In response to Mr.Hua's point, I suggest you that, you can add an
additional parameter oMenu:aColorScheme which can be defined by the
user only once in his program and is used by the class for all the menus
and sub-menus automatically. Currently I have modified the default
colors in the ::New() method, with my choice of colors without
changing my existing application code.

I Hope you will pay some attention to the above points and post the
changes in the class.

Thanks to you and once again say that it is an excellent and very much
needed class.

Regards,

- Ramesh Babu P

Posted: Sat Jan 13, 2007 2:09 am
by areang
Mr. Arturo.

Thank's for your help and email

Regards
Areang

Posted: Sat Jan 13, 2007 11:03 pm
by George
Excelente contribucion!!!

Tengo un problema al tratar de compilarlo con xHarbour comercial:
xHarbour Builder Pro January 2007 + FWH 2.8 (Sep 2006)

LOS ARCHIVOS EN C NO COMPILAN

Alguna sugerencia. o Algun compaƱero que tenga el archivo .XBP para xBuilder?

Saludos


George

Posted: Sun Jan 14, 2007 3:43 am
by areang
Mr. George
Tengo un problema al tratar de compilarlo con xHarbour comercial:
xHarbour Builder Pro January 2007 + FWH 2.8 (Sep 2006)
If you mean error when used xBuildW, you must recompile menus.c with xCC.EXE manualy.

xCC.exe -Ot menus.c /ic:\your include header files

add your obj to your project .XBP file

I have done with this

regards
Areang

Posted: Sun Jan 14, 2007 5:10 pm
by George
Hi Areang

I did try to compile but I get some errors.

Could you please send to my email "georgeabinader@msn.com" the menus.obj and gradfill.obj files?

Regards


George