Bugs in TToolBar and -Button, TImageList (Workaround)

Hi,

All these problems are coming from comctrl32.dll version.

I've got these problems since IE4 Beta 2.

one solution : upgrade all your PC to IE4 final (or comctrl32.dll V 4.71 or
greater) and all images will be ok (as toolbars)

Hope this helps
Jean-Luc
--
-------------------------------------------------
Jean-Luc Mattei
e-mail : mailto:jl...@club-internet.fr
url : http://www.mygale.org/~jlucm
T. Christopher a crit dans le message
<351fccd4.18352...@news.hamburg.pop.de>...

Quote
>Using TToolbars in my apps, I found two annoying bugs:

>1.) If you insert TSpeedButtons into a Toolbar and set the SpeedButton

property to flat then you
Quote
>will see a vertical line appearing on each flat SpeedButton.

>A workaround which works for me is to  use a TPanel, insert the desired
SpeedButtons and
>everyting works fine.

>2.) If you insert bitmaps into a TImageList used by a Toolbar erverything

looks fine under Win
Quote
>NT. If you run this app under Win 95 the TToolButtons will have no more
images.
>Especially if you use flat ToolButtons, the users will have a lot of fun
then...

>A workaround which works for me is to insert any icon into the TImageList

right before compiling
Quote
>your exe. After copmpiling, the programm will show the correct pictures,

even under Windows 95.
Quote

>Does anyone have a patch or anything else to cure the situation??
>Is there any tool to manipulate the TImageList at designtime?? Moving a

picture from position 0

Quote
>to, lets say position 20, is a hard piece of mousework....

>My Environment: NT 4.0 SP3, Delphi 3, P-133, 64 MB Ram

begin 666 Jean-Luc Mattei.vcf
M0D5'24XZ5D-!4D0-"DXZ36%T=&5I.TIE86XM3'5C#0I&3CI*96%N+4QU8R!-
M871T96D-"D%$4CM(3TU%.CL[.TUA<G-E:6QL93M";W5C:&5S(&1U(%)H]&YE
M.SM&<F%N8V4-"DQ!0D5,.TA/344[14Y#3T1)3D<]455/5$5$+5!224Y404),
M13I-87)S96EL;&4L($)O=6-H97,@9'4@4F@]1C1N93TP1#TP049R86YC90T*
M55),.FAT=' Z+R]W=W<N;7EG86QE+F]R9R]^:FQU8VT-"D5-04E,.U!2148[
M24Y415).150Z:FQU8VU 8VQU8BUI;G1E<FYE="YF<@T*14U!24P[24Y415).
M150Z:FQU8VU ;7EG86QE+F]R9PT*14U!24P[24Y415).150Z:FQU8VU 8VAE
2>BYC;VT-"D5.1#I60T%21 T*
`
end
end