Click here to Skip to main content
15,901,122 members
Home / Discussions / Managed C++/CLI
   

Managed C++/CLI

 
GeneralRe: (char*& Content) ? Pin
Software_Specialist1-Apr-07 9:56
Software_Specialist1-Apr-07 9:56 
GeneralRe: (char*& Content) ? Pin
Software_Specialist1-Apr-07 9:57
Software_Specialist1-Apr-07 9:57 
GeneralRe: (char*& Content) ? Pin
Richard Andrew x641-Apr-07 10:06
professionalRichard Andrew x641-Apr-07 10:06 
AnswerRe: (char*& Content) ? Pin
lafleon4-Apr-07 10:30
lafleon4-Apr-07 10:30 
QuestionShowing a NotifyIcon Context Menu Pin
Richard Andrew x6431-Mar-07 18:57
professionalRichard Andrew x6431-Mar-07 18:57 
AnswerRe: Showing a NotifyIcon Context Menu Pin
Mark Salsbery1-Apr-07 7:39
Mark Salsbery1-Apr-07 7:39 
GeneralRe: Showing a NotifyIcon Context Menu Pin
Richard Andrew x641-Apr-07 8:32
professionalRichard Andrew x641-Apr-07 8:32 
GeneralRe: Showing a NotifyIcon Context Menu Pin
Mark Salsbery1-Apr-07 9:09
Mark Salsbery1-Apr-07 9:09 
Fair enough Smile | :)

I'm not sure how you'd accomplish this. In an MFC window (Windows OS window) you provide a
popup menu and display it typically in response to the user clicking the tray icon.

Seems to me (since ContextMenu.Show() requires a form) you need to maybe call the windows
TrackPopupMenu() API using the HMENU obtained from the ContextMenu (Menu.Handle property).
Pass the dialog's HWND - the dialog will receive the command messages.

Maybe?

Mark


"If you can dodge a wrench, you can dodge a ball."

GeneralRe: Showing a NotifyIcon Context Menu Pin
Richard Andrew x641-Apr-07 9:13
professionalRichard Andrew x641-Apr-07 9:13 
Questionerror LNK2005 Pin
thesad31-Mar-07 8:43
thesad31-Mar-07 8:43 
AnswerRe: error LNK2005 Pin
prasad_som31-Mar-07 18:41
prasad_som31-Mar-07 18:41 
GeneralRe: error LNK2005 Pin
thesad1-Apr-07 0:25
thesad1-Apr-07 0:25 
GeneralRe: error LNK2005 Pin
sarah_malik2-Apr-07 11:11
sarah_malik2-Apr-07 11:11 
QuestionURGENT Pin
tanchinchee31-Mar-07 5:38
tanchinchee31-Mar-07 5:38 
AnswerRe: URGENT Pin
Christian Graus1-Apr-07 14:44
protectorChristian Graus1-Apr-07 14:44 
QuestionWhat's wrong with database? Can anybody help? [modified] Pin
Badboy22TR30-Mar-07 22:48
Badboy22TR30-Mar-07 22:48 
AnswerRe: What's wrong with database? Can anybody help? Pin
Sahir Shah31-Mar-07 7:18
Sahir Shah31-Mar-07 7:18 
GeneralRe: What's wrong with database? Can anybody help? Pin
Badboy22TR31-Mar-07 12:35
Badboy22TR31-Mar-07 12:35 
GeneralRe: What's wrong with database? Can anybody help? Pin
Badboy22TR31-Mar-07 14:30
Badboy22TR31-Mar-07 14:30 
QuestionMFC classes problem Pin
FredrickNorge30-Mar-07 11:43
FredrickNorge30-Mar-07 11:43 
AnswerRe: MFC classes problem Pin
led mike30-Mar-07 11:57
led mike30-Mar-07 11:57 
GeneralRe: MFC classes problem [modified] Pin
FredrickNorge30-Mar-07 12:15
FredrickNorge30-Mar-07 12:15 
GeneralRe: MFC classes problem Pin
led mike2-Apr-07 4:40
led mike2-Apr-07 4:40 
QuestionCOM 2D safearrays in C# Pin
lafleon29-Mar-07 13:07
lafleon29-Mar-07 13:07 
QuestionHex Editing Pin
compmaniac29-Mar-07 11:33
compmaniac29-Mar-07 11:33 

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.