Can anyone help with checking a checkbutton via UIAccessor?
I really appreciate the time and assistance everyone provides on this forum, and so wanted ask for some help.
I am trying to check a checkButton through maxscript but dont seem to be able to. I can press a normal button, but not a checkButton.
rollout accessTest "access test" ( button one "press" checkbutton two "Check" on one pressed do print "One pressed!" on two changed state do ( if state ==true then (print "check on") else print "check off" ) ) createDialog accessTest
RollOutHandle = (windows.getChildHWND 0 "access test" ) pressHandle= (windows.getChildHWND RollOutHandle "press")  checkHandle =(windows.getChildHWND RollOutHandle "Check")  UIAccessor.PressButton pressHandle -- DOES press 'Press' UIAccessor.PressButton checkHandle -- does NOT press 'Check' UIAccessor.PressButtonbyName checkHandle "Check" -- only registers an UNcheck....
I have been trying to figure out the windows.sendMessage stuff but without any progress at all. I cant figure out why this doesn't work..
windows.sendMessage presshandle 0x00F5 0 0
Any help would be much appreciated, Thanks all.