How do I control the button in the program?

xiaoxiao2021-03-06  37

Master: How to control buttons in the program? Author: LittleLine () 等: 信 誉: 100 community: VC / MFC basic class problem point: 50 Reply times: 10 Posted: 2004-7-6 17:30:41

I want to control the visible and invisible in the program after an incident, is there a person who knows how to write?

Reply to: Kundy (in journey) () Reputation: 99 2004-7-6 17:33:04 Score: 7

CWND :: ShowWindow (sw_hide) is not?

TOP

Reply to: Baberson (Pingpinghu) () Reputation: 99 2004-7-6 17:33:59 Score: 7

It seems to be like this:

Getdlgitem (IDC_Button) -> showwindow (sw_hide);

TOP

Reply to: laiyiling (most familiar stranger) () Reputation: 142 2004-7-6 17:38:25 Score: 7

Agree upstairs

TOP

Reply to: YELLOWRTRTR (Qing Yun .NET) () Reputation: 100 2004-7-6 17:42:07 Score: 8

ShowWindow (sw_hide)!

TOP

Reply to: king6860 () () Reputation: 100 2004-7-6 18:43:44 Score: 10

hide

Getdlgitem (IDC_Button) -> showwindow (sw_hide);

display

Getdlgitem (IDC_Button) -> ShowWindow (SW_NORMAL);

TOP

Reply to: zhjie374 (zhjie374) () Reputation: 93 2004-7-6 18:45:33 Score: 7

Getdlgitem (IDC_Button) -> showwindow (sw_hide);

TOP

Reply to: LittleLine () () Reputation: 100 2004-7-7 8:38:12 Score: 0

Thank you! Get it!

TOP

Reply to: zhangnanonnet (Fish) () Reputation: 158 2004-7-7 8:51:00 Score: 1

Getdlgitem (IDC_Button) -> showwindow (sw_hide);

TOP

Reply to: wenxy1 (weekend, speed car) () Reputation: 100 2004-7-7 8:56:14 Score: 1

Getdlgitem (IDC_Button) -> Enablewinows (false);

TOP

Reply to: Wishare (That year) () Reputation: 100 2004-7-7 9:22:20 Score: 2

Upstairs is letting the button beat ash

TOP

转载请注明原文地址:https://www.9cbs.com/read-73380.html

New Post(0)