Bug ButtomBmp + Codejock SkinFramework

Post Reply
User avatar
Giovany Vecchi
Posts: 129
Joined: Mon Jun 05, 2006 9:39 pm
Location: Brasil

Bug ButtomBmp + Codejock SkinFramework

Post by Giovany Vecchi »

English:
I am testing Codejock SkinFramework and this happening a strange bug with buttonbmp.
The buttons that possess Tooltip when moving the mouse the bitmaps disappear, this only happens in the buttons that he/she has tooltip.
He/she would like to know somebody already tried to use this.

Portugues:
Estou testando Codejock SkinFramework e esta acontecendo um bug estranho com buttonbmp.
Os botões que possuem Tooltip ao movimentar o mouse os bitmaps desaparecem, isto acontece somente nos botões que tem tooltip.
Gostaria de saber se alguem ja tentou usar isto.

Code Skin:

Code: Select all


if !IsActiveX("Codejock.SkinFramework.13.0.0")
   RegisterServer(DIR_PROG()+"RECURSOS\Codejock.SkinFramework.v13.0.0.ocx")
   IF !IsActiveX("Codejock.SkinFrameWork.13.0.0")
      MsgStop("Gerenciador dos skins não foi instalado","Erro...")
      Return .F.
   ENDIF
endif

cStyle := CONFIG_TERMINAL_VARS(37)+".cjstyles"

oActivexSystem:= TActiveX():New( xWin, "Codejock.SkinFrameWork.13.0.0",0,0,.2,.2 )

oActivexSystem:Do( "EnableThemeDialogTexture", xWin:hWnd,6 )
oActivexSystem:Do( "LoadSkin", cStyle, "" )
oActivexSystem:SetProp("ApplyOptions",nor(1,2,4,8))
oActivexSystem:Do( "ApplyWindow", xWin:hWnd )
oActivexSystem:Do("RemoveWindowClass","Edit")
oActivexSystem:Do("AddWindowClass","Static","ThunderRT6TextBox")

 
Aqui é o dialogo normal
Image

Quando passo o mouse sobre o botão que tem tooltip
Image

Quando o botão não tem tooltip não o bitmap não desaparece.
Image
User avatar
ukoenig
Posts: 3981
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany
Contact:

Re: Bug ButtomBmp + Codejock SkinFramework

Post by ukoenig »

Hello Giovany,

It works fine here tested with all combinations ( from source and resources ).
Maybe have a look at the code.
Test with transparent and 2007 Style :

Image

Image

Code: Select all

@ 40, 8 BTNBMP oBtn51 OF oDlg5 ;
SIZE 45 , 40  PROMPT "Source 2" ; // 2007 ;
FONT oBarFont ;
TOP ;
NOBORDER ; // without this line = Border
FILENAME c_path + "\system\View_A.bmp", ;  // Aktiv
         c_path + "\system\View_P.bmp",  ; // Pressed
         c_path + "\system\View_D.bmp",  ; // Disabled
         c_path + "\system\View_M.bmp" ; // Mouse-caption
ACTION ( DLG_SOUR2() )
oBtn51:lTransparent := .T.
oBtn51:cTooltip := "2. Source Preview"
oBtn51:lBorder := .F. 
 
Best Regards
Uwe :lol:
Since 1995 ( the first release of FW 1.9 )
i work with FW.
If you have any questions about special functions, maybe i can help.
User avatar
Giovany Vecchi
Posts: 129
Joined: Mon Jun 05, 2006 9:39 pm
Location: Brasil

Re: Bug ButtomBmp + Codejock SkinFramework

Post by Giovany Vecchi »

To work the styles of the skins in the buttons, he/she has to use ButtonBmp, If I use BtnBmp with style office 2007 I lose the proportionate style for the codejock skinFremework.
The incredible is that the bitmap disappears when the event is worked WM_MOUSEMOVE and this only happens if the button has a tolltip.


Para funcionar os estilos dos skins nos botões, tem que usar o ButtonBmp, Se eu usar BtnBmp com estilo office 2007 eu perco o estilo proporcionado pelo codejock skinFremework.
O incrivel é que o bitmap desaparece quando é acionado o evento WM_MOUSEMOVE e isto acontece somente se o botão tiver um tolltip.
User avatar
Giovany Vecchi
Posts: 129
Joined: Mon Jun 05, 2006 9:39 pm
Location: Brasil

Re: Bug ButtomBmp + Codejock SkinFramework

Post by Giovany Vecchi »

See using another skin here now
The result is the same.
I verified and the bitmap disappears when the function is called CREATETOOLTIP in Window.prg, if I remove the function it doesn't happen the problem, they put doesn't present Tooltip

Image
User avatar
Giovany Vecchi
Posts: 129
Joined: Mon Jun 05, 2006 9:39 pm
Location: Brasil

Re: Bug ButtomBmp + Codejock SkinFramework

Post by Giovany Vecchi »

:cry:
I already tried of everything and I didn't get a solution.
I need the function CREATETOOLTIP to alter and to find the problem, they put CREATETOOLTIP no this available one his/her source in SOURCE of Fivewin.
Would anybody have this function?
User avatar
Giovany Vecchi
Posts: 129
Joined: Mon Jun 05, 2006 9:39 pm
Location: Brasil

Re: Bug ButtomBmp + Codejock SkinFramework

Post by Giovany Vecchi »

Mr. Antonio, I am trying to solve this problem with the bitmaps, everything indicates that the problem can be decided to alter the function CREATETOOLTIP.
Could you send me the function for me to try this to solve?
Post Reply