Bug in TacToolBarWnd.DrawBtn Root › Technical support › Troubleshooting This topic has 5 replies, 3 voices, and was last updated 2 years, 1 month ago by Support. Viewing 5 posts - 1 through 5 (of 5 total) Author Posts September 10, 2022 at 5:36 pm #71004 LasseParticipant Well, variable i is also used for loop. So, better to add other variable for imagelist handle… September 14, 2022 at 7:05 am #71005 chris2023Participant No , I think you have to do this i : {$IFDEF DELPHI_XE2} NativeInt {$ELSE} integer {$ENDIF} ; The first Parameter of ImageList_Draw is a HIMAGELIST , and HIMAGELIST is a NativeInt Thandle is a NativeUInt This reply was modified 2 years, 7 months ago by chris2023. This reply was modified 2 years, 7 months ago by chris2023. September 14, 2022 at 7:14 am #71008 chris2023Participant Oops should to be i : {$IFDEF DELPHI_XE2} NativeUInt {$ELSE} DWord {$ENDIF} ; The first Parameter of ImageList_Draw is a HIMAGELIST , and HIMAGELIST is a NativeUInt Thandle is also a NativeUInt This reply was modified 2 years, 7 months ago by chris2023. September 14, 2022 at 4:10 pm #71012 LasseParticipant You should add a new variable for imagelist handle and let the i variable be Integer. HIMAGELIST is the type that is used elsewhere. March 12, 2023 at 6:45 pm #71139 SupportKeymaster Hello! The AlphaControls package v17 has been released today, the issue has been solved there. Author Posts Viewing 5 posts - 1 through 5 (of 5 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In Root › Technical support › Troubleshooting