When running a game in window mode, how can I detect if the mouse cursor has been positioned outside the AGS game window?
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Show posts Menuif (control.OwningGUI.Controls[0].AsButton!=null) { // Do Something }
if (control!=null) { if (control.OwningGUI!=null) { if (control.OwningGUI.Controls[0]=null) { if (control.OwningGUI.Controls[0].AsButton!=null) { // Do Something } } } }
struct IniFile { : } #define INIFILE_BUFSIZE 500 :
StrFormat(output_path, "%s\\%s\\%s", repository, docname, output_type);
StrFormat(output_path, "%s\\%s\\%s\\", repository, docname, output_type);
string output, repository, docname; function apGetOutputPath(string output_type, string output_path) { // Determine if output is in document sub-directory or in output sub-directory if (StrComp(output,".")==0) { StrFormat(output_path,"%s\\%s\\%s\\",output, docname, output_type); } else { StrFormat(output_path, "%s\\%s\\%s\\", repository, docname, output_type); } }
By continuing to use this site you agree to the use of cookies. Please visit this page to see exactly how we use these.
Page created in 0.130 seconds with 14 queries.