[python-win32] Getting the text out of a TVirtualStringTree

2006-05-25 Thread João Paulo Fernandes Farias
Hi there! I've managed to get the text out of a SysListView32 and from a SysTreeView32. I've made a C extension for it. :-P Now I need to get the text out of a TVirtualStringTree, but that seems more difficult than other controls cause it is not a windows control, but a custom control. Anyone

Re: [python-win32] Getting the text out of a listbox from another process

2006-05-21 Thread João Paulo Fernandes Farias
Hi! I've found the code bellow does what I want. Anyway to do it with ctypes / win32 extensions? code #define WIN32_LEAN_AND_MEAN #include stdio.h #include windows.h #include commctrl.h int main(void) { HWND hwnd=FindWindow(NULL, Stealing Program's Memory: ListView); HWND

[python-win32] Getting the text out of a listbox from another process

2006-05-20 Thread João Paulo Fernandes Farias
Hi! Is there a way to get the text of the items in a listbox running in another application? I've tried to send LB_GETITEMDATA message to the listbox and it returns the addresses of the text (I think). How do I get the text? I've tried win32gui.PyGetString(addr) but it does not works. Thanks

[python-win32] Rewriting my previous question....

2006-05-20 Thread João Paulo Fernandes Farias
Hi! I'll rewrite my previous question... How do I get data from another process using win32gui.SendMessage() when it needs some pointers to fill in the data? I know it is more likely possible cause winspector can show the text from some messages like LVM_SETITEMTEXTA where the user uses a

[python-win32] Using IE embeded in a PyGTK application

2005-08-28 Thread João Paulo Fernandes Farias
Hi! This is my first message to this list. ;-) I would like to know if it is possible to embed IE into a PyGTK application, or Mozilla. All I want is a webbrowser in my application which I can control. I think it should be possible with COM, but I don't know how to do it. Thanks, -- João