I've been bumping my head into this crevice all day!
I am trying to use a wxStyledTextCtrl, but use a different right-click
pop-up.
There's UsePopUp(0), but it doesn't seem to do anything (or it does
something that I don't understand)
I've tried EVT_RIGHT_DOWN(self,self.onRightDown)
I'm using the STC in a splitter window that's a page in a notebook
control. I've tried adding a panel 'around' the STC and
trying to catch the event there, but to no avail. I've seen this
done in other SW that's somehow able to have a customized menu
popup from the right-click. Anyone have a hint? Is there some
trick or can't this be done unless the STC is the top window of
a frame? I could post code but I can't imagine that anyone would
want to drill down that far...
BTW, if I'm not being clear, what I don't get is how to get the right-click
event ahead of the STC. I can create a popup menu and all that, just can't
get the STC to let go of the event!
Thanx...
Jeff Sasmor
jeff@sasmor.com