Re: MDI form title bar doesn't focus

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



On 5 Jun 2006 21:58:04 -0700, "nik" <nikbaer@xxxxxxxxx> wrote:

My MDI form does not regain focus when I click on the title bar. Once
my MDI form loses focus I can click on it to bring it back into focus,
except on the title bar. The icon and the minimize, maximize, close
buttons will all bring it into focus, so it is really just the middle
of the title bar that won't restore focus to the MDI form.

Thanks

Are you *sure* the form doesn't have focus? Not suggesting you're an idiot but
just wondering if the form only *looks* like it doesn't have focus.

Reason: I have seen the main title bar for Excel 2K appear with Windows' (XP)
inactive color scheme even though a child form (spread*** file) was active and
Excel was obviously the currently active app on the system. Don't know why it
happens but minimizing and restoring seems to sort it out. Sometimes just
clicking around (like on the Minimize/Restore/Close buttons) works too.

Just grasping at a straw I've seen in one of MS's own apps.
Forgive me if I made it sound like I think you don't know what you're doing. Not
my intent.

RW
.


Quantcast