Click here to Skip to main content
15,913,486 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Debbuger traps Pin
Stephen Hewitt2-Apr-06 17:51
Stephen Hewitt2-Apr-06 17:51 
QuestionLinking non-default libraries in VC++ Pin
Kordzik2-Apr-06 4:44
Kordzik2-Apr-06 4:44 
AnswerRe: Linking non-default libraries in VC++ Pin
Michael Dunn2-Apr-06 7:17
sitebuilderMichael Dunn2-Apr-06 7:17 
AnswerRe: Linking non-default libraries in VC++ Pin
Laxman Auti2-Apr-06 17:58
Laxman Auti2-Apr-06 17:58 
Questionabout dynamic append menu Pin
FlyWithYou2-Apr-06 4:12
FlyWithYou2-Apr-06 4:12 
AnswerRe: about dynamic append menu Pin
FarPointer2-Apr-06 4:17
FarPointer2-Apr-06 4:17 
GeneralRe: about dynamic append menu Pin
FlyWithYou2-Apr-06 5:47
FlyWithYou2-Apr-06 5:47 
GeneralRe: about dynamic append menu Pin
FarPointer2-Apr-06 6:27
FarPointer2-Apr-06 6:27 
This is how i have inserted an menu and it works fine
// tried for a dialog
// ID_MYMENU NEWMLY ADDED MENU ID
CMenu *Menu =this->GetSystemMenu(FALSE);	<br />
Menu->InsertMenu( 3 , MF_BYPOSITION, ID_MYMENU, "&Insert in 3 Place");<br />
//and if for some reason you are not getting it enable it <br />
map this <br />
virtual BOOL OnCmdMsg(UINT nID, int nCode,  void* pExtra,AFX_CMDHANDLERINFO* pHandlerInfo <br />
);<br />
nCode check for <br />
if(nID ==ID_MYMENU) &&( nCode == CN_UPDATE_COMMAND_UI)<br />
{<br />
  // THIS ENABLES IT <br />
  ( ( CCmdUI* ) pExtra)->Enable( TRUE );<br />
}<br />

Regards,
FarPointer

-- modified at 12:28 Sunday 2nd April, 2006
GeneralRe: about dynamic append menu Pin
Michael Dunn2-Apr-06 7:18
sitebuilderMichael Dunn2-Apr-06 7:18 
GeneralRe: about dynamic append menu Pin
FarPointer2-Apr-06 7:26
FarPointer2-Apr-06 7:26 
AnswerRe: about dynamic append menu Pin
Hamid_RT2-Apr-06 4:30
Hamid_RT2-Apr-06 4:30 
GeneralRe: about dynamic append menu Pin
FlyWithYou2-Apr-06 5:44
FlyWithYou2-Apr-06 5:44 
GeneralRe: about dynamic append menu Pin
Hamid_RT2-Apr-06 5:54
Hamid_RT2-Apr-06 5:54 
QuestionHow to disable the close icon in the title bar of an MFC Dialog after dialog creation? Pin
rbid2-Apr-06 3:42
rbid2-Apr-06 3:42 
AnswerRe: How to disable the close icon in the title bar of an MFC Dialog after dialog creation? Pin
toxcct2-Apr-06 4:06
toxcct2-Apr-06 4:06 
AnswerRe: How to disable the close icon in the title bar of an MFC Dialog after dialog creation? Pin
FarPointer2-Apr-06 4:09
FarPointer2-Apr-06 4:09 
AnswerRe: How to disable the close icon in the title bar of an MFC Dialog after dialog creation? Pin
Hamid_RT2-Apr-06 4:12
Hamid_RT2-Apr-06 4:12 
GeneralRe: How to disable the close icon in the title bar of an MFC Dialog after dialog creation? Pin
FarPointer2-Apr-06 4:14
FarPointer2-Apr-06 4:14 
GeneralRe: How to disable the close icon in the title bar of an MFC Dialog after dialog creation? Pin
Hamid_RT2-Apr-06 4:21
Hamid_RT2-Apr-06 4:21 
GeneralRe: How to disable the close icon in the title bar of an MFC Dialog after dialog creation? Pin
FarPointer2-Apr-06 4:26
FarPointer2-Apr-06 4:26 
GeneralRe: How to disable the close icon in the title bar of an MFC Dialog after dialog creation? Pin
Hamid_RT2-Apr-06 4:34
Hamid_RT2-Apr-06 4:34 
AnswerThanks for your advices, now it works.. Pin
rbid2-Apr-06 7:53
rbid2-Apr-06 7:53 
Questionproblem in find replace Pin
cancerion2-Apr-06 2:47
cancerion2-Apr-06 2:47 
QuestionDual core optimisation Pin
m_5811-Apr-06 22:50
m_5811-Apr-06 22:50 
AnswerRe: Dual core optimisation Pin
Gary R. Wheeler2-Apr-06 4:26
Gary R. Wheeler2-Apr-06 4:26 

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.