BUTTONBMP Error in the size of bitmpas 16.04

BUTTONBMP Error in the size of bitmpas 16.04

Postby augustogomes » Tue Jun 07, 2016 6:31 pm

Good afternoon.
I changed my version of Fivewin to 16:04 and buttonbmp is changed, leaving bitmaps with very small size when using textbotton, see pictures and the code below.

Example:
image in version 08.10

Image


image in version 08.10
Image


Code: Select all  Expand view
REDEFINE BUTTONBMP oBtnSim ID 4008 OF oDlg ACTION IF(I_ConfSenha(),(llRet:=.T.,oDlg:End()),) RESOURCE "Confirma"  TOOLTIP "Confirma a Entrada no Aplicativo" PROMPT "&Ok"  TEXTBOTTOM
        REDEFINE BUTTONBMP oBtnNao ID 4009 OF oDlg ACTION (llRet:=.F.,oDlg:End()) BITMAP "Cancela" TOOLTIP "Retorna ao Sistema Operacional" CANCEL  PROMPT "Cancela" TEXTBOTTOM
Augusto Gomes /Suprisystem Informática - Fivewin 16.08 - xharbour 123 - BCC70 - DBFNTX e PostGreSql
User avatar
augustogomes
 
Posts: 23
Joined: Mon Jun 06, 2016 8:38 pm
Location: Ribeirão Preto - SP - Brasil

Re: BUTTONBMP Error in the size of bitmpas 16.04

Postby Antonio Linares » Tue Jun 07, 2016 7:49 pm

Augusto,

Puedes poner una imagen de como se ve con FWH 16.04 ? gracias
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42094
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: BUTTONBMP Error in the size of bitmpas 16.04

Postby augustogomes » Tue Jun 07, 2016 11:28 pm

Sorry typed wrong, the first is previous version the second image is fw 16.04.

Bitmaps were small at 16.04

Image
Augusto Gomes /Suprisystem Informática - Fivewin 16.08 - xharbour 123 - BCC70 - DBFNTX e PostGreSql
User avatar
augustogomes
 
Posts: 23
Joined: Mon Jun 06, 2016 8:38 pm
Location: Ribeirão Preto - SP - Brasil

Re: BUTTONBMP Error in the size of bitmpas 16.04

Postby Antonio Linares » Wed Jun 08, 2016 6:55 am

Augusto,

Are you using FWH 16.04 build 3 ?
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42094
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: BUTTONBMP Error in the size of bitmpas 16.04

Postby augustogomes » Wed Jun 08, 2016 11:30 am

No, it's build 2.


Não, é o build 2.
Augusto Gomes /Suprisystem Informática - Fivewin 16.08 - xharbour 123 - BCC70 - DBFNTX e PostGreSql
User avatar
augustogomes
 
Posts: 23
Joined: Mon Jun 06, 2016 8:38 pm
Location: Ribeirão Preto - SP - Brasil

Re: BUTTONBMP Error in the size of bitmpas 16.04

Postby nageswaragunupudi » Wed Jun 08, 2016 1:25 pm

Can not see the second image. But that is not really important.
Can you post the extract from rc file?
Regards

G. N. Rao.
Hyderabad, India
User avatar
nageswaragunupudi
 
Posts: 10632
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Re: BUTTONBMP Error in the size of bitmpas 16.04

Postby augustogomes » Wed Jun 08, 2016 8:27 pm

RC

Code: Select all  Expand view
// RESOURCE SCRIPT generated by "Pelles C for Windows, version 8.00".

#include <windows.h>
#include <commctrl.h>
#include <richedit.h>

LANGUAGE LANG_PORTUGUESE,SUBLANG_PORTUGUESE_BRAZILIAN

ENTRADA DIALOGEX DISCARDABLE 6, 18, 320, 114
STYLE DS_SHELLFONT|WS_POPUP|DS_MODALFRAME|DS_3DLOOK|WS_CAPTION|WS_VISIBLE
CAPTION "Bem Vindo !"
FONT 8, "MS Shell Dlg", 0, 0, 1
{
  CONTROL "", 4001, "Static", SS_BITMAP|SS_CENTERIMAGE, 12, 8, 92, 97, WS_EX_TRANSPARENT
  CONTROL "Nome do Usuário", 4002, "Button", BS_GROUPBOX, 120, 4, 98, 30
  CONTROL "", 4003, "Edit", ES_AUTOHSCROLL|WS_BORDER|WS_TABSTOP, 128, 16, 82, 12
  CONTROL "Senha do Usuário", 4004, "Button", BS_GROUPBOX, 238, 4, 72, 30
  CONTROL "", 4005, "Edit", ES_AUTOHSCROLL|ES_PASSWORD|WS_BORDER|WS_TABSTOP, 254, 16, 40, 12
  CONTROL "Nome da Empresa", 4006, "Button", BS_GROUPBOX, 120, 38, 190, 36
  CONTROL "", 4007, "ComboBox", WS_BORDER|CBS_DROPDOWNLIST|WS_TABSTOP, 128, 52, 174, 46
  CONTROL "", 4008, "Button", BS_CENTER|BS_BOTTOM|WS_TABSTOP, 240, 80, 32, 28
  CONTROL "", 4009, "Button", BS_CENTER|BS_BOTTOM|WS_TABSTOP, 276, 80, 32, 28
}

CONFIRMA BITMAP "res3.bmp"

CANCELA BITMAP "res4.bmp"

1 MANIFEST "res1.xml"
 
Augusto Gomes /Suprisystem Informática - Fivewin 16.08 - xharbour 123 - BCC70 - DBFNTX e PostGreSql
User avatar
augustogomes
 
Posts: 23
Joined: Mon Jun 06, 2016 8:38 pm
Location: Ribeirão Preto - SP - Brasil

Re: BUTTONBMP Error in the size of bitmpas 16.04

Postby Antonio Linares » Thu Jun 09, 2016 9:07 am

Augusto,

Already fixed.

I am emailing you the new FWH libs
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42094
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: BUTTONBMP Error in the size of bitmpas 16.04

Postby augustogomes » Thu Jun 09, 2016 11:57 am

Obrigado
Tudo certo agora!

Augusto
Augusto Gomes /Suprisystem Informática - Fivewin 16.08 - xharbour 123 - BCC70 - DBFNTX e PostGreSql
User avatar
augustogomes
 
Posts: 23
Joined: Mon Jun 06, 2016 8:38 pm
Location: Ribeirão Preto - SP - Brasil


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 104 guests