Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

About MFC ?

0 views
Skip to first unread message

Geo Tsai

unread,
Mar 6, 1997, 3:00:00 AM3/6/97
to

請問在MFC中message的對應function都是用 afx_msg開頭

查看 .h檔中 定義 afx_msg 確是什麼也沒有

#define afx_msg // intention placeholder (這什麼意思?)

請問既然沒有定義,那加這afx_msg是要做什麼?


sw

unread,
Mar 7, 1997, 3:00:00 AM3/7/97
to

==> 在 geo...@ms1.hinet.ent (Geo Tsai) 的文章中提到:

我想這樣做的目的只是為了使程式更容易讓人看得
懂。就如你所說的,在MFC中message的對應function都是用afx_msg來
做開頭,所以只要你看到某個函式在宣告是有加上 afx_msg,那你不
就可以確定這個函式是對應到某個 message了嗎?
--
* Origin: ★ 交通大學資訊科學系 BBS ★ <bbs.cis.nctu.edu.tw: 140.113.23.3>

0 new messages