On 9/1/07, Ken Perry whistler@blinksoft.com wrote:
I am half done with my first program with the library but I have ran into a problem that needs fixing before it will work. I am not sure if my last message got to the list but in the flow demo and in the widget-tester demo you can not use tab to go from control to control.
See my other reply -- there is a bunch of work yet to be done in these areas.
I used Microsoft ASM to write my last demo for a group I am on so I know I don't have to do any special event handling to make tab work in regular win32 programs.
My understanding is that at a minimum, one needs to call IsDialogMessage() in order to get the proper tab and arrow key behavior. I do that right now for dialogs (see the function INTERCEPT-KBDNAV-MESSAGE function in thread-context.lisp, and where that's called from in the DEFAULT-MESSAGE-FILTER function in widget-utils.lisp).
It's possible that I've take a dialog-specific approach that could be generalized a bit better for any kind of window, so if you have specific ideas about this I'm interested in hearing them.
Is there a reason the tab is not working in the graphic forms library? The windlg seems to allow the tab to work correctly but it doesn't use the flow controls. Also is there a way to put short cuts on menus? I don't' see it in the documentation and the test program Text edit doesn't have them.
I understand this is open source so I could help add some of these features if they are wanted but I don't' want to add something that is not wanted.
I'd be happy to look at any patches you want to submit. Probably the best thing to do is to upload them using the patch tracker at SF.net. Don't be alarmed if it takes a few iterations before I decide I'm happy enough to apply patches, we'll just take it one step at a time.