Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

messages

Posted on 1998-06-16
3
Medium Priority
?
161 Views
Last Modified: 2013-11-20
Can CEdit, CBitMap, CPen, CPallette handles messages?
Can message handler be written for this classes?
0
Comment
Question by:sunraj
[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
3 Comments
 
LVL 2

Accepted Solution

by:
Belgarat earned 20 total points
ID: 1318072
Win95/NT can send messages only to windows. In addition, MFC allow you to send messages to the thread objects and document objects (and to all objects that inherits CCmdTarget in general, if you code it).
CEdit is a wrapper for edit box window and can accept messages, while the other classes you mentioned are all simple C++ wrappers for groups of API functions operating with graphics and doesn't correspond to any window neither inherit CCmdTarget - the objects can not receive messages.

0
 

Expert Comment

by:wyhjin
ID: 1318073
Try to understand how CCmdTarget got its name.
Reading MFC hierachy chart often to keep the genealogy of MFC family is my way of studying MFC.
0
 

Author Comment

by:sunraj
ID: 1318074
Thank U
0

Featured Post

Learn how to optimize MySQL for your business need

With the increasing importance of apps & networks in both business & personal interconnections, perfor. has become one of the key metrics of successful communication. This ebook is a hands-on business-case-driven guide to understanding MySQL query parameter tuning & database perf

Question has a verified solution.

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

In this article, I'll describe -- and show pictures of -- some of the significant additions that have been made available to programmers in the MFC Feature Pack for Visual C++ 2008.  These same feature are in the MFC libraries that come with Visual …
Introduction: Hints for the grid button.  Nested classes, templated collections.  Squash that darned bug! Continuing from the sixth article about sudoku.   Open the project in visual studio. First we will finish with the SUD_SETVALUE messa…
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.
Want to learn how to record your desktop screen without having to use an outside camera. Click on this video and learn how to use the cool google extension called "Screencastify"! Step 1: Open a new google tab Step 2: Go to the left hand upper corn…

715 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