i havent read your reply yet JJ
but i vaguely remember some of the oddities with setdlgitemint and why i ended up putting 16 in as a limit [bizarrely resulting in a 15 digit limit !!]
the limit on a numeric edit box seems to be 17 digits regardless of set limit ...
also [ setDlgItemInt ]
when setting r8 with a default larger than 32 bit limit 9 digits displays incorrectly ..resetting r9 to true [signed value shows a negative value] so it doesnt appear the display peculiarity is due to the true / false r9 setting
regards mike b
structure of call looks as follows
mov rcx,hwnd
mov rdx,200 ; box id
mov r8,12345678901 ; initial display value
mov r9,False ;unsigned numbers
call SetDlgItemInt ;call numeric display .. max length set to 20