Page 2 of 2

Posted: Wed Oct 10, 2007 10:01 am
by Antonio Linares
Enrico,

This is the right code to center the bitmaps. Thanks! :-)

Code: Select all | Expand

         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 ) )

Posted: Wed Oct 10, 2007 10:40 am
by Enrico Maria Giordano
Great! Is it already in the new FWH build?

EMG

Posted: Wed Oct 10, 2007 10:43 am
by Enrico Maria Giordano
Ops! What is hBmp?

EMG

Posted: Wed Oct 10, 2007 11:16 am
by Antonio Linares
Enrico,

Please download FWH 7.10 again, thanks :-)

Posted: Wed Oct 10, 2007 11:25 am
by Antonio Linares
Enrico,

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

Thanks! :-)