home *** CD-ROM | disk | FTP | other *** search
/ PC Professionell 1999 October / PCpro_1999_10.ISO / Tools / dialer98 / Source / dialer98.frm (.txt) < prev    next >
Encoding:
Visual Basic Form  |  1998-04-10  |  35.8 KB  |  1,077 lines

  1. VERSION 5.00
  2. Object = "{648A5603-2C6E-101B-82B6-000000000014}#1.1#0"; "MSCOMM32.OCX"
  3. Object = "{6B7E6392-850A-101B-AFC0-4210102A8DA7}#1.2#0"; "COMCTL32.OCX"
  4. Object = "{48E59290-9880-11CF-9754-00AA00C00908}#1.0#0"; "MSINET.OCX"
  5. Begin VB.Form Form1 
  6.    BorderStyle     =   3  'Fester Dialog
  7.    Caption         =   "Dialer98-Pro"
  8.    ClientHeight    =   4170
  9.    ClientLeft      =   2430
  10.    ClientTop       =   1560
  11.    ClientWidth     =   7395
  12.    Icon            =   "dialer98.frx":0000
  13.    LinkTopic       =   "Form1"
  14.    MaxButton       =   0   'False
  15.    MinButton       =   0   'False
  16.    PaletteMode     =   1  'ZReihenfolge
  17.    ScaleHeight     =   4170
  18.    ScaleWidth      =   7395
  19.    ShowInTaskbar   =   0   'False
  20.    StartUpPosition =   2  'Bildschirmmitte
  21.    Begin InetCtlsObjects.Inet Inet1 
  22.       Left            =   6120
  23.       Top             =   120
  24.       _ExtentX        =   1005
  25.       _ExtentY        =   1005
  26.       _Version        =   327681
  27.    End
  28.    Begin VB.Timer DblClkDelay 
  29.       Enabled         =   0   'False
  30.       Interval        =   1000
  31.       Left            =   5160
  32.       Top             =   0
  33.    End
  34.    Begin VB.PictureBox Picture1 
  35.       Appearance      =   0  '2D
  36.       BackColor       =   &H80000005&
  37.       BorderStyle     =   0  'Kein
  38.       ForeColor       =   &H80000008&
  39.       Height          =   3252
  40.       Index           =   5
  41.       Left            =   120
  42.       ScaleHeight     =   3255
  43.       ScaleWidth      =   7095
  44.       TabIndex        =   20
  45.       Top             =   480
  46.       Width           =   7092
  47.       Begin VB.Frame Frame5 
  48.          Caption         =   "Provider-Liste"
  49.          Height          =   2415
  50.          Left            =   3240
  51.          TabIndex        =   45
  52.          Top             =   840
  53.          Width           =   3795
  54.          Begin VB.CommandButton Btn 
  55.             Caption         =   "Download"
  56.             Height          =   315
  57.             Index           =   1
  58.             Left            =   2400
  59.             TabIndex        =   46
  60.             Top             =   1980
  61.             Width           =   1275
  62.          End
  63.          Begin ComctlLib.ListView TelcoList 
  64.             Height          =   1515
  65.             Left            =   120
  66.             TabIndex        =   15
  67.             ToolTipText     =   "
  68. nderungen 
  69. ber Kontextmen
  70.  (rechte Maustaste)"
  71.             Top             =   360
  72.             Width           =   3555
  73.             _ExtentX        =   6271
  74.             _ExtentY        =   2672
  75.             View            =   3
  76.             LabelEdit       =   1
  77.             Sorted          =   -1  'True
  78.             LabelWrap       =   -1  'True
  79.             HideSelection   =   -1  'True
  80.             _Version        =   327682
  81.             ForeColor       =   -2147483640
  82.             BackColor       =   -2147483643
  83.             BorderStyle     =   1
  84.             Appearance      =   1
  85.             NumItems        =   6
  86.             BeginProperty ColumnHeader(1) {0713E8C7-850A-101B-AFC0-4210102A8DA7} 
  87.                Key             =   ""
  88.                Object.Tag             =   ""
  89.                Text            =   "Name"
  90.                Object.Width           =   882
  91.             EndProperty
  92.             BeginProperty ColumnHeader(2) {0713E8C7-850A-101B-AFC0-4210102A8DA7} 
  93.                SubItemIndex    =   1
  94.                Key             =   ""
  95.                Object.Tag             =   ""
  96.                Text            =   "Netz"
  97.                Object.Width           =   18
  98.             EndProperty
  99.             BeginProperty ColumnHeader(3) {0713E8C7-850A-101B-AFC0-4210102A8DA7} 
  100.                SubItemIndex    =   2
  101.                Key             =   ""
  102.                Object.Tag             =   ""
  103.                Text            =   "Tag"
  104.                Object.Width           =   706
  105.             EndProperty
  106.             BeginProperty ColumnHeader(4) {0713E8C7-850A-101B-AFC0-4210102A8DA7} 
  107.                SubItemIndex    =   3
  108.                Key             =   ""
  109.                Object.Tag             =   ""
  110.                Text            =   "ab"
  111.                Object.Width           =   353
  112.             EndProperty
  113.             BeginProperty ColumnHeader(5) {0713E8C7-850A-101B-AFC0-4210102A8DA7} 
  114.                SubItemIndex    =   4
  115.                Key             =   ""
  116.                Object.Tag             =   ""
  117.                Text            =   "bis"
  118.                Object.Width           =   353
  119.             EndProperty
  120.             BeginProperty ColumnHeader(6) {0713E8C7-850A-101B-AFC0-4210102A8DA7} 
  121.                SubItemIndex    =   5
  122.                Key             =   ""
  123.                Object.Tag             =   ""
  124.                Text            =   "Weite"
  125.                Object.Width           =   794
  126.             EndProperty
  127.          End
  128.          Begin VB.Label Label1 
  129.             Caption         =   "Update der Provider-Liste 
  130. ber das Internet (www.zdnet.de)"
  131.             Height          =   435
  132.             Index           =   10
  133.             Left            =   120
  134.             TabIndex        =   47
  135.             Top             =   1920
  136.             Width           =   2235
  137.          End
  138.       End
  139.       Begin VB.Frame WeiterleitenFrame 
  140.          Caption         =   "Weiterleiten"
  141.          Height          =   735
  142.          Left            =   60
  143.          TabIndex        =   32
  144.          Top             =   2520
  145.          Width           =   1275
  146.          Begin VB.CheckBox UebergabeChk 
  147.             Caption         =   "ja, an"
  148.             Height          =   255
  149.             Left            =   120
  150.             TabIndex        =   4
  151.             Top             =   360
  152.             Width           =   735
  153.          End
  154.          Begin VB.TextBox UebergabeNrText 
  155.             Height          =   312
  156.             Left            =   900
  157.             TabIndex        =   5
  158.             Text            =   "Text5"
  159.             Top             =   300
  160.             Width           =   255
  161.          End
  162.       End
  163.       Begin VB.Frame Frame4 
  164.          Caption         =   "Modemeinstellungen"
  165.          Height          =   2055
  166.          Left            =   1380
  167.          TabIndex        =   31
  168.          Top             =   0
  169.          Width           =   1815
  170.          Begin VB.ComboBox WahlArtList 
  171.             Height          =   315
  172.             Left            =   900
  173.             Style           =   2  'Dropdown-Liste
  174.             TabIndex        =   8
  175.             Top             =   1200
  176.             Width           =   795
  177.          End
  178.          Begin VB.CommandButton Btn 
  179.             Caption         =   "Debug"
  180.             Height          =   315
  181.             Index           =   0
  182.             Left            =   900
  183.             TabIndex        =   9
  184.             Top             =   1620
  185.             Width           =   795
  186.          End
  187.          Begin VB.ComboBox ComList 
  188.             Height          =   315
  189.             Left            =   900
  190.             Style           =   2  'Dropdown-Liste
  191.             TabIndex        =   7
  192.             Top             =   780
  193.             Width           =   795
  194.          End
  195.          Begin VB.TextBox Text3 
  196.             Height          =   312
  197.             Left            =   1140
  198.             TabIndex        =   6
  199.             Text            =   "Text3"
  200.             Top             =   360
  201.             Width           =   555
  202.          End
  203.          Begin VB.Label Label2 
  204.             BorderStyle     =   1  'Fest Einfach
  205.             Caption         =   "AT"
  206.             Height          =   315
  207.             Left            =   900
  208.             TabIndex        =   48
  209.             Top             =   360
  210.             Width           =   255
  211.          End
  212.          Begin VB.Label Label1 
  213.             Caption         =   "Modem- antwort"
  214.             Height          =   375
  215.             Index           =   7
  216.             Left            =   120
  217.             TabIndex        =   42
  218.             Top             =   1560
  219.             Width           =   675
  220.          End
  221.          Begin VB.Label Label1 
  222.             Caption         =   "Wahlart"
  223.             Height          =   255
  224.             Index           =   6
  225.             Left            =   120
  226.             TabIndex        =   41
  227.             Top             =   1260
  228.             Width           =   675
  229.          End
  230.          Begin VB.Label Label1 
  231.             Caption         =   "Anschlu
  232.             Height          =   255
  233.             Index           =   5
  234.             Left            =   120
  235.             TabIndex        =   40
  236.             Top             =   840
  237.             Width           =   735
  238.          End
  239.          Begin VB.Label Label1 
  240.             Caption         =   "Zusatz- befehle"
  241.             Height          =   435
  242.             Index           =   4
  243.             Left            =   120
  244.             TabIndex        =   39
  245.             Top             =   300
  246.             Width           =   615
  247.          End
  248.       End
  249.       Begin VB.Frame Frame3 
  250.          Caption         =   "Eintragsgr
  251.          Height          =   1155
  252.          Left            =   1380
  253.          TabIndex        =   24
  254.          Top             =   2100
  255.          Width           =   1815
  256.          Begin VB.PictureBox FntFrm 
  257.             Height          =   735
  258.             Left            =   900
  259.             ScaleHeight     =   675
  260.             ScaleWidth      =   735
  261.             TabIndex        =   33
  262.             Top             =   300
  263.             Width           =   795
  264.             Begin VB.Label FntSmpl 
  265.                Alignment       =   2  'Zentriert
  266.                Appearance      =   0  '2D
  267.                AutoSize        =   -1  'True
  268.                BackColor       =   &H80000005&
  269.                BackStyle       =   0  'Transparent
  270.                Caption         =   "Aa"
  271.                ForeColor       =   &H80000008&
  272.                Height          =   195
  273.                Left            =   180
  274.                TabIndex        =   34
  275.                Top             =   180
  276.                Width           =   225
  277.             End
  278.          End
  279.          Begin ComctlLib.Slider Slider1 
  280.             Height          =   675
  281.             Left            =   180
  282.             TabIndex        =   10
  283.             Top             =   300
  284.             Width           =   405
  285.             _ExtentX        =   714
  286.             _ExtentY        =   1191
  287.             _Version        =   327682
  288.             Orientation     =   1
  289.             LargeChange     =   1
  290.             Min             =   6
  291.             Max             =   24
  292.             SelStart        =   10
  293.             TickFrequency   =   4
  294.             Value           =   10
  295.          End
  296.          Begin VB.Label Label1 
  297.             AutoSize        =   -1  'True
  298.             Caption         =   "_"
  299.             Height          =   195
  300.             Index           =   9
  301.             Left            =   660
  302.             TabIndex        =   44
  303.             Top             =   600
  304.             Width           =   90
  305.          End
  306.          Begin VB.Label Label1 
  307.             AutoSize        =   -1  'True
  308.             Caption         =   "+"
  309.             Height          =   195
  310.             Index           =   8
  311.             Left            =   660
  312.             TabIndex        =   43
  313.             Top             =   360
  314.             Width           =   90
  315.          End
  316.       End
  317.       Begin VB.Frame Frame2 
  318.          Caption         =   "Kartennamen"
  319.          Height          =   795
  320.          Left            =   3240
  321.          TabIndex        =   23
  322.          Top             =   0
  323.          Width           =   3795
  324.          Begin VB.TextBox Text2 
  325.             Height          =   312
  326.             Index           =   4
  327.             Left            =   2820
  328.             TabIndex        =   14
  329.             Text            =   "Text2"
  330.             Top             =   360
  331.             Width           =   855
  332.          End
  333.          Begin VB.TextBox Text2 
  334.             Height          =   312
  335.             Index           =   3
  336.             Left            =   1920
  337.             TabIndex        =   13
  338.             Text            =   "Text2"
  339.             Top             =   360
  340.             Width           =   915
  341.          End
  342.          Begin VB.TextBox Text2 
  343.             Height          =   312
  344.             Index           =   2
  345.             Left            =   1020
  346.             TabIndex        =   12
  347.             Text            =   "Text2"
  348.             Top             =   360
  349.             Width           =   915
  350.          End
  351.          Begin VB.TextBox Text2 
  352.             Height          =   312
  353.             Index           =   1
  354.             Left            =   120
  355.             TabIndex        =   11
  356.             Text            =   "Text2"
  357.             Top             =   360
  358.             Width           =   915
  359.          End
  360.       End
  361.       Begin VB.Frame Frame1 
  362.          Caption         =   "Pr
  363. fixzahlen"
  364.          Height          =   1215
  365.          Index           =   0
  366.          Left            =   60
  367.          TabIndex        =   22
  368.          Top             =   1260
  369.          Width           =   1275
  370.          Begin VB.TextBox Text1 
  371.             Height          =   312
  372.             Index           =   1
  373.             Left            =   600
  374.             TabIndex        =   2
  375.             Text            =   "Text1"
  376.             Top             =   360
  377.             Width           =   555
  378.          End
  379.          Begin VB.TextBox Text1 
  380.             Height          =   312
  381.             Index           =   0
  382.             Left            =   600
  383.             TabIndex        =   3
  384.             Text            =   "Text1"
  385.             Top             =   780
  386.             Width           =   555
  387.          End
  388.          Begin VB.Label Label1 
  389.             Caption         =   "Aus- land"
  390.             Height          =   435
  391.             Index           =   3
  392.             Left            =   120
  393.             TabIndex        =   38
  394.             Top             =   300
  395.             Width           =   375
  396.          End
  397.          Begin VB.Label Label1 
  398.             Caption         =   "Amt"
  399.             Height          =   195
  400.             Index           =   2
  401.             Left            =   120
  402.             TabIndex        =   37
  403.             Top             =   840
  404.             Width           =   375
  405.          End
  406.       End
  407.       Begin VB.Frame Frame1 
  408.          Caption         =   "Kennzahlen"
  409.          Height          =   1215
  410.          Index           =   2
  411.          Left            =   60
  412.          TabIndex        =   21
  413.          Top             =   0
  414.          Width           =   1275
  415.          Begin VB.TextBox Text1 
  416.             Height          =   312
  417.             Index           =   3
  418.             Left            =   600
  419.             TabIndex        =   1
  420.             Text            =   "Text1"
  421.             Top             =   780
  422.             Width           =   555
  423.          End
  424.          Begin VB.TextBox Text1 
  425.             Height          =   312
  426.             Index           =   2
  427.             Left            =   600
  428.             TabIndex        =   0
  429.             Text            =   "Text1"
  430.             Top             =   360
  431.             Width           =   555
  432.          End
  433.          Begin VB.Label Label1 
  434.             Caption         =   "Ort"
  435.             Height          =   195
  436.             Index           =   1
  437.             Left            =   120
  438.             TabIndex        =   36
  439.             Top             =   840
  440.             Width           =   495
  441.          End
  442.          Begin VB.Label Label1 
  443.             Caption         =   "Land"
  444.             Height          =   195
  445.             Index           =   0
  446.             Left            =   120
  447.             TabIndex        =   35
  448.             Top             =   420
  449.             Width           =   495
  450.          End
  451.       End
  452.    End
  453.    Begin VB.PictureBox Picture1 
  454.       Appearance      =   0  '2D
  455.       BackColor       =   &H80000005&
  456.       BorderStyle     =   0  'Kein
  457.       ForeColor       =   &H80000008&
  458.       Height          =   972
  459.       Index           =   3
  460.       Left            =   2520
  461.       ScaleHeight     =   975
  462.       ScaleWidth      =   1875
  463.       TabIndex        =   29
  464.       Top             =   2760
  465.       Width           =   1872
  466.       Begin VB.ListBox NamList 
  467.          DragIcon        =   "dialer98.frx":0442
  468.          BeginProperty Font 
  469.             Name            =   "Arial"
  470.             Size            =   12
  471.             Charset         =   0
  472.             Weight          =   400
  473.             Underline       =   0   'False
  474.             Italic          =   0   'False
  475.             Strikethrough   =   0   'False
  476.          EndProperty
  477.          Height          =   492
  478.          Index           =   3
  479.          IntegralHeight  =   0   'False
  480.          Left            =   120
  481.          Sorted          =   -1  'True
  482.          TabIndex        =   30
  483.          Top             =   120
  484.          Width           =   1512
  485.       End
  486.    End
  487.    Begin VB.PictureBox Picture1 
  488.       Appearance      =   0  '2D
  489.       BackColor       =   &H80000005&
  490.       BorderStyle     =   0  'Kein
  491.       ForeColor       =   &H80000008&
  492.       Height          =   1032
  493.       Index           =   2
  494.       Left            =   540
  495.       ScaleHeight     =   1035
  496.       ScaleWidth      =   1575
  497.       TabIndex        =   27
  498.       Top             =   2700
  499.       Width           =   1572
  500.       Begin VB.ListBox NamList 
  501.          DragIcon        =   "dialer98.frx":0884
  502.          BeginProperty Font 
  503.             Name            =   "Arial"
  504.             Size            =   12
  505.             Charset         =   0
  506.             Weight          =   400
  507.             Underline       =   0   'False
  508.             Italic          =   0   'False
  509.             Strikethrough   =   0   'False
  510.          EndProperty
  511.          Height          =   672
  512.          Index           =   2
  513.          IntegralHeight  =   0   'False
  514.          Left            =   180
  515.          Sorted          =   -1  'True
  516.          TabIndex        =   28
  517.          Top             =   60
  518.          Width           =   1092
  519.       End
  520.    End
  521.    Begin VB.PictureBox Picture1 
  522.       Appearance      =   0  '2D
  523.       BackColor       =   &H80000005&
  524.       BorderStyle     =   0  'Kein
  525.       ForeColor       =   &H80000008&
  526.       Height          =   1452
  527.       Index           =   4
  528.       Left            =   5040
  529.       ScaleHeight     =   1455
  530.       ScaleWidth      =   1695
  531.       TabIndex        =   25
  532.       Top             =   2280
  533.       Width           =   1692
  534.       Begin VB.ListBox NamList 
  535.          DragIcon        =   "dialer98.frx":0CC6
  536.          BeginProperty Font 
  537.             Name            =   "Arial"
  538.             Size            =   12
  539.             Charset         =   0
  540.             Weight          =   400
  541.             Underline       =   0   'False
  542.             Italic          =   0   'False
  543.             Strikethrough   =   0   'False
  544.          EndProperty
  545.          Height          =   792
  546.          Index           =   4
  547.          IntegralHeight  =   0   'False
  548.          Left            =   120
  549.          Sorted          =   -1  'True
  550.          TabIndex        =   26
  551.          Top             =   180
  552.          Width           =   1212
  553.       End
  554.    End
  555.    Begin VB.PictureBox Picture1 
  556.       Appearance      =   0  '2D
  557.       BackColor       =   &H80000005&
  558.       BorderStyle     =   0  'Kein
  559.       ForeColor       =   &H80000008&
  560.       Height          =   3255
  561.       Index           =   1
  562.       Left            =   120
  563.       ScaleHeight     =   3255
  564.       ScaleWidth      =   7095
  565.       TabIndex        =   18
  566.       Top             =   480
  567.       Width           =   7095
  568.       Begin VB.ListBox NamList 
  569.          DragIcon        =   "dialer98.frx":1108
  570.          BeginProperty Font 
  571.             Name            =   "Arial"
  572.             Size            =   12
  573.             Charset         =   0
  574.             Weight          =   400
  575.             Underline       =   0   'False
  576.             Italic          =   0   'False
  577.             Strikethrough   =   0   'False
  578.          EndProperty
  579.          Height          =   3135
  580.          Index           =   1
  581.          IntegralHeight  =   0   'False
  582.          Left            =   60
  583.          Sorted          =   -1  'True
  584.          TabIndex        =   19
  585.          Top             =   60
  586.          Width           =   7035
  587.       End
  588.    End
  589.    Begin ComctlLib.TabStrip TabStrip1 
  590.       Height          =   3795
  591.       Left            =   60
  592.       TabIndex        =   17
  593.       Top             =   60
  594.       Width           =   7275
  595.       _ExtentX        =   12832
  596.       _ExtentY        =   6694
  597.       _Version        =   327682
  598.       BeginProperty Tabs {0713E432-850A-101B-AFC0-4210102A8DA7} 
  599.          NumTabs         =   5
  600.          BeginProperty Tab1 {0713F341-850A-101B-AFC0-4210102A8DA7} 
  601.             Caption         =   "B
  602. ro 1"
  603.             Key             =   ""
  604.             Object.Tag             =   ""
  605.             ImageVarType    =   2
  606.          EndProperty
  607.          BeginProperty Tab2 {0713F341-850A-101B-AFC0-4210102A8DA7} 
  608.             Caption         =   "B
  609. ro 2"
  610.             Key             =   ""
  611.             Object.Tag             =   ""
  612.             ImageVarType    =   2
  613.          EndProperty
  614.          BeginProperty Tab3 {0713F341-850A-101B-AFC0-4210102A8DA7} 
  615.             Caption         =   "Privat 1"
  616.             Key             =   ""
  617.             Object.Tag             =   ""
  618.             ImageVarType    =   2
  619.          EndProperty
  620.          BeginProperty Tab4 {0713F341-850A-101B-AFC0-4210102A8DA7} 
  621.             Caption         =   "Privat 2"
  622.             Key             =   ""
  623.             Object.Tag             =   ""
  624.             ImageVarType    =   2
  625.          EndProperty
  626.          BeginProperty Tab5 {0713F341-850A-101B-AFC0-4210102A8DA7} 
  627.             Caption         =   "Optionen"
  628.             Key             =   ""
  629.             Object.Tag             =   ""
  630.             ImageVarType    =   2
  631.          EndProperty
  632.       EndProperty
  633.    End
  634.    Begin ComctlLib.StatusBar StatusBar1 
  635.       Align           =   2  'Unten ausrichten
  636.       Height          =   270
  637.       Left            =   0
  638.       TabIndex        =   16
  639.       Top             =   3900
  640.       Width           =   7395
  641.       _ExtentX        =   13044
  642.       _ExtentY        =   476
  643.       Style           =   1
  644.       SimpleText      =   "Doppelklick f
  645. r Anwahl oder rechte Maustaste f
  646. r Men
  647.       _Version        =   327682
  648.       BeginProperty Panels {0713E89E-850A-101B-AFC0-4210102A8DA7} 
  649.          NumPanels       =   1
  650.          BeginProperty Panel1 {0713E89F-850A-101B-AFC0-4210102A8DA7} 
  651.             Key             =   ""
  652.             Object.Tag             =   ""
  653.          EndProperty
  654.       EndProperty
  655.    End
  656.    Begin MSCommLib.MSComm Comm 
  657.       Left            =   5940
  658.       Top             =   120
  659.       _ExtentX        =   688
  660.       _ExtentY        =   688
  661.       _Version        =   327681
  662.       DTREnable       =   -1  'True
  663.       RThreshold      =   1
  664.    End
  665.    Begin VB.Menu pummain 
  666.       Caption         =   "Namensliste"
  667.       Visible         =   0   'False
  668.       Begin VB.Menu pum 
  669.          Caption         =   "&Einf
  670.          Index           =   1
  671.       End
  672.       Begin VB.Menu pum 
  673.          Caption         =   "&
  674. ndern"
  675.          Index           =   2
  676.       End
  677.       Begin VB.Menu pum 
  678.          Caption         =   "&L
  679. schen"
  680.          Index           =   3
  681.       End
  682.       Begin VB.Menu pum 
  683.          Caption         =   "-"
  684.          Index           =   4
  685.       End
  686.       Begin VB.Menu pum 
  687.          Caption         =   "&Abbrechen"
  688.          Index           =   5
  689.       End
  690.    End
  691.    Begin VB.Menu pummain2 
  692.       Caption         =   "Taskleiste"
  693.       Visible         =   0   'False
  694.       Begin VB.Menu pum2 
  695.          Caption         =   "&Einblenden"
  696.          Index           =   1
  697.       End
  698.       Begin VB.Menu pum2 
  699.          Caption         =   "&Info"
  700.          Index           =   2
  701.       End
  702.       Begin VB.Menu pum2 
  703.          Caption         =   "-"
  704.          Index           =   3
  705.       End
  706.       Begin VB.Menu pum2 
  707.          Caption         =   "&Beenden"
  708.          Index           =   4
  709.       End
  710.       Begin VB.Menu pum2 
  711.          Caption         =   "-"
  712.          Index           =   5
  713.       End
  714.       Begin VB.Menu pum2 
  715.          Caption         =   "&Abbrechen"
  716.          Index           =   6
  717.       End
  718.    End
  719.    Begin VB.Menu pummain3 
  720.       Caption         =   "Anbieter"
  721.       Visible         =   0   'False
  722.       Begin VB.Menu pum3 
  723.          Caption         =   "&Einf
  724.          Index           =   1
  725.       End
  726.       Begin VB.Menu pum3 
  727.          Caption         =   "&
  728. ndern"
  729.          Index           =   2
  730.       End
  731.       Begin VB.Menu pum3 
  732.          Caption         =   "&L
  733. schen"
  734.          Index           =   3
  735.       End
  736.       Begin VB.Menu pum3 
  737.          Caption         =   "-"
  738.          Index           =   4
  739.       End
  740.       Begin VB.Menu pum3 
  741.          Caption         =   "&Abbrechen"
  742.          Index           =   5
  743.       End
  744.    End
  745. Attribute VB_Name = "Form1"
  746. Attribute VB_GlobalNameSpace = False
  747. Attribute VB_Creatable = False
  748. Attribute VB_PredeclaredId = True
  749. Attribute VB_Exposed = False
  750. Option Explicit
  751.  Sub Btn_Click(Index As Integer)
  752.     Select Case Index
  753.         Case 1
  754.             DownloadUpdateFile
  755.         Case 0
  756.             If RcvString = "" Then RcvString = "(keine R
  757. ckmeldung)"
  758.             MsgBox "Das Modem gab nach der letzten Anwahl folgende Zeichenkette zur
  759. ck:" + vbCr + vbCr + RcvString, 64, Title
  760.     End Select
  761. End Sub
  762.  Sub Comm_OnComm()
  763.     If Comm.PortOpen Then
  764.         RcvString = RcvString + UCase$(Comm.Input)
  765.         'Debug.Print ">"; RcvString; "<"
  766.         If InStr(RcvString, "OK") Then
  767.             Comm.PortOpen = False
  768.             Unload Form4
  769.         End If
  770.     End If
  771. End Sub
  772. Sub Form_Load()
  773. Dim i As Integer
  774. Dim a As Single
  775.     For i = 1 To 4
  776.         ComList.AddItem "COM" & i
  777.     Next
  778.     WahlArtList.AddItem "Ton"
  779.     WahlArtList.AddItem "Puls"
  780.     For i = 1 To 5
  781.         Picture1(i).BackColor = BackColor
  782.     Next
  783.     For i = 2 To 5
  784.         Picture1(i).Top = Picture1(1).Top
  785.         Picture1(i).Left = Picture1(1).Left
  786.         Picture1(i).Width = Picture1(1).Width
  787.         Picture1(i).Height = Picture1(1).Height
  788.     Next
  789.     For i = 2 To 4
  790.         NamList(i).Top = NamList(1).Top
  791.         NamList(i).Left = NamList(1).Left
  792.         NamList(i).Width = NamList(1).Width
  793.         NamList(i).Height = NamList(1).Height
  794.     Next
  795.     Caption = Title
  796.     ShowSysTrayIcon Me, 0, Icon, Title
  797.     WindowState = 0
  798.     Hide
  799.     InitMyApp
  800. '        Show   'dev only!
  801. End Sub
  802.  Sub Form_Terminate()
  803.     KillSysTrayIcon Me, 0
  804. End Sub
  805.  Sub Form_Unload(Cancel As Integer)
  806.     If PicActiv = OptionPic Then SaveOptionControls
  807. End Sub
  808. Sub NamList_Click(Index As Integer)
  809.     Status TelefonNummer(NamList(Index).List(NamList(Index).ListIndex))
  810. End Sub
  811.  Sub NamList_DblClick(Index As Integer)
  812.     Dial
  813. End Sub
  814.  Sub NamList_KeyPress(Index As Integer, Key As Integer)
  815.     If ((Key = 13) Or (Key = 32)) Then Dial
  816. End Sub
  817.  Sub NamList_LostFocus(Index As Integer)
  818.     If Not ExternalWindowActive Then TabStrip1.SetFocus
  819. End Sub
  820.  Sub NamList_MouseDown(Index As Integer, Button As Integer, Shift As Integer, X As Single, Y As Single)
  821.    If Button = 2 Then
  822.         If NamList(Index).ListIndex >= 0 Then
  823.             pum(2).Enabled = True
  824.             pum(3).Enabled = True
  825.         Else
  826.             pum(2).Enabled = False
  827.             pum(3).Enabled = False
  828.         End If
  829.         PopupMenu pummain, , , , pum(5)
  830.         StatusListe
  831.     End If
  832. End Sub
  833. Public Sub LoadOptionControls()
  834. Dim i As Integer
  835.     Text1(0).Text = AmtPrefix
  836.     Text1(1).Text = AuslandPrefix
  837.     Text1(2).Text = LandesKennZahl
  838.     Text1(3).Text = OrtsKennZahl
  839.     ComList.ListIndex = CommPortNummer - 1
  840.     WahlArtList.ListIndex = PulsWahl
  841.     UebergabeChk.Value = MacheUebergabe
  842.     For i = 1 To 4
  843.         Text2(i).Text = TabStrip1.Tabs(i).Caption
  844.     Next
  845.     Text3.Text = ZusModemBefehleVorDerWahl
  846.     UebergabeNrText.Text = UebergabeTelNr
  847.     Slider1.Value = Slider1.Max - NamList(1).Font.Size + Slider1.Min
  848.     FntSmpl.Font.Name = NamList(1).Font.Name
  849.     UpdateFntSmpl
  850. End Sub
  851. Public Sub SaveOptionControls()
  852. Dim i As Integer
  853.     AmtPrefix = Trim(Text1(0).Text)
  854.     AuslandPrefix = Trim(Text1(1).Text)
  855.     LandesKennZahl = Format$(Val(Text1(2).Text))    'Format$(Val(... wurde eingebaut, um
  856.     OrtsKennZahl = Format$(Val(Text1(3).Text))        'die evtl Vornullen herauszuwerfen
  857.     ZusModemBefehleVorDerWahl = Text3.Text
  858.     UebergabeTelNr = UebergabeNrText.Text
  859.     MacheUebergabe = UebergabeChk.Value
  860.     CommPortNummer = ComList.ListIndex + 1
  861.     PulsWahl = WahlArtList.ListIndex
  862.     For i = 1 To 4
  863.         TabStrip1.Tabs(i).Caption = Text2(i).Text
  864.         NamList(i).Font.Size = FntSmpl.Font.Size
  865.     Next
  866.     SaveDataFile
  867. End Sub
  868.  Sub Slider1_Scroll()
  869.     UpdateFntSmpl
  870. End Sub
  871. Sub UpdateFntSmpl()
  872.     FntSmpl.Font.Size = Slider1.Max - Slider1.Value + Slider1.Min
  873.     FntSmpl.Top = (FntFrm.Height - FntSmpl.Height) / 2
  874.     FntSmpl.Left = (FntFrm.Width - FntSmpl.Width) / 2
  875. End Sub
  876. Sub TabStrip1_Click()
  877. Dim TabClicked As Integer
  878. TabClicked = TabStrip1.SelectedItem.Index
  879. Picture1(TabClicked).ZOrder 0
  880. If TabClicked = OptionsTab Then
  881.     If PicActiv <> OptionPic Then
  882.         LoadOptionControls
  883.         Status "Bitte gew
  884. nschte 
  885. nderungen vornehmen"
  886.         Text1(2).SetFocus
  887.     End If
  888.     If PicActiv = OptionPic Then
  889.         SaveOptionControls
  890.         StatusListe
  891.     End If
  892.     NamList(TabClicked).SetFocus
  893. End If
  894. PicActiv = TabClicked
  895. End Sub
  896. Public Sub StatusListe()
  897.     Status "Doppelklick f
  898. r Anwahl oder rechte Maustaste f
  899. r Men
  900. End Sub
  901. Sub Form_QueryUnload(Cancel As Integer, UnloadMode As Integer)
  902.     If UnloadMode = 0 Then
  903.         Cancel = -1
  904.         Hide
  905.     Else
  906.         If PicActiv = OptionPic Then
  907.             SaveOptionControls
  908.         End If
  909.     End If
  910. End Sub
  911. Sub pum_Click(i As Integer) '########## EDIT NAME
  912. Dim s As String
  913. Dim n As String
  914. Dim t As String
  915.     Select Case i
  916.         Case 1 ' Einf
  917.             EditNameEntry "", "", 1
  918.         Case 2 '
  919. ndern
  920.             s = Form1.NamList(Form1.TabStrip1.SelectedItem.Index).List(Form1.NamList(Form1.TabStrip1.SelectedItem.Index).ListIndex)
  921.             n = Teilnehmername(s)
  922.             t = TelefonNummer(s)
  923.             EditNameEntry n, t, ZeroFlag(s)
  924.         Case 3 'l
  925. schen
  926.             s = NamList(TabStrip1.SelectedItem.Index).List(Form1.NamList(TabStrip1.SelectedItem.Index).ListIndex)
  927.             If 6 = MsgBox("Soll der folgende Eintrag wirklich gel
  928. scht werden?" + vbCr + vbCr + Teilnehmername(s) + " (" + TelefonNummer(s) + ")", 4 + 32 + 256, "Eintrag l
  929. schen") Then
  930.                 DeleteCurrentNameEntry
  931.                 SaveDataFile
  932.             End If
  933.     End Select
  934. End Sub
  935.  Sub pum2_Click(i As Integer) '### TRAY PUM
  936.     Select Case i
  937.         Case 1 ' zeigen
  938.             If ExternalWindowActive Then Beep Else Show
  939.         Case 2 'info
  940.             ShowInfo
  941.         Case 4 'beenden
  942.             Unload Me
  943.     End Select
  944. End Sub
  945. Private Sub pum3_Click(i As Integer)       '### EDIT PROVIDER
  946. Dim s As String
  947. Dim d As String
  948.     Select Case i
  949.         Case 1 ' Einf
  950.             EditProviderEntry "", "", 1, 9, 18, 0, 1, 0
  951.         Case 2 '
  952. ndern
  953.             With Form1.TelcoList.ListItems(CurrTelcoEntry)
  954.                 s = .SubItems(siTag)
  955.                 d = .SubItems(siWeite)
  956.                 EditProviderEntry .Text, .SubItems(siVorwahl), _
  957.                     (-(s = cTagImmer) Or -(s = cTagWerktags)) Or 2 * (-(s = cTagImmer) Or -(s = cTagWochenende)), _
  958.                     Val(.SubItems(siAb)), Val(.SubItems(siBis)), _
  959.                     -(InStr(d, "N") <> 0), -(InStr(d, "F") <> 0), -(InStr(d, "A") <> 0)
  960.             End With
  961.         Case 3 'l
  962. schen
  963.             If 6 = MsgBox("Soll der folgende Eintrag wirklich gel
  964. scht werden?" + vbCr + vbCr + Form1.TelcoList.ListItems(CurrTelcoEntry).Text + " (" + Form1.TelcoList.ListItems(CurrTelcoEntry).SubItems(siVorwahl) + ")", 4 + 32 + 256, "Eintrag l
  965. schen") Then
  966.                 DeleteCurrentProviderEntry
  967.                 SaveProviderFile
  968.             End If
  969.     End Select
  970. End Sub
  971. 'Kommt innerhalb einer Sekunde kein DBLCLICK-Event, dann ist es ein SINGLECLICK
  972.  Sub DblClkDelay_Timer()
  973.     DblClkDelay.Enabled = False
  974.     NiKeyEvent NiKeyEventButtonID Or NiKeyEventDblClickFlag
  975. End Sub
  976. 'Eventverteiler -> hiermit Anwenderfunktionen aufrufen lassen
  977. Sub NiKeyEvent(iKeyEvent As Integer)
  978.     Select Case iKeyEvent
  979.         Case cLeftClick
  980.             Debug.Print "cLeftClick"
  981.             If ExternalWindowActive Then Beep Else Show
  982.         Case cRightClick
  983.             Debug.Print "cRightClick"
  984.             PopupMenu pummain2, , , , pum2(6)
  985.         Case cLeftDblClick
  986.             Debug.Print "cLeftDblClick"
  987.             If ExternalWindowActive Then Beep Else Show
  988.         Case cRightDblClick
  989.             Debug.Print "cRightDblClick"
  990.             Beep
  991.     End Select
  992. End Sub
  993. 'die M
  994. chtegern-Call-back-Funktion
  995.  Sub Form_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
  996.     Select Case X \ Screen.TwipsPerPixelX
  997.          Case WM_LBUTTONDOWN
  998.             NiKeyEventDblClickFlag = 0
  999.             NiKeyEventButtonID = 1
  1000.             DblClkDelay.Enabled = False
  1001.             DblClkDelay.Enabled = True
  1002.          Case WM_RBUTTONDOWN
  1003.             NiKeyEventDblClickFlag = 0
  1004.             NiKeyEventButtonID = 2
  1005.             DblClkDelay.Enabled = False
  1006.             DblClkDelay.Enabled = True
  1007.          Case WM_LBUTTONDBLCLK, WM_RBUTTONDBLCLK
  1008.             NiKeyEventDblClickFlag = &H100
  1009.       End Select
  1010. End Sub
  1011. 'Funktion zum Hinzuf
  1012. gen eines Icons
  1013. Public Sub ShowSysTrayIcon(niForm As Form, niID As Long, niIcon As Long, niText As String)
  1014.     NotifyIcon NIM_ADD, niForm, niID, niIcon, niText
  1015. End Sub
  1016. 'Funktion zum 
  1017. ndern eines Icons
  1018. Public Sub ChangeSysTrayIcon(niForm As Form, niID As Long, niIcon As Long, niText As String)
  1019.     NotifyIcon NIM_MODIFY, niForm, niID, niIcon, niText
  1020. End Sub
  1021. 'Funktion zum L
  1022. schen eines Icons
  1023. Public Sub KillSysTrayIcon(niForm As Form, niID As Long)
  1024.     NotifyIcon NIM_DELETE, niForm, niID, vbNull, ""
  1025. End Sub
  1026. 'NotifyIcon-API-Aufruf
  1027. Public Sub NotifyIcon(niCmd As Long, niForm As Form, niID As Long, niIcon As Long, niText As String)
  1028. Dim niData As NOTIFYICONDATA
  1029. Dim rc As Integer
  1030.     niData.cbSize = Len(niData)
  1031.     niData.hWnd = niForm.hWnd
  1032.     niData.uId = niID
  1033.     niData.uFlags = NIF_MESSAGE Or NIF_ICON Or NIF_TIP
  1034.     niData.uCallBackMessage = WM_MOUSEMOVE
  1035.     niData.hIcon = niIcon
  1036.     niData.szTip = Left$(niText, 63) & vbNullChar
  1037.     rc = Shell_NotifyIconA(niCmd, niData)
  1038. End Sub
  1039. Sub TelcoList_ColumnClick(ByVal ColumnHeader As ComctlLib.ColumnHeader)
  1040. Static LastColumnClicked As Integer
  1041.     Debug.Print "Liste_ColumnClick"; ColumnHeader.Index
  1042.     If LastColumnClicked = ColumnHeader.Index Then
  1043.         '### click auf gleiche pos -> sortierung umkehren
  1044.         TelcoList.SortOrder = TelcoList.SortOrder + 1 And 1
  1045.     Else
  1046.         LastColumnClicked = ColumnHeader.Index
  1047.         TelcoList.SortKey = ColumnHeader.Index - 1
  1048.         TelcoList.Sorted = True
  1049.     End If
  1050. End Sub
  1051. Private Sub TelcoList_DblClick()
  1052.     'ruft entweder einf
  1053. gen oder 
  1054. ndern auf
  1055.     CurrTelcoEntry = SelectedItemIndex(TelcoList)
  1056.     pum3_Click 1 + Sgn(CurrTelcoEntry)
  1057. End Sub
  1058. Private Sub TelcoList_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
  1059.     If Button = 2 Then ActivateTelcoPum
  1060. End Sub
  1061. Private Sub UebergabeChk_Click()
  1062.         UebergabeNrText.Enabled = UebergabeChk.Value <> 0
  1063. End Sub
  1064. Private Sub WahlArtList_Click()
  1065. Dim X As Boolean
  1066.     X = WahlArtList.ListIndex = 0
  1067.     WeiterleitenFrame.Enabled = X
  1068.     UebergabeChk.Enabled = X
  1069.     UebergabeNrText.Enabled = X And (UebergabeChk.Value <> 0)
  1070. End Sub
  1071. Private Sub Inet1_StateChanged(ByVal State As Integer)
  1072.     If State = 11 Then
  1073.         UpdateFailed = True
  1074.         MsgBox Inet1.ResponseInfo & vbCr & vbCr & "(Code " & Inet1.ResponseCode & ")", vbCritical, UpdateTitle
  1075.     End If
  1076. End Sub
  1077.