Click here to Skip to main content
15,922,512 members
Home / Discussions / C#
   

C#

 
GeneralRe: SearchDirectory Pin
Jasmine25013-Jun-13 12:30
Jasmine25013-Jun-13 12:30 
GeneralRe: SearchDirectory Pin
Richard MacCutchan3-Jun-13 20:50
mveRichard MacCutchan3-Jun-13 20:50 
GeneralRe: SearchDirectory Pin
Jasmine25014-Jun-13 5:49
Jasmine25014-Jun-13 5:49 
GeneralRe: SearchDirectory Pin
Richard MacCutchan4-Jun-13 5:53
mveRichard MacCutchan4-Jun-13 5:53 
GeneralRe: SearchDirectory Pin
Jasmine25015-Jun-13 11:57
Jasmine25015-Jun-13 11:57 
GeneralRe: SearchDirectory Pin
Richard MacCutchan5-Jun-13 21:02
mveRichard MacCutchan5-Jun-13 21:02 
GeneralRe: SearchDirectory Pin
Jasmine25016-Jun-13 5:23
Jasmine25016-Jun-13 5:23 
GeneralRe: SearchDirectory Pin
Richard MacCutchan6-Jun-13 6:47
mveRichard MacCutchan6-Jun-13 6:47 
GeneralRe: SearchDirectory Pin
Jasmine25016-Jun-13 6:58
Jasmine25016-Jun-13 6:58 
GeneralRe: SearchDirectory Pin
Richard MacCutchan6-Jun-13 7:13
mveRichard MacCutchan6-Jun-13 7:13 
GeneralRe: SearchDirectory Pin
Pete O'Hanlon6-Jun-13 22:11
mvePete O'Hanlon6-Jun-13 22:11 
GeneralRe: SearchDirectory Pin
Pete O'Hanlon4-Jun-13 7:07
mvePete O'Hanlon4-Jun-13 7:07 
GeneralRe: SearchDirectory Pin
Jasmine25015-Jun-13 11:58
Jasmine25015-Jun-13 11:58 
GeneralRe: SearchDirectory Pin
Pete O'Hanlon5-Jun-13 12:14
mvePete O'Hanlon5-Jun-13 12:14 
GeneralRe: SearchDirectory Pin
Jasmine25013-Jun-13 12:31
Jasmine25013-Jun-13 12:31 
GeneralRe: SearchDirectory Pin
HubSnippets10-Jun-13 0:47
HubSnippets10-Jun-13 0:47 
GeneralRe: SearchDirectory Pin
Bernhard Hiller3-Jun-13 21:10
Bernhard Hiller3-Jun-13 21:10 
GeneralRe: SearchDirectory Pin
HubSnippets10-Jun-13 0:20
HubSnippets10-Jun-13 0:20 
QuestionSending messages to a listbox's context menu. Pin
Septimus Hedgehog2-Jun-13 22:28
Septimus Hedgehog2-Jun-13 22:28 
AnswerRe: Sending messages to a listbox's context menu. Pin
DaveyM693-Jun-13 0:15
professionalDaveyM693-Jun-13 0:15 
GeneralRe: Sending messages to a listbox's context menu. Pin
Septimus Hedgehog3-Jun-13 0:46
Septimus Hedgehog3-Jun-13 0:46 
Dave,

Thanks for the snippet and I'm happy to report that the popup context menu is displayed. The final bit I need to do is to select one of the menu items in the displayed menu. It contains four selectable options like ABC, DEF, GHI, JKL. If I wanted to select say, GHI, using SendMessage do you know how I'd do that?

Is that where I'd used 0x7b (WM_CONTEXTMENU)? I did a SendMessage call using 0x7b after WM_RBUTTONUP and I used a few variations of values for wParam and lParam but nothing I tried allowed auto-selection of a menu item. Perhaps WM_CONTEXTMENU isn't the right message value to use?
If there is one thing more dangerous than getting between a bear and her cubs it's getting between my wife and her chocolate.

AnswerRe: Sending messages to a listbox's context menu. Pin
DaveyM693-Jun-13 0:55
professionalDaveyM693-Jun-13 0:55 
GeneralRe: Sending messages to a listbox's context menu. Pin
Septimus Hedgehog3-Jun-13 1:00
Septimus Hedgehog3-Jun-13 1:00 
GeneralRe: Sending messages to a listbox's context menu. Pin
DaveyM693-Jun-13 1:10
professionalDaveyM693-Jun-13 1:10 
GeneralRe: Sending messages to a listbox's context menu. Pin
Septimus Hedgehog3-Jun-13 1:54
Septimus Hedgehog3-Jun-13 1:54 

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.