Click here to Skip to main content
16,004,458 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: owner draw menus Pin
radhika2824-Aug-06 0:33
radhika2824-Aug-06 0:33 
QuestionRe: owner draw menus Pin
Hamid_RT24-Aug-06 0:57
Hamid_RT24-Aug-06 0:57 
AnswerRe: owner draw menus Pin
radhika2824-Aug-06 1:17
radhika2824-Aug-06 1:17 
GeneralRe: owner draw menus Pin
prasad_som24-Aug-06 1:22
prasad_som24-Aug-06 1:22 
GeneralRe: owner draw menus Pin
Hamid_RT24-Aug-06 1:28
Hamid_RT24-Aug-06 1:28 
GeneralRe: owner draw menus Pin
radhika2824-Aug-06 2:12
radhika2824-Aug-06 2:12 
GeneralRe: owner draw menus Pin
Hamid_RT24-Aug-06 2:25
Hamid_RT24-Aug-06 2:25 
GeneralRe: owner draw menus Pin
radhika2824-Aug-06 3:17
radhika2824-Aug-06 3:17 
hi,
The steps i have done are,
1.First i have created a dialog based application and added the following statement in the InitInstance function in app class CNewMenu::SetMenuDrawMode(CNewMenu::STYLE_XP);.
2.Next i changed the name of CDialog to CNewDialog where ever it is there.
3.Next i have added the following statement in the dialog class m_DefaultNewMenu.LoadToolBar(IDR_MAINFRAME);.
4.Next i have included New menu.h in stdafx.h and i have added Newmenu.cpp in the project.
5.Next i have added message handler for initial menu pop up function in dlg class header file and added the function code in the source file.

Thanks radhika.
QuestionUDP application Pin
ramanand_bulusu23-Aug-06 23:36
ramanand_bulusu23-Aug-06 23:36 
AnswerRe: UDP application Pin
uday kiran janaswamy23-Aug-06 23:41
uday kiran janaswamy23-Aug-06 23:41 
QuestionReturn Hooked Values Pin
stevelam23-Aug-06 23:17
stevelam23-Aug-06 23:17 
QuestionRe: Return Hooked Values Pin
prasad_som24-Aug-06 0:11
prasad_som24-Aug-06 0:11 
QuestionRe: Return Hooked Values Pin
David Crow24-Aug-06 2:47
David Crow24-Aug-06 2:47 
AnswerRe: Return Hooked Values Pin
stevelam24-Aug-06 3:56
stevelam24-Aug-06 3:56 
QuestionWhat is the best way to close a application Pin
NorGUI23-Aug-06 23:15
NorGUI23-Aug-06 23:15 
AnswerRe: What is the best way to close a application Pin
uday kiran janaswamy23-Aug-06 23:18
uday kiran janaswamy23-Aug-06 23:18 
AnswerRe: What is the best way to close a application Pin
Michael Dunn24-Aug-06 0:15
sitebuilderMichael Dunn24-Aug-06 0:15 
QuestionControl wrapper Pin
HakunaMatada23-Aug-06 23:14
HakunaMatada23-Aug-06 23:14 
AnswerRe: Control wrapper Pin
Cedric Moonen23-Aug-06 23:33
Cedric Moonen23-Aug-06 23:33 
GeneralRe: Control wrapper Pin
HakunaMatada24-Aug-06 0:44
HakunaMatada24-Aug-06 0:44 
GeneralRe: Control wrapper Pin
Cedric Moonen24-Aug-06 1:22
Cedric Moonen24-Aug-06 1:22 
QuestionSample CMap Application Pin
velayudhan_raj23-Aug-06 22:43
velayudhan_raj23-Aug-06 22:43 
AnswerRe: Sample CMap Application Pin
Christian Graus23-Aug-06 22:47
protectorChristian Graus23-Aug-06 22:47 
AnswerRe: Sample CMap Application Pin
uday kiran janaswamy23-Aug-06 23:48
uday kiran janaswamy23-Aug-06 23:48 
AnswerRe: Sample CMap Application Pin
David Crow24-Aug-06 2:57
David Crow24-Aug-06 2:57 

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.