Solved

Sending notification messages from control

Posted on 2000-02-28
2
238 Views
Last Modified: 2013-11-20
I want to create my own control based on CWnd, how do I send a notification message to the parent that contains my own data structure, lets say an int, and how do I intercept it in the parent window, like the On<....> messages from MFC controls?
Thanks a lot :)
0
Comment
Question by:Chris1
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 8

Accepted Solution

by:
gelbert earned 100 total points
ID: 2566132
Use ON_MESSAGE()and user defined message
pass pointer to your structure as one of parameters (WPARAM for exemple)
0
 

Author Comment

by:Chris1
ID: 2566393
Hey thanks.
The easiest things are hard to find in MFC ;)
0

Featured Post

Enroll in May's Course of the Month

May’s Course of the Month is now available! Experts Exchange’s Premium Members and Team Accounts have access to a complimentary course each month as part of their membership—an extra way to increase training and boost professional development.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Get filename and folder into excel 7 89
not able to insert into temp table 68 178
twoTwo  challenge 35 118
listing all the respondents to a twitter feed - Java 5 46
Introduction: The undo support, implementing a stack. Continuing from the eigth article about sudoku.   We need a mechanism to keep track of the digits entered so as to implement an undo mechanism.  This should be a ‘Last In First Out’ collec…
In this post we will learn different types of Android Layout and some basics of an Android App.
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
This video shows how to use Hyena, from SystemTools Software, to update 100 user accounts from an external text file. View in 1080p for best video quality.

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question