Is it possible to add mouseover sensitivity to %ib and %tb? It would be useful to be able to detect mouseover events and react to them. The specific reason is to permit fly-out secondary (and therefore somewhat volatile) toolbars to appear on mouseover, without requiring the parent toolbar button to be pressed.
%ib already displays some mouseover sensitivity, particularly when the [coloured] or [flat] attributes are used. It seems to me that it is necessary to detect both 'mouseover commenced' and 'mouseover finished' events, and these can be reported by the 'state_control' integer with values unused at present. So as not to break existing code, mouseover sensitivity would need to be switchable with a clearwin modifier such as ` (grave) - and not ^ (carat) for compatability with %tb.
%tb on the other hand has no mouseover sensitivity at present. It seems to me that so as not to break existing code, mouseover sensitivity would again need to be switchable with a clearwin modifier such as ` (grave). The mechanism of reporting mouseover events in this case would need to be via callback_reason, and a 5th bitmap (or a 4th, if greyed-out is not used) would be required.
Ordinary text buttons 'perk up' on mouseover (with 1 24 default.manifest), but Windows norms never require this to be detectable by the program. Plenty of programs, and web pages, respond in some way to mouseover events, and it would be a useful addition to Clearwin.
Eddie