Menus tipo office 2003 y XP

Arturo Tamayo Daza
Posts: 29
Joined: Thu Oct 20, 2005 1:35 pm
Contact:

Menus tipo office 2003 y XP

Post 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
Ruben Fernandez
Posts: 366
Joined: Wed Aug 30, 2006 5:25 pm
Location: Uruguay

Post by Ruben Fernandez »

Arturo:

Funciona espectacularmente!!!!

Muchas Gracias

Ruebn Fernandez.
FWH, Harbour, Borland
User avatar
Alfredo Arteaga
Posts: 326
Joined: Sun Oct 09, 2005 5:22 pm
Location: Mexico
Contact:

Post by Alfredo Arteaga »

Excelente!!!, gracias por la aportación.
User avatar
Silvio
Posts: 3107
Joined: Fri Oct 07, 2005 6:28 pm
Location: Teramo,Italy

Post by Silvio »

This is a good idea but .....
Paco's Menu is the best menu control Xp office
U can set from one to 14 style type menus
Best Regards, Saludos

Falconi Silvio
User avatar
Maurilio Viana
Posts: 252
Joined: Tue Oct 25, 2005 2:48 pm
Location: Garça/Garza/Heron City - Brazil
Contact:

Post by Maurilio Viana »

Silvio wrote:This is a good idea but .....
Paco's Menu is the best menu control Xp office
U can set from one to 14 style type menus
Silvio,

Paco's menu have a lot of styles etc etc but... isn't free and the source code isn't published...
This Arturo's menu is very nice and the source is provided then we can change and enhance it to turn very so good like Paco's menu.

Regards
Maurilio
areang
Posts: 128
Joined: Mon Jul 31, 2006 3:23 pm

Post by areang »

Hi Mr. Maurilio !

>>This Arturo's menu is very nice and the source is provided then we can >>change and enhance it to turn very so good like Paco's menu.

How to get this source code ?
I can't understand spanish on that site ( www.quark-costos.com )

Regards
Areang
Rossine
Posts: 343
Joined: Tue Oct 11, 2005 11:33 am

Post by Rossine »

Olá Arturo,

Parabéns pela excelente classe :D Com isto nossos sistemas ficarão com um visual mais profissional.

Ao executar TESTMENU.EXE me deparei com estes dois bug´s, isto quando uso o teclado:

http://br.geocities.com/qiinformatica2000/menuxper.PNG

E outro seria, SETA PARA CIMA e SETA PARA BAIXO
é quando passo encima de um SEPARATOR, a proxima opção não é selecionada, preciso teclar duas vezes para poder selecionar a opção.

Teria como corrigir este bugs ?

Obrigado e congratulations,

Rossine.
horacio
Posts: 1270
Joined: Wed Jun 21, 2006 12:39 am
Location: Capital Federal Argentina

Post by horacio »

Arturo

Excelente esta clase. Pero tengo un inconveniente. Cuando compilo con xHarbour me dá el siguiente error.
Error: Unresolved external '_hb_stack ' referenced from gradfill.obj
Alguna idea ?? Muchas gracias
User avatar
Baxajaun
Posts: 853
Joined: Wed Oct 19, 2005 2:17 pm
Location: Gatika. Bizkaia

Post by Baxajaun »

Hi Areang,

first you must register to download in

http://www.quark-costos.com/index.php?o ... =registers

Later, you can download the source from:

http://www.quark-costos.com/index.php?o ... info&id=15

Arturo, very nice and great job my friend !!!!

Best regards,

Felix
User avatar
Patricio Avalos Aguirre
Posts: 1028
Joined: Fri Oct 07, 2005 1:56 pm
Location: La Serena, Chile
Contact:

Post by Patricio Avalos Aguirre »

Al compilar Menus.C, me arroja este error

Code: Select all

