ketu0001

How to make edit control invisible at run time


Re: Visual C++ General How to make edit control invisible at run time?

einaros

ShowWindow(handleToEditCtrl, SW_HIDE);





Re: Visual C++ General How to make edit control invisible at run time?

Pintu Shukla


you can do this by Multiple way .here are the three


Code Block

myEdit.ShowWindow(SW_HIDE);

// myEdit is the handle of edit control

ShowWindow(myEdit,SW_HIDE);

// IDC_EDIT id of the edit control

GetDlgItem(IDC_EDIT)->ShowWindow(SW_HIDE);



Thanx