Hello Marc, It is possible to send WM_COMMAND messages with pythonce, using ctypes to interface native win32
Functions: from ctypes import * SendMessage = cdll.coredll.SendMessageW WM_COMMAND = 0x111 SendMessage(hwnd, WM_COMMAND, wparam, lparam) You can wrap other functions with ctypes to get the hwnd of the window you want. Hope it helps, Alex De : pythonce-bounces+alexandre.delattre=telecom-bretagne...@python.org [mailto:pythonce-bounces+alexandre.delattre=telecom-bretagne...@python.org] De la part de Marc Grondin Envoyé : mercredi 27 mai 2009 18:56 À : pythonce@python.org Objet : [PythonCE] Issuing WM_COMMAND Hello everyone, I'm fairly new to python and pythonce and i have a quaetion. Is it possibble to issue WM_COMMANDS on a WM device using pythonCE?(i have ver 2.5 from october) -- C-ya Later Take Care Marc Grondin
_______________________________________________ PythonCE mailing list PythonCE@python.org http://mail.python.org/mailman/listinfo/pythonce