win8_appbar_remove_element

Remove a previously defined element from the App Bar.

Syntax:

win8_appbar_remove_element(id);


Argument Description
id The id string of the element to be removed.


Returns: N/A


Description

With this function you can remove a previously defined element from the App Bar for your game. The element id is the one that is returned when using the function win8_appbar_add_element.


Example:

var i;
for (i = 0; i < 3; i += 1)
   {
   win8_appbar_remove_element(ab_element[i]);
   }

The above code will remove three elements that have been created and had their ids stored in the variable array "ab_element" from the App Bar.


Back: Windows 8
Next: win8_settingscharm_add_entry
© Copyright YoYo Games Ltd. 2018 All Rights Reserved