Compiling...
c:\borland\bcc55\bin\bcc32 -M -c -v -Ic:\harbour\include MENUS.C
RMAKE 1.5  Copyright (c) 1989-1995 Computer Associates International, Inc.
Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland
MENUS.C:
Error E2141 MENUS.C 224: Declaration syntax error
*** 1 errors in Compile ***
Error RMAKE/R2001  Exit 1: 'c:\borland\bcc55\bin\bcc32 -M -c -v -Ic:\harbour\inc
lude MENUS.C'
Presione una tecla para continuar . . .
aquí esta como compilo

Code: Select all

  c:\harbour\bin\harbour $< /O$@ /a /w /es1 /n /p /gc /ic:\harbour\include

.c.obj:
   c:\borland\bcc55\bin\bcc32 -M -c -v -Ic:\harbour\include $<

Code: Select all

/*
#ifdef __HARBOUR__
   CLIPPER MENUDRAWITEM( PARAMS ) // ( pDrawItemStruct, cPrompt, lTop, hBitmap )
#else
   CLIPPER MENUDRAWIT( PARAMS ) // EM( pDrawItemStruct, cPrompt, lTop, hBitmap )
#endif
*/
Y aqui esta la linea 224

Code: Select all

HARBOUR HB_FUN_ATMENUDRAWITEM( PARAMS ) // ( pDrawItemStruct, cPrompt, lTop, hBitmap,lSeparator,acolor )
{
   LPDRAWITEMSTRUCT lpdis = ( LPDRAWITEMSTRUCT ) _parnl( 1 );
   LPSTR szPrompt = _parc( 2 );
   BOOL bTab = bStrAt( 9, szPrompt );
   WORD wLen;

Saludos
Patricio
Rossine
Posts: 343
Joined: Tue Oct 11, 2005 11:33 am

Post by Rossine »

Olá Pessoal,
E outro seria, SETA PARA CIMA e SETA PARA BAIXO
é quando passo encima de um SEPARATOR, a proxima opção não é selecionada, preciso teclar duas vezes para poder selecionar a opção.
Para resolver isto eu mudei a linha 348 de MENU.PRG

Code: Select all

nOR( MF_DISABLED, MF_OWNERDRAW, MF_GRAYED ) ,;

para:

nOR( MF_DISABLED, MF_OWNERDRAW, MF_GRAYED, MF_SEPARATOR ) ,;

Agora ficou o problema do paint :cry:

Abraços,

Rossine.
Rochinha
Posts: 309
Joined: Sun Jan 08, 2006 10:09 pm
Location: Brasil - Sao Paulo
Contact:

Post by Rochinha »

Amiguinhos

Jo reportei lo seguinte erro:

Em menus POPUP no mostran los SEPARATORs e aparecem

Image
Arturo Tamayo Daza
Posts: 29
Joined: Thu Oct 20, 2005 1:35 pm
Contact:

Post by Arturo Tamayo Daza »

ese error es porque estas compilando con el menu.ch original de fivewin, utiliza eñ menu.ch que se incluye el las fuentes

saludos arturo
Cgallegoa
Posts: 335
Joined: Sun Oct 16, 2005 3:32 am
Location: Quito - Ecuador
Contact:

Post by Cgallegoa »

Arturo, extraordinario aporte.

Millón de gracias y felicidades para el 2077

Saludos, Carlos Gallego
User avatar
vilian
Posts: 795
Joined: Wed Nov 09, 2005 2:17 am
Location: Brazil
Contact:

Post by vilian »

Ao compilar menus.c encontro o mesmo erro !!!

Code:
Compiling...
c:\borland\bcc55\bin\bcc32 -M -c -v -Ic:\xharbour\include MENUS.C
RMAKE 1.5 Copyright (c) 1989-1995 Computer Associates International, Inc.
Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland
MENUS.C:
Error E2141 MENUS.C 224: Declaration syntax error
*** 1 errors in Compile ***
Sds,
Vilian F. Arraes
vilian@vfatec.com.br
Belém-Pa-Brazil
Post Reply