| 1 |
<!doctype html public "-//w3c//dtd html 4.0 transitional//en"> |
| 2 |
<html> |
| 3 |
<head> |
| 4 |
<meta http-equiv="Content-Type" content="text/html; charset=euc-jp"> |
| 5 |
<meta name="GENERATOR" content="emacs"> |
| 6 |
<meta name="Author" content="kacchan"> |
| 7 |
<title>KXL_CheckEvents</title> |
| 8 |
</head> |
| 9 |
<body text="#000000" bgcolor="#f0f0dc" link="#3366FF" vlink="#3366FF" alink="#FF0000"> |
| 10 |
|
| 11 |
<a href="./kxldeleteimage.html">Prev</a> |
| 12 |
<a href="./KXL.html">Top</a> |
| 13 |
<a href="./kxlgetevents.html">Next</a> |
| 14 |
<hr> |
| 15 |
|
| 16 |
<b>Name</b><br><br> |
| 17 |
<font size=+2>KXL_CheckEvents</font><br><br> |
| 18 |
|
| 19 |
<b>Synopsis</b><br> |
| 20 |
<pre>KXL_CheckEvents -- It checks to see the event occurred. |
| 21 |
</pre><br> |
| 22 |
|
| 23 |
<b>Description</b><br> |
| 24 |
<pre>Bool KXL_CheckEvents(void);</pre><br> |
| 25 |
|
| 26 |
<b>Arguments</b><br><br> |
| 27 |
Nothing. |
| 28 |
<br><br><br> |
| 29 |
|
| 30 |
<b>Return Value</b><br> |
| 31 |
<pre>True = The event generated. |
| 32 |
False = The event is not generated. |
| 33 |
</pre><br> |
| 34 |
|
| 35 |
<b>Exsample</b><br> |
| 36 |
<pre> |
| 37 |
#include <KXL.h> |
| 38 |
|
| 39 |
int main(void) |
| 40 |
{ |
| 41 |
KXL_CreateWindow(100, 100, "kxl.org", KXL_EVENT_KEY_PRESS_MASK); |
| 42 |
|
| 43 |
while (<b>KXL_CheckEvents()</b> == False); |
| 44 |
KXL_DeleteWindow(); |
| 45 |
return 0; |
| 46 |
} |
| 47 |
</pre> |
| 48 |
|
| 49 |
|
| 50 |
</body> |
| 51 |
</html> |