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

C / C++ / MFC

 
GeneralRe: Context menu problem Pin
gajendrakashyap29-Aug-06 22:07
gajendrakashyap29-Aug-06 22:07 
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 
well im writting a program (a parent dialog and a child) and then:
(1)Create a menu in resource and declare handler for items in main class
(2) im creating a button and insert these codes to it
<br />
<br />
CMenu m_Fpln_Revn_Menu, *m_Ptr_ContextMenu;<br />
<br />
	CPoint point;<br />
	GetCursorPos(&point);<br />
<br />
m_Fpln_Revn_Menu.LoadMenu(IDR_MENU1);<br />
m_Ptr_ContextMenu = m_Fpln_Revn_Menu.GetSubMenu(0);<br />
<br />
m_Ptr_ContextMenu->TrackPopupMenu(TPM_LEFTALIGN | TPM_LEFTBUTTON, point.x, point.y, AfxGetMainWnd());<br />

(3) and running my program
(4)when im clicking this button i can see a context_menu and when i click on items these works
(5) then im writting like these codes for child dialog and its working

Now you have this prolem with all your programs or only this program


WhiteSky


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 
AnswerRe: Problem with running SQL ( Like N'%) in VC++ Pin
Marc Soleda29-Aug-06 23:55
Marc Soleda29-Aug-06 23:55 
GeneralRe: Problem with running SQL ( Like N'%) in VC++ Pin
rasha200330-Aug-06 3:03
rasha200330-Aug-06 3:03 
QuestionRe: Problem with running SQL ( Like N'%) in VC++ Pin
David Crow30-Aug-06 3:31
David Crow30-Aug-06 3:31 
AnswerRe: Problem with running SQL ( Like N'%) in VC++ Pin
rasha200330-Aug-06 3:46
rasha200330-Aug-06 3:46 
GeneralRe: Problem with running SQL ( Like N'%) in VC++ Pin
Marc Soleda30-Aug-06 3:39
Marc Soleda30-Aug-06 3:39 
GeneralRe: Problem with running SQL ( Like N'%) in VC++ Pin
rasha200330-Aug-06 3:45
rasha200330-Aug-06 3:45 
GeneralRe: Problem with running SQL ( Like N'%) in VC++ Pin
Marc Soleda30-Aug-06 3:56
Marc Soleda30-Aug-06 3:56 

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.