Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Enable / Disable someone pls help....

Status
Not open for further replies.

Enable

MIS
Jan 8, 2004
7
US
can someont tell me how i could Enable string / int/long/Comboboxs on a doalog box...

i tried using SetReadOnly statement but didn't work...

I have a doalog box that has readonly text boxes, and i want to turn them into write enable to that they can be edited..


Thanks for the help in advance....
 
I have the same problem, EnableWindow() is OK for COMBO / List boxes, how about Text Boxes, i tried it comes up with "No a member of CString"
Can someone please help, what command can i use to enable a readonly Text box to write anabled
pls help..........
 
I think you're using the dot operator and a control variable to call the EnableWindow() method. Use this:

GetDlgItem(IDC_EDIT1)->EnableWindow(TRUE);

I guarantee you that it'll work.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top