Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to uncheck buttons?
#1
......
out "some thing"
myfunction()
......
------------------------------------
function flag hDlg

bi=id(1010 hDlg)
code 1:
if((flag)&1)
out "pressed";but+ bi
else
out "released";but- bi

code 2:
if((flag)&1)
out "pressed";but+ bi
else
out "released";;but- bi
...
ret

code 2 is ok,but code1 can't work and print a debug text which never should print here,that text I put it before the function......fainting~~~
#2
use this could resolve the problem:

PostMessage(i BM_SETCHECK BST_UNCHECKED 0)

:lol:


Forum Jump:


Users browsing this thread: 1 Guest(s)