Merci
August 25th, 1999, 02:01 AM
just as title.
thanx.
thanx.
|
Click to See Complete Forum and Search --> : how 2 make a button invisible Merci August 25th, 1999, 02:01 AM just as title. thanx. Burlacu Ovidiu August 25th, 1999, 02:04 AM Try this: CWnd *pWnd = GetDlgItem( IDC_MYBUTTON ); pWnd->ShowWindow( SW_HIDE ); Let me know if this help u Regards, Ovidiu Rail Jon Rogut August 25th, 1999, 02:07 AM 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/ railro@earthlink.net codeguru.com
Copyright Internet.com Inc., All Rights Reserved. |