TheSwamp

Code Red => .NET => Topic started by: rjhinton on November 22, 2010, 10:20:17 AM

Title: How to Determine Focus Change of Floating Viewports
Post by: rjhinton on November 22, 2010, 10:20:17 AM
I'm looking for an events that is fired when a user switches between different floating viewports.  I would like to update a list of viewport names when the user switches to a different viewport.  Does anyone know how to determine when the user changes focus to a different viewport?
Title: Re: How to Determine Focus Change of Floating Viewports
Post by: Jeff_M on November 22, 2010, 11:32:31 AM
THe SystemVariable CVPORT changes  when the user switches VP's. The SysVar CTAB changes when switching tabs.
Title: Re: How to Determine Focus Change of Floating Viewports
Post by: rjhinton on November 22, 2010, 12:08:59 PM
That's fantasy and so simply.  Somtimes the easiest answer is right in front of you.  Now all I have to do is figure out is how will my application know when the "CVPORT" systemvarible has changes.  Is there an event for that?
Title: Re: How to Determine Focus Change of Floating Viewports
Post by: Jeff_M on November 22, 2010, 12:18:22 PM
Application.SystemVariableChanged......