Programming Forums

Programming Forums (http://www.programmingforums.org/forumindex.php)
-   C++ (http://www.programmingforums.org/forum15.html)
-   -   MD Issue - (http://www.programmingforums.org/showthread.php?t=15011)

pcbrainbuster Jan 23rd, 2008 4:02 PM

MD Issue -
 
Sup guys,

In my program it lists all the visible windows but the thing is when certain applications have MDI it caused a sort of problem in the app and does not list the actual main window but rather the MDI ones. How may I fix this?

THanks.

Ancient Dragon Jan 23rd, 2008 8:28 PM

Re: MD Issue -
 
I created a standard MDI MFC program using VC++ 6.0 and MFC, then another console program using VC++ 2008 Express that called EnumWindows(). I only saw one occurence of the MDI windows. Possible that I didn't test this the way you did. Can you be a little more specific about the MDI program that causes the problem? Such as are there more than one document type?

pcbrainbuster Jan 24th, 2008 5:51 PM

Re: MD Issue -
 
"I only saw one occurence", well thats the problem :) I want my program to only capture the main window and not any childs, but for some reason my app captures MDI windows too. I guess the new question would become "How do I filter MDI windows from my program?".

But the thing is I know want to mimic a functionality of the program known as "Actual Transparent Window", it somehow puts to icons at the top right of ANY window, weather it is a dialog or "normal" window(what the hell do you call these sorts of windows?). This means that it has a "perfect" filter for it to do that and I was wondering if you would know how to do that(by that I mean if you know how to check to see if the current window being enumerated is a diolog or normal window).

Thanks a lot.


All times are GMT -5. The time now is 4:11 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC