Another (different) UI question; bug in Win32Lib or no?

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

In the last few hours I've posted on attempting to access a group control
through its label.  I understand that is a no go.

This is similar.

What about a tab index?  My experiments indicate that when one clicks on the tab
page indicator (the little tab area at the top), the caption for that control
gains focus (in the literal sense).  For example, assuming there are 6 tab
indexes (pages) on a single tab control, when one clicks on the caption of, say,
page 4, you will see the caption for page 4 encased in a rectangular set of dots.

One would expect that the return from the getFocus() function would be the
control id of the tab page (the tab index).  When I do that, instead the
underlying tab control's ID is returned.  At that point, I have no way of telling
(do I?) that the 4th of 6 tabs was selected.

Is this a bug in Win32Lib?

If it isn't a bug, is there a way to tell what the tab index is of the page that
truly has the focus, if the tab caption is selected (in the sense that the
rectangular dots are visible on the screen)?  I'm talking about testing from
within a menu item routine, not from a command button, in case that matters.

Thanks

Mike

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

Search



Quick Links

User menu

Not signed in.

Misc Menu