Skip to content

Commit

Permalink
Fixed TBBUTTONINFO.fsStyle set failure #326
Browse files Browse the repository at this point in the history
  • Loading branch information
dahall committed Oct 9, 2022
1 parent bdf07f1 commit 55bab38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion PInvoke/ComCtl32/CommCtrl.Toolbar.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3777,7 +3777,7 @@ public struct TBBUTTONINFO
/// <para>Type: <c><c>BYTE</c></c></para>
/// <para>Style flags of the button. This can be one or more of the values listed in Toolbar Control and Button Styles.</para>
/// </summary>
public ToolbarStyle fsStyle { get => (ToolbarStyle)_fsStyle; set => _fsStyle = (byte)((ushort)fsStyle & 0x00FF); }
public ToolbarStyle fsStyle { get => (ToolbarStyle)_fsStyle; set => _fsStyle = (byte)((ushort)value & 0x00FF); }

private byte _fsStyle;

Expand Down

0 comments on commit 55bab38

Please sign in to comment.