Re: CWnd::MessageBoxA does not take 4 parameters
From: Antonio Dias (antonio.r.dias_at_netvisao.pt)
Date: 01/28/05
- Next message: William DePalo [MVP VC++]: "Re: REG_MULTI_SZ"
- Previous message: Maksim P.: "Re: detecting alt+tab"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 28 Jan 2005 20:11:13 -0000
if you search on msdn you can find what the parameters are and if you can
use NULL on any of them. it's easy to find that kind of thing...
but anyway, the extra parameter in the SDK version, it's the parent HWND
of the messagebox (i believe). if you use MFC's CWnd::MessageBox you are
already saying tha the parent window of the messagebox is the CWnd (the
current window from where you are calling the messagebox)
On Mon, 24 Jan 2005 14:02:14 +0800, Jacky Luk <jl@knight.com> wrote:
> In the Direct3D extras, mview uses SDK MessageBoxA with 3 parameters,
> how to
> convert them to MFC MessageBoxA with 4 parameters equvilence,
> CD3DApplication class is a SDK based class and I'm mixing code between
> mview
> and MFC
> Is it advisable to cancel one of the parameters without tearing the
> application apart?
> Thanks
> Jack
>
> "Jacky Luk" <jl@knight.com> ¼¶¼g©ó¶l¥ó·s»D
> :e6laDidAFHA.1260@TK2MSFTNGP12.phx.gbl...
>> Hi all,
>> I have got a class derived from CFormView and CD3DApplication... a
> compiler
>> error said that CWnd::MessageBoxA does not take 4 parameters...
>> This was a cloning process but the original source code seemed to
>> compile
>> fine. Any comments are welcome! Thanks
>> Jack
>>
>>
>
>
-- Using Opera's revolutionary e-mail client: http://www.opera.com/m2/
- Next message: William DePalo [MVP VC++]: "Re: REG_MULTI_SZ"
- Previous message: Maksim P.: "Re: detecting alt+tab"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|