Developer forums (C::B DEVELOPMENT STRICTLY!) > Development
wxAUI
Pecan:
I haven't read the code, but I've run into this problem with
two other modules.
wxWindows::RemoveEventHandler() is a much safer way
of removing event handlers than PopEventHandler.
I dont think PopEventHandler should be used in a multi-module
program. How can you know it's the right event handler??
thanks
pecan
280Z28:
--- Quote from: Pecan on January 11, 2006, 01:58:41 pm ---I haven't read the code, but I've run into this problem with
two other modules.
wxWindow::RemoveEventHandler() is a much safer way
of removing event handlers than PopEventHandler.
I dont think PopEventHandler should be used in a multi-module
program. How can you know it's the right event handler??
thanks
pecan
--- End quote ---
I think that's just what I'm looking for. 8)
Pecan:
I've noticed that undocked windows are "alway-on-top" so that
it hides the main CB window and editor.
?Is there an option that can make the undocks more friendly?
I hate my editor code hidden. Like a pin/tack/clippy/nail/40 aught?
thanks
pecan
280Z28:
--- Quote from: Pecan on January 11, 2006, 06:30:40 pm ---I've noticed that undocked windows are "alway-on-top" so that
it hides the main CB window and editor.
?Is there an option that can make the undocks more friendly?
I hate my editor code hidden. Like a pin/tack/clippy/nail/40 aught?
thanks
pecan
--- End quote ---
Then you couldn't find them cause they don't show up on the task bar.
bwilliams:
--- Quote from: Pecan on January 11, 2006, 01:58:41 pm ---I haven't read the code, but I've run into this problem with
two other modules.
wxWindows::RemoveEventHandler() is a much safer way
of removing event handlers than PopEventHandler.
I dont think PopEventHandler should be used in a multi-module
program. How can you know it's the right event handler??
--- End quote ---
Hi pecan,
Good idea. We'll use RemoveEventHanlder() from now on. Works like a charm.
Best,
Ben
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version