![]() |
Regarding POPUP MENU |
Post Reply
|
| Author | |
KumarCJ
Groupie
Joined: 02 April 2007 Location: India Status: Offline Points: 96 |
Post Options
Thanks(0)
Quote Reply
Topic: Regarding POPUP MENUPosted: 06 July 2007 at 3:08am |
|
Hi, We are intergrating our application with codejock 10.4.2. We have Main Menu item "Design View". When we are clciking on "Design View" through MainMenu, report designer is opening perfectly. We have Item detail view, if I right click on this view it displayed popup menu where we have "Design View". If we clicked on "Design View" using below OLD code, Report Designer is opening perfectly. //OLD CODE BUT, when we replaced the OLD CODE with below given NEW CODE //NEW CODE
if(!CXTPCommandBars::TrackPopupMenu( CMenu::FromHandle(hMenuPopup), TPM_LEFTALIGN | TPM_RIGHTBUTTON,
ClickPos.x, ClickPos.y, CWnd::FromHandlePermanent(hWndTrack), 0,0, ((CXTPMDIFrameWnd*)AfxGetMainWnd())->GetCommandBars()) ) { xyz(); } and when we click on "Design View", Report Designer is not Opening. ISSUE:
The Issue is that when we replaced the OLD CODE for displaying POPUP MENU with NEW CODE, the "Design View" is opening through MAIN MENU, but NOT by POPUP MENU.
Thanks,
KumarCJ
|
|
![]() |
|
Post Reply
|
|
|
Tweet
|
| Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |