ButtonGroupGetSelectedButtonID
Description
GroupID¿¡ ÀÇÇÏ¿© ÁöÁ¤µÈ ƯÁ¤ ±×·ì¿¡¼ ÇöÀç ¼±ÅÃµÈ ¹öÆ°ÀÇ ID¸¦ ¸®ÅÏÇÑ´Ù.
Syntax
U16 ButtonGroupGetSelectedButtonID( U16 GroupID )
Parameters
GroupID ±×·ì ¾ÆÀ̵ð
Returns
¼±ÅÃµÈ ¹öÆ° ¾ÆÀ̵ð
Comments
±×·ì ¹öÆ°ÀÇ °æ¿ì ¸®¼Ò½º ¿¡µðÅÍ¿¡¼ ȸéÀ» ¼³°èÇÒ ¶§ °³º° ±×·ì¿¡ ¼ÓÇÏ´Â ÄÄÆ÷³ÍÆ® Áß ´Ü Çϳª°¡ ¹Ýµå½Ã ¼±ÅõǾî ÀÖ´Ù°í °¡Á¤ÇÏ°í ÀÖ´Ù.
Example
SelId = ButtonGroupGetSelectedButtonID(1);
/* 1¹ø ¹öÆ° ±×·ì¿¡¼ ¼±ÅÃµÈ ¹öÆ°À» ²¨³»¿Í¼ */
if (SelId1 == PushBtn_pbDate_1014) /* ¼±ÅÃµÈ °ÍÀÌ 1014¹øÀ̸é foo ½ÇÇà */
foo;
else
bar;