I controlled the script and I am sure there are no amy error.
The same identical procedure works well for all other Controls, only with spinner works bad.
If, after zoomed dialog, I use
DialogControlSet ( hDialogHandle, "SP.TempoNelGiornoOre", @dcPOSITION, "223 183 034 014" )
it redraw the spinner bad, with the Space delimited list of a control's position and size are the *same* the original: if I no use that line that spinner is no redrawed and is showed well.
With a very complex procedure, after the diaog zoomed, I tried to change the original values and redrawed the dialog: it shows spinner well.
Another thing:
if I use
sPosition = sControlNewX : " " : sControlNewY : " " : sControlNewWidth : " " : sControlNewHeight
iTest = DialogControlSet ( hDialogHandle, sTestName, @dcPOSITION, sPosition )
sPosition2 = DialogControlGet ( hDialogHandle, sTestName, @dcPOSITION )
The result is:
iTest = 1
sPosition2 != sPosition
sPosition2 contain everytime the ORIGINAL position and size ( not the NEW position and size ): I think this is e WinBatch error.