| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | Program to query/set dynamic drag |
/* public domain code to set dynamic drag on Warp with fixpak 17
*
* Jari Laaksonen, 15 Mar 1996 (email: jla{at}to.icl.fi)
*/
#define INCL_WIN
#include
#include
#include
/* new value in Warp Toolkit shipped on DevCon #9 Special edition */
#ifndef SV_DYNAMICDRAG
#define SV_DYNAMICDRAG 99
#endif
int main (int argc, char **argv)
{
/* USAGE: DynDrag [value]
- sets dynamic drag on/off according to the parameter,
shows the value if no parameter given.
*/
if (argc == 2)
{
int val = (0 != atoi (argv[1]));
WinSetSysValue (HWND_DESKTOP, SV_DYNAMICDRAG, val);
}
printf ("Dynamic Drag: %d\n",
WinQuerySysValue (HWND_DESKTOP, SV_DYNAMICDRAG)
);
return 0;
}
// Albert email: jla{at}to.icl.fi
--- GoldED/2 2.50
* Origin: Albert's Point/2 in Finland, Europe (2:221/360.20)SEEN-BY: 50/99 78/0 270/101 620/243 711/401 409 410 413 430 808 809 934 955 SEEN-BY: 712/407 515 517 628 713/888 800/1 7877/2809 @PATH: 221/360 0 220/841 201/2104 109/347 716 13/25 396/1 270/101 712/515 @PATH: 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™.