CWnd::GetCheckedRadioButton (判斷當前一組單選按鈕中哪一個被選中了)

CWnd::GetCheckedRadioButton (判斷當前一組單選按鈕中哪一個被選中了)

 

CWnd::GetCheckedRadioButton 

int GetCheckedRadioButton( int nIDFirstButton, int nIDLastButton );

Return Value

ID of the checked radio button, or 0 if none is selected.

Parameters

nIDFirstButton

Specifies the integer identifier of the first radio button in the group.

nIDLastButton

Specifies the integer identifier of the last radio button in the group.

Remarks

Retrieves the ID of the currently checked radio button in the specified group.

 

發佈了28 篇原創文章 · 獲贊 1 · 訪問量 4萬+
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章