• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 206
  • Last Modified:

CDialogBar initially invisible

I want to create a CDialogBar that is initially invisible. How can I do this ?
0
MarcoHelmers
Asked:
MarcoHelmers
  • 2
1 Solution
 
Tommy HuiEngineerCommented:
Make sure your CDialogBar does not have the WS_VISIBLE style on it.
0
 
MarcoHelmersAuthor Commented:
Yes, I know that. But how can I do it before the CDialogBar is created ? I donĀ“t want it to appear for a short moment when the command create is called.
0
 
Tommy HuiEngineerCommented:
In the class, you can use ModifyStyle(WS_VISIBLE, 0) to turn off that style.
0

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

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