We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi, I am not able to assign a value to fsStyle attribute of TBBUTTONINFO struct.
Is this due to this line?
Vanara/PInvoke/ComCtl32/CommCtrl.Toolbar.cs
Line 3780 in bdf07f1
Shouldn't it be:
public ToolbarStyle fsStyle { get => (ToolbarStyle)_fsStyle; set => _fsStyle = (byte)((ushort)value & 0x00FF); }
Also, would you mind explaining this logic? What the reason of bitwise operation with 0x00FF?
The text was updated successfully, but these errors were encountered:
Fixed TBBUTTONINFO.fsStyle set failure #326
55bab38
No branches or pull requests
Hi,
I am not able to assign a value to fsStyle attribute of TBBUTTONINFO struct.
Is this due to this line?
Vanara/PInvoke/ComCtl32/CommCtrl.Toolbar.cs
Line 3780 in bdf07f1
Shouldn't it be:
public ToolbarStyle fsStyle { get => (ToolbarStyle)_fsStyle; set => _fsStyle = (byte)((ushort)value & 0x00FF); }
Also, would you mind explaining this logic? What the reason of bitwise operation with 0x00FF?
The text was updated successfully, but these errors were encountered: