Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Jan 23rd, 2008, 4:02 PM   #1
pcbrainbuster
Programmer
 
Join Date: Dec 2007
Posts: 93
Rep Power: 1 pcbrainbuster is on a distinguished road
Exclamation 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.
pcbrainbuster is offline   Reply With Quote
Old Jan 23rd, 2008, 8:28 PM   #2
Ancient Dragon
PFO God In Training
 
Ancient Dragon's Avatar
 
Join Date: Jun 2005
Location: near St Louis, MO. (USA)
Posts: 499
Rep Power: 4 Ancient Dragon is on a distinguished road
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?
Ancient Dragon is online now   Reply With Quote
Old Jan 24th, 2008, 5:51 PM   #3
pcbrainbuster
Programmer
 
Join Date: Dec 2007
Posts: 93
Rep Power: 1 pcbrainbuster is on a distinguished road
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.
pcbrainbuster is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Thread.sleep issue Jarod Silverstar C# 4 Sep 16th, 2007 3:20 PM
Major IE6 issue + CSS Kezzer HTML / XHTML / CSS 1 May 29th, 2007 7:52 AM
Infinate Loop Issue emdiesse Java 1 May 22nd, 2007 2:54 AM
Flow Control Issue BlazingWolf C# 1 Feb 1st, 2007 5:00 PM
JNDI and LDAP issue Mortavitch Java 5 Oct 20th, 2005 11:10 AM




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 5:47 PM.

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