| |

VerySource

 Forgot password?
 Register
Search
View: 692|Reply: 3

How can I change the invisible style of the control to visible

[Copy link]

1

Threads

1

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 China

Post time: 2020-1-27 18:00:01
| Show all posts |Read mode
My brother now sets 2 controls on the dialog box, one is ComboBox and the other is CEdit. CEdit is generated by the wizard. I chose Disabled directly in the properties. Now I want to make CEdit default to Disabled. When the specified item of the drop-down list is specified, CEdit will be highlighted for editing. How can I do this?
Reply

Use magic Report

0

Threads

4

Posts

4.00

Credits

Newbie

Rank: 1

Credits
4.00

 China

Post time: 2020-2-22 23:30:02
| Show all posts
EnableWindow (FALSE)
Reply

Use magic Report

0

Threads

20

Posts

21.00

Credits

Newbie

Rank: 1

Credits
21.00

 China

Post time: 2020-2-23 11:15:01
| Show all posts
GetDlgItem (Control ID)-> EnableWindow (FALSE / TRUE);
Reply

Use magic Report

0

Threads

4

Posts

4.00

Credits

Newbie

Rank: 1

Credits
4.00

 China

Post time: 2020-3-9 10:45:02
| Show all posts
CWnd :: EnableWindow
BOOL EnableWindow (BOOL bEnable = TRUE);
Reply

Use magic Report

You have to log in before you can reply Login | Register

Points Rules

Contact us|Archive|Mobile|CopyRight © 2008-2023|verysource.com ( 京ICP备17048824号-1 )

Quick Reply To Top Return to the list