Community Tip - Did you get an answer that solved your problem? Please mark it as an Accepted Solution so others with the same problem can find the answer easily.
X
I haven't seen it before, but one thought I had was to check whether you see any difference between using dlgitem_get() and dlgitem_get_value(). Whichever one you're using now, maybe try the other and see if you get more reliable results.
You might also try varying between dlgitem_set() and dlgitem_set_value() to see if that makes any difference.