Application not redisplaying when selected from Windows task

For questions and postings not covered by the other forums
ConvertFromOldNGs
Posts: 5321
Joined: Wed Aug 05, 2009 5:19 pm

Application not redisplaying when selected from Windows task

Postby ConvertFromOldNGs » Fri Aug 07, 2009 12:00 pm

by Shane Carter >> Thu, 22 Feb 2001 4:46:36 GMT

Hi. I've got a problem with an application where when the application's icon is selected from the task bar at the bottom of the screen, the application does not redisplay.

This application consists of a parent form containing the menus, etc. which is always displayed, and depending on the option selected, a new subform is displayed on the parent form.

This problem only occurs in certain situations. If there's no subform displayed on the parent form, then the application displays as normal when selected from the task bar. However, if a menu item is selected and a subform displayed, then if I minimise the application by clicking the "Hide" button, focus remains on this application's icon on the taskbar, instead of being transferred to the currently active application. The only way to redisplay the application is to open the Windows Task Manager, select the application from the Applications tab, then click the "switch to" button. If I now minimise the application without selecting a new menu item (and subform), it will redisplay okay when I select it from the taskbar.

Another problem I've noticed is that this application has the wrong symbol alongside it when viewed via the "Applications" tab of the Windows NT Task Manager. For example, at one stage this morning it had the MS Excel symbol alongside it, as if Win NT is getting confused somewhere along the way.

The suggestion was that it could be a problem with how I'm using the setFormParent method, however I haven't been able to track down any problems with this.

Any help much appreciated.

Thanks,
Shane.

Return to “General Discussion”

Who is online

Users browsing this forum: No registered users and 4 guests