| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | TWO PROBLEMS. |
PS> 1) What messages to I need to capture and process to ensure my progr PS> window will stay "Always On Top"? I (think I) know how to do it, I' PS> sure the messages I need to do it for. Hi Paul, I don't think there is a message to hook which will make this easy. The way I handled it was to create a thread. A program I made has to watch the time to see if any alarms need to go off. The thread basically does a DosSleep(3000); (3 seconds), wakes up and checks the time and see if any alarms are to be sounded; also what it does is keep a specific window floating by doing.... WinSetWindowPos( winhwnd, HWND_TOP, 0,0,0,0, SWP_ZORDER ); This is done every 3 seconds in my timer loop which is in my timer thread. Its much easier to have a thread which just loops rather than trying to work in a call to WinSetWin... into your main program logic. Hope this helps, Eric --- þ RM 1.3 02837 þ --- PCBoard 15.2* Origin: 32 lines 40 Gig BBS, Realtime InterNet SLIP (403)299-9900 (1:134/10) SEEN-BY: 105/42 620/243 711/401 409 410 413 430 807 808 809 934 955 712/407 SEEN-BY: 712/515 628 704 713/888 800/1 7877/2809 @PATH: 134/10 3615/50 396/1 270/101 105/103 42 712/515 711/808 809 934 |
|
| SOURCE: echomail via fidonet.ozzmosis.com | |
Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.