beautypg.com

Clickmenuselection1 – Wavetronix Click 500 (programmable controller) (CLK-500) - Developer Guide User Manual

Page 159

background image

158

APPENDIX • CLICK 500 DEVELOPER GUIDE

ClickMenuSelection1

Retrieves the current submenu one selection.

˽

LIBRARY – click500menu.lib

˽

SYNTAX –

int ClickMenuSelection1( void );

˽

RETURN VALUE – The menu sub choice. (1–8, limited by definition in “ClickMenuAd-

dMode”)

˽

EXAMPLE:

void myFunc()
{
if (ClickMenuSelection1() == 4)
doSomething();
}

˽

SEE ALSO – ClickMenuSetup ClickMenuSelection2