DHunter21
August 6th, 1999, 04:31 PM
Hi,
I want to setup my own message (MM_REFRESH), and I don't know what exactly to do. Funny how none of my 5 books say anything on this.. hehe.
Anyways, I thought that I should enter
afx_msg void OnRefreshTerm();
to the message map in the header file. I then thought I should add ON_MM_REFRESH() to the message map in the cpp file.
What am I doing wrong here? I want MM_REFRESH to execute OnRefreshTerm().
Iwould also like to know what the proper way to call the message is. (ie this->SendMessage(MM_REFRESH, ???, ???);
Thanks
I want to setup my own message (MM_REFRESH), and I don't know what exactly to do. Funny how none of my 5 books say anything on this.. hehe.
Anyways, I thought that I should enter
afx_msg void OnRefreshTerm();
to the message map in the header file. I then thought I should add ON_MM_REFRESH() to the message map in the cpp file.
What am I doing wrong here? I want MM_REFRESH to execute OnRefreshTerm().
Iwould also like to know what the proper way to call the message is. (ie this->SendMessage(MM_REFRESH, ???, ???);
Thanks