FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin para Harbour/xHarbour EXTRA脩O COMPORTAMIENTO DE SETBALLOON()
Posts: 182
Joined: Wed Nov 08, 2006 11:44 PM
EXTRA脩O COMPORTAMIENTO DE SETBALLOON()
Posted: Thu Feb 25, 2016 02:57 PM
Estimados amigos
Cuando hago setballoon(.t.) en windows 7 me ocurre algo muy extra帽o:
Si en el RC pongo
#ifdef __FLAT__
1 24 WindowsXP.Manifest
#endif
DESAPARECEN LOS TOOLTIPS TIPO BALLOON (no se ve mas ningun tipo de tooltip )
Si saco el WindowsXp.Manifest del RC
REAPARECEN LOS TOOLTIPS PERO DESAPARECEN LAS LEYENDAS DE LOS BTNBITMAP
Con el Setballoon(.F.) aparecen los tooltips normales y no ocurre ningun otro efecto extra帽o
Alguien sabe como arreglar esto
Uso FWH 10.1

Muchas gracias
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: EXTRA脩O COMPORTAMIENTO DE SETBALLOON()
Posted: Thu Feb 25, 2016 05:13 PM

Raul,

Por favor copia aqui el contenido de WindowsXP.Manifest

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 182
Joined: Wed Nov 08, 2006 11:44 PM
Re: EXTRA脩O COMPORTAMIENTO DE SETBALLOON()
Posted: Thu Feb 25, 2016 06:00 PM

hola Antonio
este es el contenido de Windowsxp.manifest
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
<assemblyIdentity
version="1.0.0.0"
processorArchitecture="X86"
name="FiveTech Software.FiveWin.32bits"
type="win32"
/>
<description>Your application description here.</description>
<dependency>
<dependentAssembly>
<assemblyIdentity
type="win32"
name="Microsoft.Windows.Common-Controls"
version="6.0.0.0"
processorArchitecture="X86"
publicKeyToken="6595b64144ccf1df"
language="*"
/>
</dependentAssembly>
</dependency>
</assembly>

muchas gracias

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: EXTRA脩O COMPORTAMIENTO DE SETBALLOON()
Posted: Thu Feb 25, 2016 06:11 PM

Raul,

Por favor comprueba si tienes el ejemplo samples\test2007.prg

En caso afirmativo, por favor constr煤yelo con buildh.bat test2007 y dime si te
aparecen los tooltips en forma balloon cuando pases el rat贸n por los botones de la barra de botones

Copia aqui el contenido de test2007.prg

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 182
Joined: Wed Nov 08, 2006 11:44 PM
Re: EXTRA脩O COMPORTAMIENTO DE SETBALLOON()
Posted: Fri Feb 26, 2016 03:46 PM
Hola Antonio,

Compile el test2007 y los tooltips siguen sin aparecer
te mando el codigo de test2007
Code (fw): Select all Collapse
#include "FiveWin.ch"

static oWnd

function Main()

聽 聽local oBar, oPopup, oBtn 聽 

聽 聽SetBalloon( .T. ) // Balloon shape required for tooltips

聽 聽DEFINE WINDOW oWnd TITLE "FWH - Office 2007 look in your ButtonBars, MsgBar and Menus" ;
聽 聽 聽 MENU BuildMenu() MDI

聽 聽DEFINE BUTTONBAR oBar OF oWnd SIZE 60, 60 2007

聽 聽DEFINE BUTTON OF oBar ACTION Print() ;
聽 聽 聽 RESOURCE "attach" PROMPT "Attach" TOOLTIP "Attach"

聽 聽DEFINE BUTTON OF oBar ACTION MsgInfo( "calendar" ) ;
聽 聽 聽 RESOURCE "calendar" PROMPT "Calendar" WHEN .F. TOOLTIP "Calendar"

聽 聽MENU oPopup POPUP
聽 聽 聽 MENUITEM "One" ACTION MsgInfo( 1 )
聽 聽 聽 MENUITEM "Two" ACTION MsgInfo( 2 )
聽 聽ENDMENU

聽 聽DEFINE BUTTON oBtn OF oBar ACTION oBtn:ShowPopup() ;
聽 聽 聽 RESOURCE "people" PROMPT "Clients" GROUP ;
聽 聽 聽 MENU oPopup TOOLTIP "Clients"

