|
-
May 25th, 1999, 08:14 AM
#1
Disable EditBox programaticly
I want to disable an editbox based on other variables on the fly
-
May 25th, 1999, 08:31 AM
#2
Re: Disable EditBox programaticly
Use GetDlgItem( IDC_EDIT )->EnableWindow( FALSE )
1st
-
May 25th, 1999, 08:33 AM
#3
Re: Disable EditBox programaticly
Hello,
What you need to do is:
1. Get a pointer to the Edit control using GetDlgItem(nCtrlID) function.
2. Call the EnableWindow function for that control pointer.
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
|