Bug in the new 2007 clause

Postby Antonio Linares » Wed Oct 10, 2007 10:01 am

Enrico,

This is the right code to center the bitmaps. Thanks! :-)
Code: Select all  Expand view
         TransBmp( hBmp, nBmpWidth( hBmp ), nBmpHeight( hBmp ), nZeroZeroClr, ::hDC,;
                   ( ::nWidth / 2 ) - ( nBmpWidth( hBmp ) / 2 ) + If( ::lPressed, 2, 1 ),;
                   Max( 0, ( ::nHeight / ( 2 + If( ! Empty( ::cCaption ), 1, 0 ) ) ) - ;
                   ( nBmpHeight( hBmp ) / 2 ) ) + If( ::lPressed, 2, 1 ),;
                   nBmpWidth( hBmp ), nBmpHeight( hBmp ) )
regards, saludos

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

Postby Enrico Maria Giordano » Wed Oct 10, 2007 10:40 am

Great! Is it already in the new FWH build?

EMG
User avatar
Enrico Maria Giordano
 
Posts: 8710
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Postby Enrico Maria Giordano » Wed Oct 10, 2007 10:43 am

Ops! What is hBmp?

EMG
User avatar
Enrico Maria Giordano
 
Posts: 8710
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Postby Antonio Linares » Wed Oct 10, 2007 11:16 am

Enrico,

Please download FWH 7.10 again, thanks :-)
regards, saludos

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

Postby Antonio Linares » Wed Oct 10, 2007 11:25 am

Enrico,

>
With the following change we get the same position for message of 2007 and not 2007 style msgbar:
>

Thanks! :-)
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42079
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 74 guests