To Antonio

lailton.webmaster
Posts: 603
Joined: Sun May 04, 2008 8:44 pm

To Antonio

Post by lailton.webmaster »

=)
Last edited by lailton.webmaster on Mon Oct 27, 2008 5:48 pm, edited 1 time in total.
User avatar
Antonio Linares
Site Admin
Posts: 42512
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Has thanked: 31 times
Been thanked: 73 times
Contact:

Post by Antonio Linares »

Lailton,

TMsgBar uses a bitmap to get painted, so in order to change its colors, you have to create your own MsgBar2007( ::hDC ) function that will return your desired hBmp.

Or simply replace this line:

hBmp = MsgBar2007( ::hDC )

with

hBmp = LoadBitmap( GetResources(), "myBMP" )
regards, saludos

Antonio Linares
www.fivetechsoft.com
lailton.webmaster
Posts: 603
Joined: Sun May 04, 2008 8:44 pm

:)

Post by lailton.webmaster »

i ll try

only a question, where is salved this bitmap of style 2007 ?
because i dont see nothing in fivewin directory


Thanks Antonio
User avatar
Antonio Linares
Site Admin
Posts: 42512
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Has thanked: 31 times
Been thanked: 73 times
Contact:

Post by Antonio Linares »

Lailton,

Its hardcoded in a C file as bytes.

We created a bitmap, then created a C file with its bytes. You can do it from the Borland Resources workshop.
regards, saludos

Antonio Linares
www.fivetechsoft.com
lailton.webmaster
Posts: 603
Joined: Sun May 04, 2008 8:44 pm

hum

Post by lailton.webmaster »

Sure Antonio

i try here and all right

thanks
Last edited by lailton.webmaster on Mon Oct 27, 2008 5:48 pm, edited 1 time in total.
User avatar
Antonio Linares
Site Admin
Posts: 42512
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Has thanked: 31 times
Been thanked: 73 times
Contact:

Post by Antonio Linares »

Lailton,

In Class TMsgItem Method Paint(), change or remove this:

WndBoxIn( hDC, 2, nLeft - 4, ::oMsgBar:nHeight - 2, nLeft - 3 )
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
Posts: 42512
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Has thanked: 31 times
Been thanked: 73 times
Contact:

Post by Antonio Linares »

DrawBitmap( hDC, hBmp, 2, nLeft - 4 )
regards, saludos

Antonio Linares
www.fivetechsoft.com
lailton.webmaster
Posts: 603
Joined: Sun May 04, 2008 8:44 pm

:)

Post by lailton.webmaster »

Perfect Antonioooooooooooooo

thanks so much...
lailton.webmaster
Posts: 603
Joined: Sun May 04, 2008 8:44 pm

me new

Post by lailton.webmaster »

ImageImage

Antonio

Separator message bar IS OK !
Background message bar IS OK !

now i need only more it to end, i need insert a bitmap in background
ctexto that look in image UP

thanks so much.
User avatar
Antonio Linares
Site Admin
Posts: 42512
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Has thanked: 31 times
Been thanked: 73 times
Contact:

Post by Antonio Linares »

Lailton,

I don't understand what you mean.

Can you "paint" it and show it here ? :-)
regards, saludos

Antonio Linares
www.fivetechsoft.com
lailton.webmaster
Posts: 603
Joined: Sun May 04, 2008 8:44 pm

help

Post by lailton.webmaster »

Image

Esttos necessito ahora inserir una imagem en lo fundo
das mensagem, olhe la imagem del link acima.

gracias
User avatar
Antonio Linares
Site Admin
Posts: 42512
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Has thanked: 31 times
Been thanked: 73 times
Contact:

Post by Antonio Linares »

En tu imagen se ve un degradado, no se ve un bitmap.

A que bitmap te refieres ?
regards, saludos

Antonio Linares
www.fivetechsoft.com
lailton.webmaster
Posts: 603
Joined: Sun May 04, 2008 8:44 pm

hu

Post by lailton.webmaster »

Image
http://www.redstarsoft.net/files/antonio.bmp

Antonio es isto que necessito a fazer
I wanna make it that to be in link up
User avatar
Antonio Linares
Site Admin
Posts: 42512
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Has thanked: 31 times
Been thanked: 73 times
Contact:

Post by Antonio Linares »

If you want to place another bitmap on top of the msgbar then you may use:

oMsgBar:bPainted = { | hDC | ... }

or modify Class TMsgBar source code.
regards, saludos

Antonio Linares
www.fivetechsoft.com
lailton.webmaster
Posts: 603
Joined: Sun May 04, 2008 8:44 pm

hm

Post by lailton.webmaster »

i wanna insert other bitmap only menssagem understand ??
Post Reply