Note that "Standard" is just one of the possible tool bars. We have used the following list as the total list that could possibly be around when the app starts:
"Color Palette"
"Database Designer"
"Form Controls"
"Form Designer"
"Layout"
"Print Preview"
"Query Designer"
"Report Controls"
"Report Designer"
"Standard"
"View Designer"
We have normally save the current state of each toolbar (WVISIBLE("Standard")) in the Init method of the appropriate class and then issue a HIDE WINDOW for those that are visible. In the Destroy, we do a SHOW WINDOW to get them back to the starting state.
While this may be overkill for a distributed executable, it makes it very nice when you're developing the code to have your chosen toolbars back when you're done running it.
Don
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only