473,406 Members | 2,352 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,406 software developers and data experts.

Rules for passing Windoes messages if control A is on Control B which is on a form?

On a Form I have a RichTextBox.

I do the call for EM_SETEVENTMASK with ENM_REQUESTRESIZE

The user control's WndProc writes to the consol to keep track of any
EN_REQUESTRESIZE messages.

As I type into the RichTextBox I see the results of the console writes in
the Output window.

I add a Panel to the Form and move the RichTextBox into it.

I no longer get the console writes.

Seems like the Panel is eating the EN_REQUESTRESIZE messages and not passing
them to the Form .
What are the rules for passing Windows messages if control A is on Control B
which is on a form?

Do Windows messages from A get to the form?

Can I force that to happen?

Is there a solution for me?
Thanks



Jun 27 '08 #1
0 860

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

Similar topics

5
by: Adam | last post by:
Hi, How do i listen for windows messages in c# on compact.net? I have a window containing an instantiation of the HTML viewer control, which is a child of the main form. As the compact...
0
by: neonspark | last post by:
I'm buidling some simple macro functionality for my app so the users can record a sequence of keyboard inputs and replay them reliably via some menu. Originally, I used: protected override bool...
2
by: shark | last post by:
hi, I have user control placed on form. How to make this control transparent for mouse events. I need to handle mouse events in form not in user control (like label ctrl). Thanks Shark
2
by: radom | last post by:
i got a computer given to me that had virus and well it wont in to windoes so i put my linux disk and it locks up is there any way to delete windoes so i get delete the virus and put linux on it I...
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: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.