Stefan George wrote: > > > > It is me again and I hope you can help me again: > > > > I have the handle of a checkbox and would like to get the state of the > checkbox (true/false) and I want to check it/uncheck it. > > I have searched on the web but didn’t find any help. >
How did you get the handle? At the lowest level, you get the current state by sending a BM_GETCHECK message to the window, and you set the state by sending a BM_SETCHECK message. MSDN describes the parameters you need to send. If you're doing raw API calls, you can use win32api.SendMessage to do it. -- Tim Roberts, t...@probo.com Providenza & Boekelheide, Inc. _______________________________________________ python-win32 mailing list python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32