Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Losing Keyboard and mouse control

Status
Not open for further replies.

shetlandbob

Programmer
Mar 9, 2004
528
GB
Hi,

I know this is a long shot but I've come across a bizarre problem.

I have a dialog control where I turn on and off various controls through menu or toolbar commands. I've got an error when I turn off a DHTML control (although the problem is intermitent and only exists when I have a number of controls active (i.e. if I just have one it doesn't happen). It only occurs through toolbar commands??

The problem is that I lose mouse and keyboard focus to all the controls and the toolbar, however I can still access menu commands? To fix the problem all I have to do minimise and maximise (or similar)???? That simply activates the OnPaint() function (Which is not chaging any variables etc).

Any ideas????? Its a strange one I know.......
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top