Solved

how to make a static text control invisible at run time

Posted on 2004-09-15
3
304 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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
mixString challenge 36 120
iSeries FTP Exit Program 8 135
Shell script to login to remote m/c and execute commands 10 78
Is there a simple front-end menu system. 9 88
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…
Introduction: Dialogs (1) modal - maintaining the database. Continuing from the ninth article about sudoku.   You might have heard of modal and modeless dialogs.  Here with this Sudoku application will we use one of each type: a modal dialog …
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.
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

786 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