You can get and set context properties in order to define how your application behaves within a window.
In Screen API, many get and set functions contain multiple variants, with each variant corresponding to the type that is associated with a property. For example, the screen_get_context_property_iv() method takes an integer, while the screen_get_context_property_llv() takes a long long integer.
To set a context property:
if (screen_flush_context(screen_context, SCREEN_WAIT_IDLE) !=0) {
return EXIT_FAILURE;
};
When debugging your application, it's a good idea to call the screen_flush_context() function after you call any delayed function. This helps you to determine the exact function call that caused the error.