Click here to Skip to main content
15,905,587 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionhow to proceed with Notification of emails using Mapi. Pin
uday kiran janaswamy29-Aug-06 23:10
uday kiran janaswamy29-Aug-06 23:10 
AnswerRe: how to proceed with Notification of emails using Mapi. Pin
_AnsHUMAN_ 29-Aug-06 23:51
_AnsHUMAN_ 29-Aug-06 23:51 
GeneralRe: how to proceed with Notification of emails using Mapi. Pin
uday kiran janaswamy30-Aug-06 1:45
uday kiran janaswamy30-Aug-06 1:45 
QuestionRich text formating and tags Pin
Cedric Moonen29-Aug-06 22:53
Cedric Moonen29-Aug-06 22:53 
AnswerRe: Rich text formating and tags Pin
Waldermort30-Aug-06 1:08
Waldermort30-Aug-06 1:08 
QuestionRe: Rich text formating and tags Pin
David Crow30-Aug-06 3:13
David Crow30-Aug-06 3:13 
AnswerRe: Rich text formating and tags Pin
Cedric Moonen30-Aug-06 3:27
Cedric Moonen30-Aug-06 3:27 
Questionsize of structure variable Pin
Vishvanathan29-Aug-06 21:28
Vishvanathan29-Aug-06 21:28 
AnswerRe: size of structure variable Pin
Maxwell Chen29-Aug-06 21:44
Maxwell Chen29-Aug-06 21:44 
AnswerRe: size of structure variable Pin
Cedric Moonen29-Aug-06 21:45
Cedric Moonen29-Aug-06 21:45 
GeneralRe: size of structure variable Pin
Vishvanathan29-Aug-06 22:26
Vishvanathan29-Aug-06 22:26 
QuestionHard Disk serial Number Pin
vijay_aroli29-Aug-06 21:04
vijay_aroli29-Aug-06 21:04 
AnswerRe: Hard Disk serial Number Pin
Hamid_RT29-Aug-06 21:55
Hamid_RT29-Aug-06 21:55 
QuestionRe: Hard Disk serial Number Pin
David Crow30-Aug-06 3:17
David Crow30-Aug-06 3:17 
QuestionShow Desktop Problem-Minimizes all the window Pin
payal33529-Aug-06 20:54
payal33529-Aug-06 20:54 
AnswerRe: Show Desktop Problem-Minimizes all the window Pin
Nibu babu thomas30-Aug-06 0:30
Nibu babu thomas30-Aug-06 0:30 
GeneralRe: Show Desktop Problem-Minimizes all the window Pin
payal33530-Aug-06 1:02
payal33530-Aug-06 1:02 
GeneralRe: Show Desktop Problem-Minimizes all the window Pin
Nibu babu thomas30-Aug-06 1:07
Nibu babu thomas30-Aug-06 1:07 
GeneralRe: Show Desktop Problem-Minimizes all the window Pin
payal33530-Aug-06 19:21
payal33530-Aug-06 19:21 
GeneralRe: Show Desktop Problem-Minimizes all the window Pin
Nibu babu thomas30-Aug-06 19:37
Nibu babu thomas30-Aug-06 19:37 
QuestionContext menu problem Pin
gajendrakashyap29-Aug-06 20:19
gajendrakashyap29-Aug-06 20:19 
AnswerRe: Context menu problem Pin
Hamid_RT29-Aug-06 21:52
Hamid_RT29-Aug-06 21:52 
GeneralRe: Context menu problem Pin
gajendrakashyap29-Aug-06 22:07
gajendrakashyap29-Aug-06 22:07 
This is in message maps:
ON_COMMAND(ID_DIR_REVN_MENU, On_Dir_Revn_Menu)
-----------------------------------------------------------------------

I've customised the display of context menu to deligate to another function. The context menu code is loaded properly and displayed.

// called from the original OnContextMenu
void CFPLN_PAGE_Dialog::On_Fpln_Revn_Menu(CPoint point)
{
point.x = 90;
point.y = 95;
ClientToScreen(&point);

CMenu m_Fpln_Revn_Menu, *m_Ptr_ContextMenu;

m_Fpln_Revn_Menu.LoadMenu(IDR_FPLN_REVN_MENU);
m_Ptr_ContextMenu = m_Fpln_Revn_Menu.GetSubMenu(0);
ASSERT(m_Fpln_Revn_Menu);
m_Ptr_ContextMenu->TrackPopupMenu(TPM_LEFTALIGN | TPM_LEFTBUTTON, point.x, point.y, AfxGetMainWnd());
}
-----------------------------------------------------------------------

Then the command handler code is:
void CFPLN_PAGE_Dialog::On_Dir_Revn_Menu()
{
// TODO: Add your command handler code here
AfxMessageBox("dir revn menu");
}

Is this ok for you to guess something...?
Let me know if you want to know more about the problem. You can mail to me: "gajendra.kashyap@valtech.co.in"

Thanks,
Gajendra
GeneralRe: Context menu problem Pin
Hamid_RT29-Aug-06 22:38
Hamid_RT29-Aug-06 22:38 
GeneralRe: Context menu problem Pin
gajendrakashyap29-Aug-06 23:06
gajendrakashyap29-Aug-06 23:06 

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.