Skip to content

Commit

Permalink
support SplitButton controls
Browse files Browse the repository at this point in the history
  • Loading branch information
katahiromz committed Mar 21, 2018
1 parent 62a26b9 commit a711da0
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion READMEJP.txt
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@
ヘッダーファイル「afxres.h」を追加。
IDC_STATICについて助言を改良した。
ビジュアルスタイルに対応。
SysLinkコントロールに対応
SysLinkとSplitButtonコントロールに対応

/////////////////////////////////////////////////////
// 片山博文MZ (katahiromz) [A.N.T.]
Expand Down
10 changes: 10 additions & 0 deletions data/Constants.txt
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,7 @@ BS_USERBUTTON, 0x00000008, 0x0000000F
BS_AUTORADIOBUTTON, 0x00000009, 0x0000000F
BS_PUSHBOX, 0x0000000A, 0x0000000F
BS_OWNERDRAW, 0x0000000B, 0x0000000F
BS_SPLITBUTTON, 0x0000000C, 0x0000000F
BS_LEFTTEXT, 0x00000020
BS_ICON, 0x00000040
BS_BITMAP, 0x00000080
Expand Down Expand Up @@ -1054,6 +1055,7 @@ RADIOBUTTON, 3
RTEXT, 3
STATE3, 3
MEMO, 4
SplitButton, 4
BITMAP, 4
RICHEDIT, 4

Expand Down Expand Up @@ -1102,6 +1104,9 @@ BUTTON, 0
[MEMO.SUPERCLASS]
EDIT, 0

[SplitButton.SUPERCLASS]
BUTTON, 0

[BITMAP.SUPERCLASS]
STATIC, 0

Expand Down Expand Up @@ -1156,6 +1161,9 @@ STYLE, 0x50020000
[MEMO.DEFAULT.STYLE]
STYLE, 0x50B10004

[SplitButton.DEFAULT.STYLE]
STYLE, 0x5001000c

[BITMAP.DEFAULT.STYLE]
STYLE, 0x5002000E

Expand Down Expand Up @@ -1236,6 +1244,7 @@ PUSHBOX, 6
PUSHBUTTON, 7
RADIOBUTTON, 8
STATE3, 9
SplitButton, 10

[STATIC.SUBCLASSES]
LTEXT, 0
Expand Down Expand Up @@ -1368,3 +1377,4 @@ SysTreeView32, 11
msctls_progress32, 12
msctls_updown32, 13
SysLink, 14
SplitButton, 15
Binary file modified src/res/controls.bmp
Binary file not shown.

0 comments on commit a711da0

Please sign in to comment.