Click here to Skip to main content
15,900,724 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Multilingual Languages Pin
Hamid_RT3-Oct-06 1:15
Hamid_RT3-Oct-06 1:15 
GeneralRe: Multilingual Languages Pin
ShilpiP3-Oct-06 1:25
ShilpiP3-Oct-06 1:25 
GeneralRe: Multilingual Languages Pin
Rajesh R Subramanian3-Oct-06 1:36
professionalRajesh R Subramanian3-Oct-06 1:36 
GeneralRe: Multilingual Languages Pin
ShilpiP3-Oct-06 2:00
ShilpiP3-Oct-06 2:00 
AnswerRe: Multilingual Languages Pin
Rajesh R Subramanian3-Oct-06 2:11
professionalRajesh R Subramanian3-Oct-06 2:11 
GeneralRe: Multilingual Languages Pin
ShilpiP3-Oct-06 2:18
ShilpiP3-Oct-06 2:18 
GeneralRe: Multilingual Languages Pin
Hamid_RT3-Oct-06 9:19
Hamid_RT3-Oct-06 9:19 
QuestionCMenu::DrawItem Pin
Arman S.2-Oct-06 20:57
Arman S.2-Oct-06 20:57 
Hi,

I want to use a custom menu for my SDI application, that is, to call CMyMenu's DrawItem virtual method. (but I cannot Frown | :(

So, I set CREATESTRUCT's cs.hMenu to NULL to cancel the original menu.
Prepared the class CMyMenu with its DrawItem and MeasureItem virtual functions overriden, and put the following code in CMainFrame::OnCreate;
<br />
m_mymenu.LoadMenu(IDR_MAINFRAME);<br />
SetMenu(&m_mymenu);


... Menu is appeared as assumed, but no DrawItem/MeasureItem is getting called!

Could you please help me with calling those methods?

Thanks in advance.

--
======
Arman

AnswerRe: CMenu::DrawItem Pin
Hamid_RT2-Oct-06 21:12
Hamid_RT2-Oct-06 21:12 
AnswerRe: CMenu::DrawItem Pin
Naveen2-Oct-06 21:45
Naveen2-Oct-06 21:45 
GeneralRe: CMenu::DrawItem Pin
Arman S.2-Oct-06 22:15
Arman S.2-Oct-06 22:15 
GeneralRe: CMenu::DrawItem Pin
Naveen2-Oct-06 23:01
Naveen2-Oct-06 23:01 
QuestionCListView problem Pin
Mohammad A Gdeisat2-Oct-06 20:45
Mohammad A Gdeisat2-Oct-06 20:45 
AnswerRe: CListView problem Pin
_AnsHUMAN_ 2-Oct-06 21:02
_AnsHUMAN_ 2-Oct-06 21:02 
AnswerRe: CListView problem Pin
Mila0252-Oct-06 21:25
Mila0252-Oct-06 21:25 
GeneralRe: CListView problem Pin
Mohammad A Gdeisat2-Oct-06 23:57
Mohammad A Gdeisat2-Oct-06 23:57 
AnswerRe: CListView problem Pin
Hamid_RT2-Oct-06 21:40
Hamid_RT2-Oct-06 21:40 
AnswerRe: CListView problem Pin
_AnsHUMAN_ 2-Oct-06 20:43
_AnsHUMAN_ 2-Oct-06 20:43 
QuestionWMI in Winpe 2.0 Pin
Sachinpatole2-Oct-06 20:21
Sachinpatole2-Oct-06 20:21 
QuestionStatic Release wrong behavior and Debug fine Pin
31415926532-Oct-06 19:07
31415926532-Oct-06 19:07 
AnswerRe: Static Release wrong behavior and Debug fine Pin
prasad_som2-Oct-06 19:17
prasad_som2-Oct-06 19:17 
GeneralRe: Static Release wrong behavior and Debug fine Pin
31415926532-Oct-06 19:22
31415926532-Oct-06 19:22 
GeneralRe: Static Release wrong behavior and Debug fine Pin
prasad_som2-Oct-06 19:41
prasad_som2-Oct-06 19:41 
AnswerRe: Static Release wrong behavior and Debug fine Pin
Stephen Hewitt2-Oct-06 19:38
Stephen Hewitt2-Oct-06 19:38 
GeneralRe: Static Release wrong behavior and Debug fine Pin
31415926532-Oct-06 20:12
31415926532-Oct-06 20:12 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.