-
July 10th, 2015, 04:43 AM
#1
How to make button stay down in winapi?
Edit: Wrong title of the question
How to enable checkbox or disable? I know that it has some enable bit but how to do it?
Last edited by crazy boy; July 10th, 2015 at 05:01 AM.
-
July 10th, 2015, 07:14 AM
#2
Re: How to make button stay down in winapi?
The same way you do any other window. Either CWnd::Enable() or EnableWindow().
-
July 10th, 2015, 09:59 AM
#3
Re: How to make button stay down in winapi?
I was inaccurate. I mean how to toggle state of checkbox. I found the answer:
https://msdn.microsoft.com/en-us/lib...=vs.85%29.aspx
-
July 10th, 2015, 02:01 PM
#4
Re: How to make button stay down in winapi?
Originally Posted by crazy boy
I was inaccurate.
You were. And according to what I can see for a couple of weeks in CG forums, you desperately need to catch up with WinAPI basics, principles and terminology. So the advice seems inevitable: get some good reading on Win32 API programming, like some book from Petzold's Programming Windows.
Last edited by Igor Vartanov; July 11th, 2015 at 01:23 AM.
Best regards,
Igor
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
|