Support for PNG graphics in TsListBox? Root › Technical support › Tricks This topic has 1 reply, 2 voices, and was last updated 13 years, 1 month ago by Support. Viewing 2 posts - 1 through 2 (of 2 total) Author Posts September 18, 2011 at 5:07 pm #34786 IPStevenParticipant Can TsListBox use PNG images with support for alpha transparency? I am wondering if TsListBox has this feature and if so how to use it. Thanks, …Steven September 20, 2011 at 8:52 am #46719 SupportKeymaster Hello Steven Of course, PNG may be shown on items manually in the OnDrawItem event. For a drawing of 32-bit bitmaps you can use the CopyByMask procedure. This procedure is implemented in the sGraphUtils module. Example : Code: CopyByMask(DstRect, SrcRect, DstBmp, SrcBitmap, EmptyCI, False); Also, the TPNGGraphic object have own Draw(ACanvas: TCanvas; const Rect: TRect) procedure. Author Posts Viewing 2 posts - 1 through 2 (of 2 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In Root › Technical support › Tricks