Re: How can I get the menu handle from the CDialog object?
- From: "Nishant Sivakumar" <nish@xxxxxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 7 Apr 2005 10:49:56 +0530
Blast - I meant "inserting the menu"! :-)
--
Regards,
Nish [VC++ MVP]
http://www.voidnish.com
http://blog.voidnish.com
"Nishant Sivakumar" <nish@xxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:uCjivDzOFHA.3292@xxxxxxxxxxxxxxxxxxxxxxx
> That doesn't make a difference - your inserting the dialog via code or via
> the dialog resource editor.
>
> --
> Regards,
> Nish [VC++ MVP]
> http://www.voidnish.com
> http://blog.voidnish.com
>
>
> "Carl" <carl8421@xxxxxxx> wrote in message
> news:OmI5TAxOFHA.2568@xxxxxxxxxxxxxxxxxxxxxxx
>> Well,Thanks a lot.
>>
>> I solved the problem by adding a menu resource dynamically, but when I
>> used
>> to add the menu resource into CDialog by using resource editor, it's
>> still
>> returned me a handle 0x0000000 ever I had used
>> this->GetMenu()->GetSafeHmenu().so strange.
>>
>> Carl
>>
>>
>>
>
>
.
- Follow-Ups:
- References:
- How can I get the menu handle from the CDialog object?
- From: Carl
- Re: How can I get the menu handle from the CDialog object?
- From: Carl
- Re: How can I get the menu handle from the CDialog object?
- From: Nishant Sivakumar
- How can I get the menu handle from the CDialog object?
- Prev by Date: Re: Debug this error !!!!
- Next by Date: Re: How to catch this ?
- Previous by thread: Re: How can I get the menu handle from the CDialog object?
- Next by thread: Re: How can I get the menu handle from the CDialog object?
- Index(es):
Relevant Pages
|