Click here to Skip to main content
15,887,746 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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 
GeneralRe: Context menu problem Pin
Hamid_RT30-Aug-06 2:36
Hamid_RT30-Aug-06 2:36 
GeneralRe: Context menu problem Pin
gajendrakashyap30-Aug-06 3:29
gajendrakashyap30-Aug-06 3:29 
GeneralRe: Context menu problem Pin
Hamid_RT30-Aug-06 4:46
Hamid_RT30-Aug-06 4:46 
GeneralRe: Context menu problem Pin
gajendrakashyap30-Aug-06 19:39
gajendrakashyap30-Aug-06 19:39 
GeneralRe: Context menu problem Pin
Hamid_RT30-Aug-06 22:24
Hamid_RT30-Aug-06 22:24 
GeneralRe: Context menu problem Pin
gajendrakashyap30-Aug-06 22:45
gajendrakashyap30-Aug-06 22:45 
GeneralRe: Context menu problem Pin
Hamid_RT31-Aug-06 1:24
Hamid_RT31-Aug-06 1:24 
GeneralRe: Context menu problem Pin
gajendrakashyap31-Aug-06 2:45
gajendrakashyap31-Aug-06 2:45 
QuestionProblem with running SQL ( Like N'%) in VC++ Pin
rasha200329-Aug-06 20:17
rasha200329-Aug-06 20:17 
AnswerRe: Problem with running SQL ( Like N'%) in VC++ Pin
Marc Soleda29-Aug-06 20:49
Marc Soleda29-Aug-06 20:49 
GeneralRe: Problem with running SQL ( Like N'%) in VC++ Pin
Eytukan29-Aug-06 23:45
Eytukan29-Aug-06 23:45 
GeneralRe: Problem with running SQL ( Like N'%) in VC++ Pin
Marc Soleda29-Aug-06 23:50
Marc Soleda29-Aug-06 23:50 
GeneralRe: Problem with running SQL ( Like N'%) in VC++ Pin
Eytukan30-Aug-06 3:25
Eytukan30-Aug-06 3:25 
AnswerRe: Problem with running SQL ( Like N'%) in VC++ Pin
Hamid_RT29-Aug-06 22:07
Hamid_RT29-Aug-06 22:07 
GeneralRe: Problem with running SQL ( Like N'%) in VC++ Pin
rasha200329-Aug-06 23:39
rasha200329-Aug-06 23:39 

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.