Master, me gusta C5MENU y C5TOOLTIP. Donde puedo bajar completo?
Gracias.
// +---------------------------------------+
// | C5MENU 32bits v1.2 Â Â Â MENU.PRG Â Â |
// | Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â |
// | AUTOR: Francisco GarcÃa  [España]   |
// | ADAPTACION A 32BITS: Â Â Â Â Â Â Â Â Â |
// |     Juan Carlos Salinas Ojeda    |
// |     jcso@esm.com.mx         |
// | Â Â Â Â jcso@hotmail.com (solo msn) Â Â |
// | Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â |
// | AGRADECIMIENTO ESPECIAL: Gracias mil  |
// | a Paco GarcÃa por cederme su código y |
// | tenerme la confianza de poder hacer  |
// | algo productivo para la comunidad. Â Â |
// | Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â |
// | 05 de Julio de 2005,  México DF    |
// | Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â |
// +---------------------------------------+
// #ifndef _MENU_CH
// #define _MENU_CH
//----------------------------------------------------------------------------//
// Creating PullDown Menus from source code
#xcommand C5MENU [ <oObjMenu> Â Â Â ] ;
       [ <popup: POPUP>    ] ;
       [ BITMAP <cBitmap>   ] ;
       [ LOGO  <cBmpLogo>   ] ;
       [ LOGOCOLOR <nLogoClr> ] ;
       [ COLOR  <nClrText>, <nClrPane> ] ;
       [ COLORSEL <nClrTxtSel>, <nClrSelect> ] ;
       [ COLORDISA <nClrDisa> ] ;
       [ COLORBOX <nClrBox> ] ;
       [ WIDTH <nWidth>   ] ;
       [ HEIGHT <nHItem>  ] ;
       [ CHECK <cBmpChk>  ] ;
       [ FONT <oFont>    ] ;
       [ <l3dSel:SELECT 3D>] ;
       [ <lNoChks:NO CHECKS> ] ;
       [ SOUND <cSound1>  ] ;
    => ;
     [ <oObjMenu> := ] C5MenuBegin( <.popup.>, .f., , <cBitmap>,;
      <cBmpLogo>, <nClrPane>, <nHItem>, <cBmpChk>, <oFont>, <nClrText>,;
      <.l3dSel.>, <nWidth>, <.lNoChks.>, <nClrSelect>, <nClrTxtSel>,;
      <nClrDisa>, <cSound1>, <nClrBox>, <nLogoClr> )
#xcommand C5MENUITEM [ <oMenuItem> PROMPT ] [<cPrompt>] ;
       [ MESSAGE <cMsg> ] ;
       [ <checked: CHECK, CHECKED, MARK> ] ;
       [ <enable: ENABLED, DISABLED> ] ;
       [ <file: FILE, FILENAME, DISK> <cBmpFile> ] ;
       [ <resource: RESOURCE, RESNAME, NAME> <cResName> ] ;
       [ ACTION <uAction,...> ] ;
       [ BLOCK <bAction> ] ;
       [ <of: OF, MENU, SYSMENU> <oMenu> ] ;
       [ ACCELERATOR <nState>, <nVirtKey> ] ;
       [ <help: HELP> ] ;
       [ <HelpId: HELP ID, HELPID> <nHelpId> ] ;
       [ WHEN <uWhen>         ] ;
       [ <break: BREAK>        ] ;
       [ COLOR <nClrText>       ] ;
       [ FONT  <oFont>         ] ;
       [ <align: LEFT, CENTER, RIGHT> ] ;
       [ DISAFILE <cDisaBmp> ] ;
       [ DISARES  <cDisaRes> ] ;
       [ ICON <cIcon>    ]  ;
       [ CURSOR <oCursor> ]   ;
       [ <lLink: LINK>   ]   ;
       [ HEIGHT  <nHeight>  ] ;
    => ;
     [ <oMenuItem> := ] C5MenuAddItem( <cPrompt>, <cMsg>,;
       <.checked.>, [ Upper(<(enable)>) == "ENABLED" ],;
       [\{|oMenuItem|<uAction>\}],;
       <cBmpFile>, <cResName>, <oMenu>, <bAction>, <nState>, <nVirtKey>,;
       <.help.>, <nHelpId>, [<{uWhen}>], <.break.>, <nClrText>,;
       <oFont>, [ Upper(<(align)>) ], <cDisaBmp>, <cDisaRes>, ;
       <cIcon>, <oCursor>, <.lLink.>, <nHeight> )
