|
-
August 25th, 1999, 02:01 AM
#1
how 2 make a button invisible
-
August 25th, 1999, 02:04 AM
#2
Re: how 2 make a button invisible
Try this:
CWnd *pWnd = GetDlgItem( IDC_MYBUTTON );
pWnd->ShowWindow( SW_HIDE );
Let me know if this help u
Regards,
Ovidiu
-
August 25th, 1999, 02:07 AM
#3
Re: how 2 make a button invisible
CButton is derived from CWnd... so use CWnd::ShowWindow() with SW_HIDE as the parameter to hide the window (button) and SW_SHOW to show the window.
You can create a member variable for your button with ClassWizard of type CButton and use the dot operator to call the ShowWindow() function.
Rail
------------
Recording Engineer/Software Developer
Rail Jon Rogut Software
http://home.earthlink.net/~railro/
[email protected]
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|