Message 1 of 1
MultiPage Automatic Tabs
Not applicable
01-29-2007
07:56 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I've got a Multipage with 12 pages. I need to be able to easily "browse" through the pages without clicking. How can I make a given page active just by passing the cursor over it's tab(instead of clicking it)?
I'd like to use mousemove on the tabs themselves but that doesn't seem to be possible. The closest I've gotten is to hide the tabs and instead place labels where the tabs would be, then use mousemove with the labels to set the current page. It works but it looks like junk.
I'm thinking "determine the screen positions of the tabs themselves, then fire the pages based on cursor position." I know that would involve GetCursorPos and ScreenToClient, but I haven't been able to put it all together.
I'd like to use mousemove on the tabs themselves but that doesn't seem to be possible. The closest I've gotten is to hide the tabs and instead place labels where the tabs would be, then use mousemove with the labels to set the current page. It works but it looks like junk.
I'm thinking "determine the screen positions of the tabs themselves, then fire the pages based on cursor position." I know that would involve GetCursorPos and ScreenToClient, but I haven't been able to put it all together.