SET MESSAGE ERROR

Postby Silvio » Thu Dec 20, 2007 8:31 am

Antonio,
where I can found an sample of StretchBlt 's use ?
Best Regards, Saludos

Falconi Silvio
User avatar
Silvio
 
Posts: 3107
Joined: Fri Oct 07, 2005 6:28 pm
Location: Teramo,Italy

Postby Antonio Linares » Thu Dec 20, 2007 8:58 am

Silvio,

In FWH 7.12 Class TMsgBar Method Paint()
regards, saludos

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

Postby Silvio » Thu Dec 20, 2007 8:59 am

oops ...thanks in advance
Best Regards, Saludos

Falconi Silvio
User avatar
Silvio
 
Posts: 3107
Joined: Fri Oct 07, 2005 6:28 pm
Location: Teramo,Italy

Postby Silvio » Thu Dec 20, 2007 12:12 pm

and msgbar2007 func ?
why U not pubblished it?
are there problems ?
Best Regards, Saludos

Falconi Silvio
User avatar
Silvio
 
Posts: 3107
Joined: Fri Oct 07, 2005 6:28 pm
Location: Teramo,Italy

Postby Antonio Linares » Thu Dec 20, 2007 3:07 pm

Its an internal function

We may publish it further on
regards, saludos

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

Postby nageswaragunupudi » Wed Jan 16, 2008 3:43 pm

Antonio Linares wrote:We will include it in the next FWH build, once it is available

We will also make it available for those using FWH 7.12 but have no access to 8.01


Mr Antonio

Just a reminder, in case this escaped your mind. I am waiting for the improvement. Till then I am using gradient for painting msgitems.
Regards

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

Postby nageswaragunupudi » Thu Jan 17, 2008 6:45 am

Antonio Linares wrote:function Gradient() should not be used because it is quite slow and consume a lot of GDI resources.

FWH 7.12 uses StretchBlt() instead of Gradient(). The solution must use StretchBlt(), not Gradient()


Taking Mr Antonio's advice, I am now able to change msgitem painting using bitmap. Removed the gradient code. Here is how it looks:

Image
Regards

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

Postby Antonio Linares » Thu Jan 17, 2008 7:19 am

NageswaraRao,

Very nice. Could you post a screenshot in a higher colors resolution ? thanks
regards, saludos

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

Postby Silvio » Thu Jan 17, 2008 9:41 am

NageswaraRao,
Wich ttab control use ?
Best Regards, Saludos

Falconi Silvio
User avatar
Silvio
 
Posts: 3107
Joined: Fri Oct 07, 2005 6:28 pm
Location: Teramo,Italy

Postby nageswaragunupudi » Thu Jan 17, 2008 9:53 am

FWH' ttabs class, modified for my use. It is not as good as professionally available products of noway or yours. But I prefer to use FWH code or my code to the extent I can manage.

I posted this pic mainly for showing msgitem painting
Regards

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

Postby Antonio Linares » Thu Jan 17, 2008 10:52 am

FWH 8.02 MsgBar with 2007 look:

Image

Many thanks to Nageswararao help! :-)
regards, saludos

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

Postby Silvio » Thu Jan 17, 2008 11:04 am

it run also with bitmpas ?

and INSET / NOINSET COMMAND ?
Best Regards, Saludos

Falconi Silvio
User avatar
Silvio
 
Posts: 3107
Joined: Fri Oct 07, 2005 6:28 pm
Location: Teramo,Italy

Postby Antonio Linares » Thu Jan 17, 2008 11:07 am

Image
regards, saludos

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

Previous

Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 39 guests