Search found 192 matches

by extreme001
Mon Oct 20, 2008 7:44 pm
Forum: C++ Development
Topic: Get window handle by process or...?
Replies: 7
Views: 3470

Hi, by now i can get the handle to a other windows. Here's the code: int count=0; BOOL bFirstModule = TRUE; CProcessIterator itp; for (DWORD pid=itp.First(); pid; pid=itp.Next()) { // Note: first module in CProcessModuleIterator is EXE for this process TCHAR modname[_MAX_PATH]; CProcessModuleIterato...
by extreme001
Mon Oct 20, 2008 9:23 am
Forum: C++ Development
Topic: Get window handle by process or...?
Replies: 7
Views: 3470

Thank you very much.

I will give it a try...would bewonderful if it works. If it doesn't work i have to use MFC or something else.

Are there more ideas out there?
by extreme001
Fri Oct 17, 2008 9:25 pm
Forum: C++ Development
Topic: Get window handle by process or...?
Replies: 7
Views: 3470

Get window handle by process or...?

Hi! I want to describe a question () a bit more http://forums.wxwidgets.org/viewtopic.php?t=21349 Can i get a window handle by a process or window-name via Windows API? I want to get the window positions and paint over it via an overlay (maybe wxScreenDC?) and update my painting all 50 ms. Can i sca...
by extreme001
Fri Oct 17, 2008 9:20 pm
Forum: C++ Development
Topic: Which framework or toolkit should i use?
Replies: 8
Views: 1701

Thank you very much!
by extreme001
Tue Oct 14, 2008 10:00 am
Forum: C++ Development
Topic: Which framework or toolkit should i use?
Replies: 8
Views: 1701

Thanks a lot. I will try it with some native apps...like Java-Apps, MFC-Apps an .NET-Apps. Painting in another window/foreign window is important.

But next time we can write in german, too :-)
by extreme001
Tue Oct 14, 2008 7:26 am
Forum: C++ Development
Topic: Which framework or toolkit should i use?
Replies: 8
Views: 1701

Well, thank you very much.

I mean i want to get a window e.g. "Notepad" by FindWindow and want to draw text on it, or symbols via the graphics context. Is it possible?

Thank you!
by extreme001
Mon Oct 13, 2008 5:06 pm
Forum: C++ Development
Topic: Which framework or toolkit should i use?
Replies: 8
Views: 1701

Which framework or toolkit should i use?

Good Evening! I'm on the way to use wxWidgets in a commercial project. so far so good 1. Can i use wxWidgets without any restrictions? 2. Does wxWidgets support threads? 3. I want to draw in a window of a foreign application. Is it possible? Any OS? Any application type? MFC-Windows? Or Delhi? 4. I ...
by extreme001
Fri Feb 29, 2008 8:19 am
Forum: C++ Development
Topic: Beginner: How to embed an Dialog (ex MFC-Programmer)
Replies: 3
Views: 976

Thank you! I'm not very familar with wxWidgets because i just started to work with it. You mean i place a wxPanel in the sizer on toolbar-click? So...first i have to create a wxPanel for each dialog, place my controls and load the wxPanel? It should look like the attic manager from milan babuskov: h...
by extreme001
Thu Feb 28, 2008 11:30 pm
Forum: C++ Development
Topic: Beginner: How to embed an Dialog (ex MFC-Programmer)
Replies: 3
Views: 976

Beginner: How to embed an Dialog (ex MFC-Programmer)

Hi everybody! I'm a pure c/c++ and MFC-Developer and started to learn wxWidgets and want to embed dialog in another dialog/wxframe-window. It should work like: The user clicks a toolbar button and then the dialog(dlg1 or dlg2 or dlg3) should be dynamically embed in another container(see the image) H...
by extreme001
Mon May 14, 2007 4:25 pm
Forum: C++ Development
Topic: Binary or plain text?
Replies: 5
Views: 1141

Thank you all! I will try it the next days. Have a nice week....
by extreme001
Thu May 10, 2007 4:49 pm
Forum: C++ Development
Topic: Binary or plain text?
Replies: 5
Views: 1141

Thanks for your answers. I think the best way is to open the file and check the header....or not?

The solution which includes reading the first 100-200 characters is also good, but how to check wether the characters are in ASCII or not?

Who was an idea,too?
by extreme001
Thu May 10, 2007 12:34 am
Forum: C++ Development
Topic: Binary or plain text?
Replies: 5
Views: 1141

Binary or plain text?

Hi everybody,

i need some help because I'm too stupid i think. I want to know if a specific file is of binary content or text content. Is there any way to get that information without guessing by the extension?

Thank you for your help.