| Mirage Source http://www.miragesource.net/forums/ |
|
| Form on Top http://www.miragesource.net/forums/viewtopic.php?f=201&t=2402 |
Page 1 of 1 |
| Author: | William [ Sat Aug 04, 2007 12:28 pm ] |
| Post subject: | Form on Top |
Im going to make a small program that always shows above all other programs, so the form will always be visible. Im going to use it for a game, so when i press "Delete" a timer will start couting down from 30sec. Its good for a game. Anyway, do anybody know how to make a form that will show even if your playing a game? |
|
| Author: | Robin [ Sat Aug 04, 2007 12:32 pm ] |
| Post subject: | Re: Form on Top |
http://www.pscode.com/vb/scripts/ShowCode.asp?txtCodeId=33794&lngWId=1 |
|
| Author: | William [ Sat Aug 04, 2007 3:30 pm ] |
| Post subject: | Re: Form on Top |
Thanks, that does the trick. Another thing, do anybody know a way of using keycodes inside a timer? Since the form arent in focus, Form_KeyDown doesnt apply. |
|
| Author: | Robin [ Sat Aug 04, 2007 3:36 pm ] |
| Post subject: | Re: Form on Top |
Could use Direct Input. |
|
| Author: | Lea [ Sat Aug 04, 2007 5:07 pm ] |
| Post subject: | Re: Form on Top |
windows messages. Have your program view all the messages, if it's a keydown delete then handle it, otherwise pass it on to the next. I believe they call it Low Level Keyboard Hooks. |
|
| Page 1 of 1 | All times are UTC |
| Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |
|