I just post a new version of the PNGanim.exe
utility to display and adjust the animation speed
- Frame count displayFix:
- To avoid unespected resizing when moving the PNGanim.exe window to the edges.
Handling of WM_MOVING message has been added, to keep the window within the bounds of the working area
pMM = lParam
@pMM.ptMinTrackSize.x = gP.MinTrackSizeW
@pMM.ptMinTrackSize.y = gP.MinTrackSizeH
function = 0: exit function
case %WM_MOVING '// Keep the window into the working area
hMonitor = MonitorFromWindow(hWnd, %MONITOR_DEFAULTTONEAREST)
lpr = lParam
if (@lpr.nTop < 0) then @lpr.nTop = 0
@lpr.nRight = @lpr.nLeft + gP.MinTrackSizeW
@lpr.nBottom = @lpr.nTop + gP.MinTrackSizeH
tmi.cbSize = sizeof(tmi)
if (GetMonitorInfo(hMonitor, tmi)) then
if (@lpr.nBottom > tmi.rcWork.nBottom) then
@lpr.nBottom = tmi.rcWork.nBottom
@lpr.nTop = @lpr.nBottom - gP.MinTrackSizeH
function = %TRUE: exit function;
The 64-bit version is available there.
If you have questions or comments about it, please post them here.