OWL NExt - Knowledge Base

[ Home | Contents | Search | Next | Previous | Up ]

Grayed static and edit control in dialog?

Date: 11/29/99
Time: 11:59:06 PM

Q. I read in data from a file and display it in a dialog box. To do this i have created a number of static text fields and text edit boxes in the resource editor.
     Sometimes information from the file is missing and i no longer need some of the fields in the dialog box, is there a way to make these unavailable to the user ?.

A. Could you call EnableWindow ( false ) for the control? (Or even Show SW_HIDE )?)
    --
    John Gaffney

Last changed: July 14, 2001