Forum Discussion
renojim
14 years agoCommunity Streaming Expert
I'd say the documentation is inaccurate. SetFocusedMenuItem() doesn't really use the same ID used by AddButton(). AddButton() probably creates an array and then SetFocusedMenuItem() is a 0-based index into that array. So even if the first button you add has an ID of 999, you'd use SetFocusedMenuItem(0) to highlight it.
-JT
-JT