#xcommand C5SEPARATOR [<oMenuItem>] => [<oMenuItem>:=] C5MenuAddItem()
#xcommand c5ENDMENU => C5MenuEnd()
//----------------------------------------------------------------------------//
// Using Window System Menu
#xcommand REDEFINE C5SYSMENU [<oMenu>] ;
       [ <of: OF, WINDOW, DIALOG> <oWnd> ] ;
       [ BITMAP <cBitmap>  ] ;
       [ LOGO  <cBmpLogo> ] ;
       [ COLOR  <nClrText>, <nClrPane> ] ;
       [ HEIGHT <nHItem>  ] ;
       [ CHECK <cBmpChk>  ] ;
       [ FONT <oFont>    ] ;
    => ;
     [<oMenu> :=] C5MenuBegin( .f., .t., <oWnd>, <cBitmap>,;
      <cBmpLogo>, <nClrPane>, <nHItem>, <cBmpChk>, <oFont>, <nClrText> )
#xcommand ENDSYSC5MENU => C5MenuEnd()
// PopUps Management
#xcommand ACTIVATE C5MENU <oMenu> ;
       [ AT <nRow>, <nCol> ] ;
       [ <of: OF, WINDOW, DIALOG> <oWnd> ] ;
    => ;
     <oMenu>:Activate( <nRow>, <nCol>, <oWnd> )
//----------------------------------------------------------------------------//
// #endif
#define MF_ENABLED Â Â Â 0
#define MF_GRAYED Â Â Â Â 1
#define MF_DISABLED Â Â Â 2
#define MF_BITMAP Â Â Â Â 4
#define MF_CHECKED Â Â Â 8
#define MF_POPUP Â Â Â Â 16 Â // 0x0010
#define MF_BREAK Â Â Â Â 64
#define MF_BYPOSITION 1024 Â // 0x0400
#define MF_SEPARATOR Â 2048 Â // 0x0800
#define MF_HELP Â Â Â 16384 Â // 0x4000
#define MF_HILITE Â Â Â 128 Â // 0x0080
#define MF_UNHILITE Â Â Â 0
#define MF_OWNERDRAW Â 256 Â // 0x0100
#define ODA_DRAWENTIRE Â 1
#define ODA_SELECT Â Â Â 2
#define ODA_FOCUS Â Â Â 4
#define ODS_SELECTED Â Â 1
#define ODS_GRAYED Â Â Â 2
#define ODS_DISABLED Â Â 4
#define ODS_CHECKED Â Â 8
#define ODS_FOCUS Â Â Â 16
#ifndef COLOR_ACTIVECAPTION
#define COLOR_ACTIVECAPTION Â Â Â Â 2
#endif
#ifndef COLOR_MENU
#define COLOR_MENU Â Â Â Â Â Â Â Â 4
#endif
#ifndef COLOR_MENUTEXT
#define COLOR_MENUTEXT Â Â Â Â Â Â 7
#endif
#ifndef COLOR_HIGHLIGHT
#define COLOR_HIGHLIGHT Â Â Â Â Â 13
#endif
#ifndef COLOR_HIGHLIGHTTEXT
#define COLOR_HIGHLIGHTTEXT Â Â Â 14
#endif
// #define DT_LEFT Â Â Â Â Â Â 37
#define DT_LEFT Â Â Â Â Â Â 0
#define MENUX Â 1
#define ITEMSX 2
#define SRCCOPY Â 13369376
#define OBM_CHECK      32760João Santos - São Paulo - Brasil - Phone: +55(11)95150-7341