FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin para Harbour/xHarbour Menus tipo office 2003 y XP
Posts: 29
Joined: Thu Oct 20, 2005 01:35 PM
Menus tipo office 2003 y XP
Posted: Mon Jan 08, 2007 03:05 PM
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

Posts: 366
Joined: Wed Aug 30, 2006 05:25 PM
Menus tipo office 2003 y XP
Posted: Mon Jan 08, 2007 09:00 PM

Arturo:

Funciona espectacularmente!!!!

Muchas Gracias

Ruebn Fernandez.
FWH, Harbour, Borland

Gracias y Saludos

Ruben Fernandez - Uruguay

FWH 11.06, Harbour, Borland 5.82
Posts: 326
Joined: Sun Oct 09, 2005 05:22 PM
Menus tipo office 2003 y XP
Posted: Mon Jan 08, 2007 09:02 PM

Excelente!!!, gracias por la aportación.

Posts: 3107
Joined: Fri Oct 07, 2005 06:28 PM
Menus tipo office 2003 y XP
Posted: Tue Jan 09, 2007 09:58 AM

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
Posts: 252
Joined: Tue Oct 25, 2005 02:48 PM
Menus tipo office 2003 y XP
Posted: Tue Jan 09, 2007 10:33 AM
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
Posts: 128
Joined: Mon Jul 31, 2006 03:23 PM
Menus tipo office 2003 y XP
Posted: Tue Jan 09, 2007 11:18 AM

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

Posts: 344
Joined: Tue Oct 11, 2005 11:33 AM
Menus tipo office 2003 y XP
Posted: Tue Jan 09, 2007 01:45 PM
Olá Arturo,

Parabéns pela excelente classe :-) 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.
Obrigado, Regards, Saludos



Rossine.



Harbour and Harbour++
Posts: 1364
Joined: Wed Jun 21, 2006 12:39 AM
Menus tipo office 2003 y XP
Posted: Tue Jan 09, 2007 02:43 PM

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

Posts: 990
Joined: Wed Oct 19, 2005 02:17 PM
Menus tipo office 2003 y XP
Posted: Tue Jan 09, 2007 02:44 PM

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 ... infoid=15

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

Best regards,

Felix

&
Posts: 1074
Joined: Fri Oct 07, 2005 01:56 PM
Menus tipo office 2003 y XP
Posted: Tue Jan 09, 2007 02:46 PM
Al compilar Menus.C, me arroja este error

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

  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 $<



/*
#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

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
Saludos
Patricio

__________________________________________________________________
Version: Harbour 3.2.0dev (r1307082134),Compiler: Borland C++ 5.8.2 (32-bit)
PCode version: 0.3, FWH 13.2
http://www.sialm.cl
Posts: 344
Joined: Tue Oct 11, 2005 11:33 AM
Menus tipo office 2003 y XP
Posted: Tue Jan 09, 2007 08:42 PM
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

nOR( MF_DISABLED, MF_OWNERDRAW, MF_GRAYED ) ,;

para:

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


Agora ficou o problema do paint :-)

Abraços,

Rossine.
Obrigado, Regards, Saludos



Rossine.



Harbour and Harbour++
Posts: 310
Joined: Sun Jan 08, 2006 10:09 PM
Menus tipo office 2003 y XP
Posted: Tue Jan 09, 2007 10:07 PM
Amiguinhos

Jo reportei lo seguinte erro:

Em menus POPUP no mostran los SEPARATORs e aparecem

Posts: 29
Joined: Thu Oct 20, 2005 01:35 PM
Menus tipo office 2003 y XP
Posted: Tue Jan 09, 2007 11:17 PM

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

Posts: 514
Joined: Sun Oct 16, 2005 03:32 AM
Menus tipo office 2003 y XP
Posted: Tue Jan 09, 2007 11:52 PM

Arturo, extraordinario aporte.

Millón de gracias y felicidades para el 2077

Saludos, Carlos Gallego

Saludos,



Carlos Gallego



*** FWH-25.12, xHarbour 1.3.1 Build 20241008, Borland C++7.70, PellesC, ADS 11.1***

Posts: 1067
Joined: Wed Nov 09, 2005 02:17 AM
Menus tipo office 2003 y XP
Posted: Wed Jan 10, 2007 01:11 AM

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