The zApp isShown() function does not work correctly

Article ID: 1028
Last updated: 05 Feb, 2008
Article ID: 1028
Last updated: 05 Feb, 2008
Revision: 1
Views: 2606
Posted: 15 Jun, 1998
by Dean J.
Updated: 05 Feb, 2008
by Dean J.
Problem


The isShown() member function does not seem to work correctly.



Action


Try using the following workaround to this problem:
    if( IsWindowVisible( *pButton1 ) )

instead of

    if(pButton1->isShown())

You can substitue any control that the isShown() function is valid for. For example:

    if( IsWindowVisible( *dlg ) )

instead of

    if(dlg->isShown())
This article was:   Helpful | Not helpful
Report an issue
Article ID: 1028
Last updated: 05 Feb, 2008
Revision: 1
Views: 2606
Posted: 15 Jun, 1998 by Dean J.
Updated: 05 Feb, 2008 by Dean J.

Others in this category