En Thu, 21 May 2009 09:38:26 -0300, zhouhaifeng <myprom...@sina.com>
escribió:

just like "ctrl + A",

I want to select all the text in a window, now , I operate right menu to
get it, but it can not work all the time.
so I want to send "ctrl + a" to the window

I'd do it in a different way: asuming it is an edit control, send the
control an EM_SETSEL message with start=0, end=-1.
http://msdn.microsoft.com/en-us/library/bb761661(VS.85).aspx

--
Gabriel Genellina

--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to