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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Option "Windows in Taskbar" unloads hidden form

Status
Not open for further replies.

brendanb

Programmer
Sep 11, 2002
1
AU
My organisation is upgrading Office 97 to XP.

We have a word template which is loaded at start up and creates a ToolBar. If the users selecting an icon on this ToolBar, it runs a procedure from the template the loads a form (frmMenu.Show) which is a menu system for correspondence letters with the top letter highlighted. If a user selects a correspondence letter to open, the form is hidden (me.hide) and the correspondence letter is created. If the user selects the toolbar icon again, the hidden menu form is made visible with the last selected correspondence letter highlighted. Essentially the form should never be unloaded until you close Word.

A problem occurs due the WD2002 having a new Option "Windows in Taskbar" which if enabled displays each document in it's own Window in the taskbar. If a user selects two or three correspondence letters and then closes all of them (but does not close Word) then the form is unloaded. Therefore if the user selects the toolbar icon, the form will reload because it is not loaded

If I turn off the Option "Windows in Taskbar" the form is only unloaded when you close Word.

It seems is if the user's are closing the owner of the form.

Any help will be appreciated.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top