A
a_unique_name
Guest
Hi Folks:
Developing on Windows 10 Pro, Visual Studio 2017 Community.
I'm writing a function that needs to know if a control who's handle it's receiving as an argument is a radio button.
In this test I pass the handle to a radio button.
I run GetWindowInfo() on the control and the window style is 0x50000009.
BS_RADIOBUTTON is 0x00000004L.
window_is_radio_button =
(window_info.dwStyle & BS_RADIOBUTTON) == BS_RADIOBUTTON;
So the radio button fails the test for a radio button.
What am I doing wrong?
Thanks
Larry
Continue reading...
Developing on Windows 10 Pro, Visual Studio 2017 Community.
I'm writing a function that needs to know if a control who's handle it's receiving as an argument is a radio button.
In this test I pass the handle to a radio button.
I run GetWindowInfo() on the control and the window style is 0x50000009.
BS_RADIOBUTTON is 0x00000004L.
window_is_radio_button =
(window_info.dwStyle & BS_RADIOBUTTON) == BS_RADIOBUTTON;
So the radio button fails the test for a radio button.
What am I doing wrong?
Thanks
Larry
Continue reading...