[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 190
  • Last Modified:

Enable/Disable controls on a Modal Dialog

I have a modal dialog that, depending on the contents of a file that it reads on opening, will have certain controls visible, and others not.

Where is the appropriate place to put the ShowWindow() statements.

Thanks, Rick
0
rickatseasoft
Asked:
rickatseasoft
1 Solution
 
AndyAinscowCommented:
You can do it in the OnInitDialog after calling the base class implementation.  AT that point the dialog and controls are created.
0
 
rickatseasoftAuthor Commented:
Worked like a charm

Thanks again, Rick
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now