掲示板システム
ホーム
アクセス解析
カテゴリ
ログアウト
ラジオボタンのチェックのありなしを確認したい (ID:68649)
名前
ホームページ(ブログ、Twitterなど)のURL (省略可)
本文
とりあえず、そのラジオボタンのスタイルを確認してみるとか。 WinUser.h(9068): #define BST_UNCHECKED 0x0000 ということで0です。 MSDNで、IsDlgButtonChecked()を確認すると… >The return value from a button created with the BS_AUTOCHECKBOX, BS_AUTORADIOBUTTON, BS_AUTO3STATE, BS_CHECKBOX, BS_RADIOBUTTON, or BS_3STATE styles can be one of the values in the following table. If the button has any other style, the return value is zero. ということで、記述されたスタイルが無い場合でも0が返されます。
←解決時は質問者本人がここをチェックしてください。
戻る
掲示板システム
Copyright 2020 Takeshi Okamoto All Rights Reserved.