473,396 Members | 1,590 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

window messages to the wrong window

Hi,
I am working with 2 softwares (2 process).
Sometimes, when process A pop's up an MDI window, If I will scroll the
mouse wheel on it, it will scroll (and send the needed WM) process B.
If I will press the left click again on process A it will stop
dispatch events to process B.

after adding a few logs, apparently process A is the "Foreground
Window" when I am scrolling in that specific situation, although the
messages gets to another window.

does someone ever encountered this kind of issue?

Its like I have one window related to one process as Foreground and
one windows related to another process as Focus.

please advice me if you can what going on here.

Thanks,
Niros.

Sep 4 '07 #1
2 1484
niros wrote:
I am working with 2 softwares (2 process).
Sometimes, when process A pop's up an MDI window, If I will scroll the
mouse wheel on it, it will scroll (and send the needed WM) process B.
If I will press the left click again on process A it will stop
dispatch events to process B.

after adding a few logs, apparently process A is the "Foreground
Window" when I am scrolling in that specific situation, although the
messages gets to another window.

does someone ever encountered this kind of issue?

Its like I have one window related to one process as Foreground and
one windows related to another process as Focus.

please advice me if you can what going on here.
What's going on is your posting to a wrong newsgroup. You do not have
any C++ language question, and that makes your inquiry _off-topic_ in
comp.lang.c++. Please consider posting to the newsgroup that deals
with your "windows" (hint-hint) and your "messages".

V
--
Please remove capital 'A's when replying by e-mail
I do not respond to top-posted replies, please don't ask
Sep 4 '07 #2
"niros" <ni**********@gmail.comwrote in message
news:11**********************@r29g2000hsg.googlegr oups.com...
Hi,
I am working with 2 softwares (2 process).
Sometimes, when process A pop's up an MDI window, If I will scroll the
mouse wheel on it, it will scroll (and send the needed WM) process B.
If I will press the left click again on process A it will stop
dispatch events to process B.

after adding a few logs, apparently process A is the "Foreground
Window" when I am scrolling in that specific situation, although the
messages gets to another window.

does someone ever encountered this kind of issue?

Its like I have one window related to one process as Foreground and
one windows related to another process as Focus.

please advice me if you can what going on here.
Try microsoft.public.vc.language (most active) or
microsoft.public.win32.programmer
Sep 5 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
by: Justin Koivisto | last post by:
Is there a way to create an alert-like message box that uses a custom image? Basically, I want to replace the default ! image with something else. -- Justin Koivisto - spam@koivi.com PHP...
31
by: Benno Bös | last post by:
If I use the following construct in the frame "main" for a link to an extern site: <A HREF="http://www.any.xy" TARGET="extern"> the Browser is creating the window "extern", loading the page...
11
by: objectref | last post by:
Hi to all, is there a way to get the window handle of the main window of an application or process ? For example, if someone opens Microsoft Word, he gets a window so he/she can write text....
4
by: KlassifiedBBS | last post by:
I want to create a game bot for a video chat program with a closed API. I can see the windows messages when I hook up Spy++ to the window in question. I have done numerous Googles for some kind...
14
by: | last post by:
Hi All, I am little confused here, hope you can help me. While processing WM_POWERBROADCAST (wParam=PBT_APMQUERYSUSPEND), I MUST to do some lengthy operation(30 sec) before system Suspends or...
12
by: Bonj | last post by:
i'm trying to create a class that will contain all the features of instantiating a window and showing it. I've got the SetWindowLong / GetWindowLong pair to succesfully store the 'this' pointer in...
2
by: vinayshah | last post by:
Hai all. I just wanted to know how the dialog works.. I mean each window has its window procedure.. In a dialog box you have many windows say for example edit, button etc.. but still the...
3
by: mehdi_mousavi | last post by:
Hi folks, Consider a dialog box, that contains a menu, toolbar and a tab control that contains some pages, and the first tab page contains some textbox controls as well as a datetimepicker and...
7
by: Toccoa | last post by:
After considerable googling - I mean searching with Google(r) - I could not find javascript on a button or <a href=... to close a window in the latest versions of IE and FireFox. There seemed...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.