Re: Win32lib code, sorta doesnt work, or does it?
- Posted by David Cuny <dcuny at LANSET.COM> Mar 07, 2000
- 424 views
J Reeves wrote: > Kinda, Isnt there a way to set unfocus the > button and set the focus to the main window > or just to the bitmap window? Well, the toolbar and status bar are special cases. Ordinarily, Win32Lib will give focus to the first active control it can find in a window. But the toolbar and status bars are actually windows, of sorts, and they can't get focus, in and of themselves. The controls in the toolbar belong to the toolbar, not the window that holds the toolbar. So I suspect that you could, in fact, remove focus from the button and set it to the window. The 'bitmap' isn't really a control at all, and it can't get focus. -- David Cuny