聽 聽DEFINE BUTTON OF oBar ACTION Test() ;
聽 聽 聽 RESOURCE "print" PROMPT "Print" TOOLTIP "Print"

聽 聽SET MESSAGE OF oWnd TO "Testing the ButtonBar 2007 Office look" ;
聽 聽 聽 CENTERED CLOCK KEYBOARD 2007

聽 聽ACTIVATE WINDOW oWnd ;
聽 聽 聽 VALID MsgYesNo( "Do you want to end?" )

return nil

//----------------------------------------------------------------------------//

function BuildMenu()

聽 聽local oMenu

聽 聽MENU oMenu 2007
聽 聽 聽 MENUITEM "&DataBases"
聽 聽 聽 MENU
聽 聽 聽 聽 聽MENUITEM "&Clients..." FILENAME "..\bitmaps\16x16\favorite.bmp"
聽 聽 聽 聽 聽MENUITEM "&Report..."
聽 聽 聽 聽 聽MENU
聽 聽 聽 聽 聽 聽 MENUITEM "&One..." DISABLED
聽 聽 聽 聽 聽 聽 MENUITEM "&Two..." CHECKED
聽 聽 聽 聽 聽 聽 MENUITEM "&Three..." WHEN .F.
聽 聽 聽 聽 聽ENDMENU
聽 聽 聽 聽 聽SEPARATOR
聽 聽 聽 聽 聽MENUITEM "&End" ACTION oWnd:End()
聽 聽 聽 ENDMENU
聽 聽 聽 
聽 聽 聽 MENUITEM "Edit" WHEN .F.
聽 聽 聽 
聽 聽 聽 oMenu:AddHelp()
聽 聽 聽 
聽 聽 聽 MENUITEM "Another item"
聽 聽ENDMENU

return oMenu

//----------------------------------------------------------------------------//

function Print()

聽 聽local oPrn
聽 聽
聽 聽PRINTER oPrn PREVIEW
聽 聽 聽 PAGE
聽 聽 聽 聽 聽oPrn:Say( 2, 2, "Hello" )
聽 聽 聽 ENDPAGE
聽 聽 聽 PAGE
聽 聽 聽 聽 聽oPrn:Say( 2, 2, "Bye" )
聽 聽 聽 ENDPAGE
聽 聽ENDPRINT
聽 聽
return nil 聽 聽 聽 聽 

//----------------------------------------------------------------------------//

function Test()

聽 聽local oDlg, cPass := Space( 4 )
聽 聽
聽 聽DEFINE DIALOG oDlg RESOURCE "test"
聽 聽
聽 聽REDEFINE GET cPass ID 100 OF oDlg
聽 聽
聽 聽ACTIVATE DIALOG oDlg CENTERED
聽 聽
聽 聽MsgInfo( GetGuiResources() )
聽 聽
return nil 聽 

//----------------------------------------------------------------------------//


procedure AppSys // XBase++ requirement

return

//----------------------------------------------------------------------------//


muchas gracias por las molestias que estas tomando
RAUL
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: EXTRA脩O COMPORTAMIENTO DE SETBALLOON()
Posted: Fri Feb 26, 2016 07:07 PM

Raul,

Aqui funciona correctamente.

El problema es que estas usando la versi贸n 10.1 y desde esa versi贸n hasta la versi贸n actual 16.02 hay muchos cambios
y no es facil identificar la raz贸n de que no funcione en 10.1

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 182
Joined: Wed Nov 08, 2006 11:44 PM
Re: EXTRA脩O COMPORTAMIENTO DE SETBALLOON()
Posted: Sat Feb 27, 2016 11:39 AM

Antonio,
Es posible que sea la version de fwh
Como hago para tener la ultima version de fwh ?
Creo que no me vendria nada mal actualizarme
Muchas gracias por aguantarme!

Saludos RAUL

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: EXTRA脩O COMPORTAMIENTO DE SETBALLOON()
Posted: Sat Feb 27, 2016 02:39 PM

Raul,

Puedes comprar la actualizaci贸n a la versi贸n m谩s reciente de FWH desde www.fivetechsoft.com

gracias!

regards, saludos

Antonio Linares
www.fivetechsoft.com

Continue the discussion