Re: Win32lib code, sorta doesnt work, or does it?

new topic     » goto parent     » topic index » view thread      » older message » newer message

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

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu