cnping

Minimal Graphical Ping Tool
git clone https://git.sinitax.com/cnlohr/cnping
Log | Files | Refs | Submodules | README | LICENSE | sfeed.txt

resources.rc (1158B)


      1#ifndef WIN_USE_NO_ADMIN_PING
      21 24 "uac.manifest"
      3#endif
      4
      5#include <windows.h>
      6
      7LANGUAGE 9, SUBLANG_DEFAULT
      8IPDialog DIALOG 10, 10, 340, 100
      9STYLE WS_CAPTION | WS_SYSMENU | WS_THICKFRAME
     10CAPTION "cnping"
     11BEGIN
     12    LTEXT           "Usage: cnping [host] [period] [extra size] [y-axis scaling]",                        0, 90, 0, 300, 20, SS_LEFT
     13    LTEXT           "[host]                 -- domain or IP address of icmp ping, or http://host",        0, 90, 15, 300, 20, SS_LEFT
     14    LTEXT           "[period]               -- period in seconds (optional), default is 0.02",            0, 90, 30, 300, 20, SS_LEFT
     15    LTEXT           "[extra size]           -- ping packet extra size (above 12), optional, default = 0", 0, 90, 45, 300, 10, SS_LEFT
     16    LTEXT           "[const y-axis scaling] -- use a fixed scaling factor instead of auto scaling",       0, 90, 60, 300, 10, SS_LEFT
     17    EDITTEXT        3, 1, 15, 88, 12
     18    EDITTEXT        4, 1, 30, 88, 12
     19    EDITTEXT        5, 1, 45, 88, 12
     20    EDITTEXT        6, 1, 60, 88, 12
     21    PUSHBUTTON      "&Ping", 7, 25, 80, 100, 10
     22    PUSHBUTTON      "&Close", 8, 175, 80, 100, 10
     23END
     24
     25MAIN_ICON ICON "cnping.ico"