Developer forums (C::B DEVELOPMENT STRICTLY!) > Development

MessageLog::Clear()

<< < (2/2)

thomas:

--- Quote from: killerbot on November 16, 2005, 10:30:56 pm ---I have 2 questions, how do I get hold of that right click menu of the message manager, and how can I add an entry that only shows up for my panel and not in the other panels of the message manager?
--- End quote ---

Not so easy really. None of that is done by Code::Blocks. wxTextCtrl builds this menu automatically, and it offers no API to insert items or anything (at least I know of none).
So... you will probably have to push an event handler, hijack wxEVT_RIGHT_UP and create the menu yourself. Then of course, you have to implement cut, copy, and paste yourself, too.

Navigation

[0] Message Index

[*] Previous page

Go to full version