Solved

CDialogBar initially invisible

Posted on 1997-12-01
3
193 Views
Last Modified: 2013-11-20
I want to create a CDialogBar that is initially invisible. How can I do this ?
0
Comment
Question by:MarcoHelmers
  • 2
3 Comments
 
LVL 15

Accepted Solution

by:
Tommy Hui earned 50 total points
ID: 1311204
Make sure your CDialogBar does not have the WS_VISIBLE style on it.
0
 

Author Comment

by:MarcoHelmers
ID: 1311205
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
 
LVL 15

Expert Comment

by:Tommy Hui
ID: 1311206
In the class, you can use ModifyStyle(WS_VISIBLE, 0) to turn off that style.
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

Introduction: Dynamic window placements and drawing on a form, simple usage of windows registry as a storage place for information. Continuing from the first article about sudoku.  There we have designed the application and put a lot of user int…
Introduction: Finishing the grid – keyboard support for arrow keys to manoeuvre, entering the numbers.  The PreTranslateMessage function is to be used to intercept and respond to keyboard events. Continuing from the fourth article about sudoku. …
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

759 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now