AnsweredAssumed Answered

Determine active window

Question asked by thomasje on Sep 12, 2012
How do I determine the active window? Would like to center a status panel in the center of the current active window. Status window shows a FillBar which increments from zero to top level depending upon max level parameter to status panel. Have tried System.Windows.Forms.Application.OpenForms to obtain a list of open forms and then step through the forms to find the current active form. Unable to utilize the "this" object in C# as in "this.Application".

Can you help with finding the current active window/panel?  

Outcomes