Restore button does not work in MDI apps

Article ID: 883
Last updated: 05 Feb, 2008
Article ID: 883
Last updated: 05 Feb, 2008
Revision: 1
Views: 2603
Posted: 12 Nov, 1997
by Dean J.
Updated: 05 Feb, 2008
by Dean J.
Problem


In an MDI app, when I open a dialog, maximize it, then open another dialog, the restore button no longer works.

 




Action


In parts/zap0302w/source/src/mdi2.cpp, the following code should be removed from
zMDIDialogFrame::show:

#ifdef WIN32
styleSet(WS_CLIPSIBLINGS);
styleUpdate();
#endif

In each zMDIDialogFrame constructor just above the line

if (!noAutoCreate) create();

Add the following code:

#ifdef WIN32
styleSet(WS_CLIPSIBLINGS);
#endif

Rebuild your zApp libraries.

This article was:   Helpful | Not helpful
Report an issue
Article ID: 883
Last updated: 05 Feb, 2008
Revision: 1
Views: 2603
Posted: 12 Nov, 1997 by Dean J.
Updated: 05 Feb, 2008 by Dean J.

Others in this category