Skip to content

Commit c5dfeab

Browse files
committedJan 15, 2018
Updates creating-our-control.md
Auto commit by GitBook Editor
1 parent 573be2d commit c5dfeab

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed
 

‎README.md

+3-4
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,8 @@ It covers the main areas of developing an example control, SimpleButton, which t
1212
* The Github repository for the SimpleButton example control is here: [https://github.com/mrfearless/SimpleButton](https://github.com/mrfearless/SimpleButton)
1313
* This Gitbook can be found online here: [https://mrfearless.gitbooks.io/creating-controls-in-assembler](https://mrfearless.gitbooks.io/creating-controls-in-assembler)
1414
* Read or download: [![Online](https://img.shields.io/badge/gitbook-online-brightgreen.svg)](https://mrfearless.gitbooks.io/creating-controls-in-assembler) [![PDF](https://img.shields.io/badge/gitbook-pdf-green.svg)](https://www.gitbook.com/download/pdf/book/mrfearless/creating-controls-in-assembler) [![ePUB](https://img.shields.io/badge/gitbook-epub-yellowgreen.svg)](https://www.gitbook.com/download/epub/book/mrfearless/creating-controls-in-assembler) [![Mobi/Kindle](https://img.shields.io/badge/gitbook-mobi-yellow.svg)](https://www.gitbook.com/download/mobi/book/mrfearless/creating-controls-in-assembler)
15-
* You can contact me: [![Email :](https://img.shields.io/badge/email%20%20-send%20mail%20-6C2FDE.svg)](mailto:fearless.is.my.name@gmail.com) [![Twitter:](https://img.shields.io/badge/twitter-fearless0%20%20-26A9E9.svg)](https://twitter.com/fearless0) [![Github :](https://img.shields.io/badge/github-mrfearless-7A8E97.svg)](https://github.com/mrfearless)
16-
* You can support this book by donating on [Gratipay](https://gratipay.com/Creating-Controls-In-Assembler/) [![Gratipay](https://img.shields.io/badge/gratipay-donate%20%20-83D566.svg)](https://gratipay.com/Creating-Controls-In-Assembler/)
17-
* Bitcoin donations are also welcome at [![Bitcoin](https://img.shields.io/badge/bitcoin-donate%20%20-E7DB37.svg)](https://blockchain.info/address/168kCzsGJRpjimNt9jBd7HEAXBhXHAGpVC) 168kCzsGJRpjimNt9jBd7HEAXBhXHAGpVC
18-
15+
* You can contact me: [![Email :](https://img.shields.io/badge/email -send mail -6C2FDE.svg)](mailto:fearless.is.my.name@gmail.com) [![Twitter:](https://img.shields.io/badge/twitter-fearless0 -26A9E9.svg)](https://twitter.com/fearless0) [![Github :](https://img.shields.io/badge/github-mrfearless-7A8E97.svg)](https://github.com/mrfearless)
16+
* Bitcoin donations are also welcome at [![Bitcoin](https://img.shields.io/badge/bitcoin-donate -E7DB37.svg)](https://blockchain.info/address/168kCzsGJRpjimNt9jBd7HEAXBhXHAGpVC) 168kCzsGJRpjimNt9jBd7HEAXBhXHAGpVC
1917

2018
[![Creative Commons License](https://i.creativecommons.org/l/by-sa/4.0/88x31.png)](http://creativecommons.org/licenses/by-sa/4.0/) This work is licensed under a [Creative Commons Attribution-ShareAlike 4.0 International License](http://creativecommons.org/licenses/by-sa/4.0/).
19+

‎creating-our-control.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ The most useful information I came across that explains the `dwStyle` flags para
1010

1111
> The low 16 bits of the dwStyle parameter are defined by the implementer of the window class \(by the person who calls RegisterClass\)
1212
13-
That means we have `0x0` - `0xFFFF` reserved for defining styles for our controls. And we can incorporate the standard style flags as well if we so desire \(`WS_BORDER`, `WS_VISIBLE` etc\). So our **SimpleButton** styles we will use are:
13+
That means we have `0x0` - `0xFFFF` reserved for defining styles for our controls - 65535 possible values or 16 values if we require bitmasked unique values \(1111111111111111\). And we can incorporate the standard style flags as well if we so desire \(`WS_BORDER`, `WS_VISIBLE` etc\). So our **SimpleButton** styles we will use are:
1414

1515
```x86asm
1616
; SimpleButton Button Styles:

0 commit comments

Comments
 (0)
Please sign in to comment.