?
Solved

how to make a static text control invisible at run time

Posted on 2004-09-15
3
Medium Priority
?
327 Views
Last Modified: 2013-11-20
Hi,

I have a static text IDC_STATIC1 whose member name is m_labeltext.

I want to make this invisible at run time.

how do i do that??

Thanks,
Pra4444
0
Comment
Question by:Pra4444
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 44

Accepted Solution

by:
AndyAinscow earned 80 total points
ID: 12065569
GetDlgItem(IDC_STATIC1)->ShowWindow(SW_HIDE);  //or SW_SHOW to show
0
 
LVL 12

Author Comment

by:Pra4444
ID: 12065729
Thanks a lot..it works ..

i am fairly new to VC++, but not new to programming....
why was it difficult for me to find this simple statement?? i searched online..could not find any example..

can  you point me to a nice place where i can start learning vc++ properly??

Thanks again,
Pra4444
0
 
LVL 44

Expert Comment

by:AndyAinscow
ID: 12065861
Have a look at the samples that comes with VC.  (They should be on your CD's, a default installation doesn't install them to your harddisk).

A good book is 'Programming Windows with MFC' by Jeff Prosise.  (It will be worth the investment)
0

Featured Post

New benefit for Premium Members - Upgrade now!

Ready to get started with anonymous questions today? It's easy! Learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction: Load and Save to file, Document-View interaction inside the SDI. Continuing from the second article about sudoku.   Open the project in visual studio. From the class view select CSudokuDoc and double click to open the header …
Introduction: The undo support, implementing a stack. Continuing from the eigth article about sudoku.   We need a mechanism to keep track of the digits entered so as to implement an undo mechanism.  This should be a ‘Last In First Out’ collec…
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.
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…
Suggested Courses

770 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