Re: Greg Haberek - xControls
- Posted by Greg Haberek <ghaberek at gmail.com> Dec 09, 2005
- 729 views
Well now I'm starting to think the issues is just how I'm handling TabControls and TabItems. I tried monitoring the TabItem's Resize event. That didn't work at all. TabItems don't get Resize events, TabControls do. So I tried monitoring the TabControl's Resize event. That leads to the issue we have now. I'm not sure why this happens exactly. I believe the Tab-to-Tab switching doesn't fire off a resize event. What I think I need to do, is monitor the TabControl's Resize event and the Tab-to-Tab Change (or Click) event, then send it a TCM_GETCURSEL message to get the current tab and convert it back to Win32Lib with getId(). From there, I'll only resize the controls on *that* tab. I'm just thinking through the keyboard here while I'm at work. Let's hope my theory holds true. ~Greg