Settings | Sign in | Sign up

There are currently 2 posts.

在非CDialog为基类的类中,使用Messagebox函数必须加HWND参数

Floor 1 巨大八爪鱼 7/24/12 18:02
因此一定是CDialog类把MessageBox函数重写了
Floor 2 巨大八爪鱼 6/20/16 22:55
必须加HWND参数的Messagebox是原始的Windows API函数。
而不加HWND的则是CWnd::Messagebox函数,也就是CWnd类的一个成员函数。

Content converter:

Reply the post
Content:
User: You are currently anonymous.
Captcha:
Unclear? Try another one.
©2010-2025 Purasbar Ver3.0 [Mobile] [Desktop]
Except where otherwise noted, content on this site is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported license.