MFC C++ How-To Series : PostMessage SendMessage Communication Video 20 | MFC Basics | Part 1

preview_player
Показать описание
A tutorial / lesson for beginners how the window can send / pass data / variables using WM_USER, ON_MESSAGE, PostMessage, SendMessage and directly using the objects.
Topics: ON_MESSAGE, Hide, MoveWindow, ShowWindow, SetWindowText.

Part 1/2

How to create SDI project (mentioned at the beginning of the video):

Members joined to this channel can download the source code in this video.
Source code ID: 2

Join this channel to get access to perks:

This helps me to create future tutorial videos. Thank you.

I do private C++ tutoring and software development:
Рекомендации по теме
Комментарии
Автор

I have a derived view from CTabView in my application. But for some reason MFC doesn't want to use that for handling Menu Commands. Can you give me a solution for this please.

anvarnasar
Автор

Hello Pekka, I sincerely would like to thank you for your tutorials. They have really good contents and you explain them very well. I really appreciate that you take your time to prepare such videos for your followers. Here are my questions(maybe an idea for your future videos?)
1) Is there any such "message mechanism" possible for our custom classes? If yes, then
2) If a custom class can retrieve a message from CWnd inherited Class?
3) If a custom class can also send a message? (Qt, for example, allow custom classes to emit SIGNALS, if they are inherited from QObjects, Is there such possibility to emit/send messages from custom classes? Thanks in Advance!

EM-rmip