RobotStudio event

PC SDK Get TPRead function keys text.

I been trying to get the text of the function keys that are shown on Flexpendent.
Im able to get the TPReadFK text but how do i get the text on the function keys.

I been reading the PC SDK manual.

But what i need is the code thats in the CreateUIInstructionDialog that the exampel refere to. The example dont show that importen code.
Do any one have that code or know how to get the text of the function keys?