Solved

how to make a static text control invisible at run time

Posted on 2004-09-15
3
281 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
  • 2
3 Comments
 
LVL 44

Accepted Solution

by:
AndyAinscow earned 20 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

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Introduction: Displaying information on the statusbar.   Continuing from the third article about sudoku.   Open the project in visual studio. Status bar – let’s display the timestamp there.  We need to get the timestamp from the document s…
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.
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

708 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

13 Experts available now in Live!

Get 1:1 Help Now