Hi!
I've created a test application.
When I try to set imageindex on buttons, I got error:
sGraphUtils:
Debugger Exception Notification
Project Project1.exe raised exception class EIntOverflow with message 'Integer overflow'. Process stopped. Use Step or Run to continue.
OK Help
Delphi 6 Prof, Win7:
if B < 0 then
Dest.rgbtBlue := 0
else
if B > $FF0000 then
Dest.rgbtBlue := $FF
else
Dest.rgbtBlue := B shr 16;
if DWORD(Dest) + DWORD(dstDelta) < MAXDWORD then DWORD(Dest) := DWORD(Dest) + dstDelta // HERE?
end;
Thanks:
dd
[attachment=4575:PNGImageList.zip]