Interesting idea. I suppose a nice answer might be to filter interesting keystrokes and turn them into custom events. Then direct all such events to the controller responsible for handling them.
Thanks.
Search found 44 matches
- Fri Oct 29, 2010 4:40 pm
- Forum: C++ Development
- Topic: Default event target
- Replies: 4
- Views: 1163
- Thu Oct 28, 2010 11:27 pm
- Forum: C++ Development
- Topic: Default event target
- Replies: 4
- Views: 1163
- Tue Oct 26, 2010 7:28 pm
- Forum: C++ Development
- Topic: Ensuring column visibility with wxListCtrl
- Replies: 0
- Views: 655
Ensuring column visibility with wxListCtrl
I want wxListCtrl in report mode and I want to lock one or more columns such that when you scroll left and right those columns remain visible at all times. For example: | name | field1 | field2 | field3 |....| When scrolled to the left I want it to be like: | name | field3 | field 4 | ... | I can't ...
- Tue Sep 07, 2010 4:28 pm
- Forum: C++ Development
- Topic: Dialogs and multiple monitors
- Replies: 0
- Views: 619
Dialogs and multiple monitors
Having trouble finding information on making dialogs appear on the correct monitor when the parent is not on the main display. Currently I used wxDefaultPosition to initialize the dialog but this doesn't seem to play well with dual monitors (or more). Is there something I need to do so that the WX o...
- Fri Jul 30, 2010 4:47 pm
- Forum: C++ Development
- Topic: Default event target
- Replies: 4
- Views: 1163
Default event target
I'm trying to set up a situation in which if an event is not handled by the focused window or anything above it then to send the event to a particular window in the frame. The basic issue is that I have a canvas window that needs to get key events that are not being sent to it. I can almost get the ...
- Mon Feb 15, 2010 4:58 pm
- Forum: C++ Development
- Topic: another AUI issue
- Replies: 3
- Views: 1088
- Mon Feb 01, 2010 6:39 pm
- Forum: C++ Development
- Topic: another AUI issue
- Replies: 3
- Views: 1088
- Fri Jan 15, 2010 5:39 pm
- Forum: C++ Development
- Topic: another AUI issue
- Replies: 3
- Views: 1088
another AUI issue
When the frame that contains "panes" is resized so that the panes go past each other, they end up drawing on each other and then not refreshing correctly.
Anyone else see this problem and what did you do about it?
Attached is before and after images.
Anyone else see this problem and what did you do about it?
Attached is before and after images.
- Wed Jan 06, 2010 11:45 pm
- Forum: C++ Development
- Topic: cursor not being refreshed
- Replies: 5
- Views: 1324
On msw it is very likely that it is not due to wxW. You can see the same behavior with Firefox for example. I also tried to do that once but I remember giving up. One workaround can be to programmatically move the mouse pointer by 1 pixel after setting the cursor. Or maybe move it, and then move it...
- Wed Jan 06, 2010 10:13 pm
- Forum: C++ Development
- Topic: cursor not being refreshed
- Replies: 5
- Views: 1324
- Wed Jan 06, 2010 7:56 pm
- Forum: C++ Development
- Topic: cursor not being refreshed
- Replies: 5
- Views: 1324
cursor not being refreshed
I'm calling SetCursor() on a window in response to a key event. The cursor does not change until the mouse moves. I've tried calling Refresh() and SetFocus() on the window and neither works. How can I cause the cursor to immediately change rather than depend on the mouse moving first?
- Thu Dec 10, 2009 6:32 pm
- Forum: C++ Development
- Topic: wxAuiMDIParentFrame - disabling tab moving
- Replies: 3
- Views: 1113
Hi, What you have looks very similar to wxAuiNotebook which has a configurable tab handling including prevention of moving a tab using the style parameter (wxAUI_NB_TAB_MOVE). See http://docs.wxwidgets.org/stable/wx_wxauinotebook.html I've never used wxAuiMDIParentFrame, but glancing at the source,...
- Wed Dec 09, 2009 10:25 pm
- Forum: C++ Development
- Topic: wxAuiMDIParentFrame - disabling tab moving
- Replies: 3
- Views: 1113
wxAuiMDIParentFrame - disabling tab moving
With the Aui MDI stuff you have tabs that can be moved around and arranged in various split screen methods. Unfortunately there is a rather serious bug in this system that can render the entire thing unusable should the user accidentally do one, basic thing that could easily come up. We don't want t...
- Mon Jul 20, 2009 9:11 pm
- Forum: C++ Development
- Topic: Sizing troubles
- Replies: 6
- Views: 1616
Just to be sure. If you put the same code outside wxAUI panes, the sizing is right? Then maybe you need to telol the wxAUI pane what minimum size you want (if I understand well your first screenshot) Not exactly. If I set the minimum size of the widget it does start out big enough, but doesn't keep...
- Mon Jul 20, 2009 4:04 pm
- Forum: C++ Development
- Topic: Sizing troubles
- Replies: 6
- Views: 1616