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.