-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathMALENV.INC
1311 lines (1117 loc) · 38.1 KB
/
MALENV.INC
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
{$I DEF.INC}
Uses
Restex,Systex,Isatex,Dialex
{$IFDEF FullVersion}
,MBCortex
{$ENDIF}
{$IFDEF BureauVersion}
,MBBCrtex
{$ENDIF};
Function GetMaxXTaskBar(Pos:Word):Byte;
Function GetMaxYPixelsTaskBar:Word;
Procedure PutFreeMemory;
Procedure RefreshWindow;
Procedure Run;
Function RunFunc(Code:Word):Boolean;
Procedure SetMnuSwitch;
Function YTaskMnu:Byte;
Procedure LoadHistoryDocument(Var LastDoc:History;Var Q:HistoryDocument);
Procedure SaveHistoryDocument(Var Q:HistoryDocument);
{ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ}
IMPLEMENTATION
{ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ}
Uses Adele,
Overlay,
Memories, {Routines de m‚moire}
Systems, {Routines systŠme}
Registry, {Base de registres}
Mouse, {Gestionnaire de souris}
DialTree, {Dialogue en arbre}
Video, {Gestionnaire vid‚o suppl‚mentaire}
ToolInfo, {Informations systŠmes}
Tools, {Outils divers}
ToolVid, {Outils vid‚o}
Apps, {Gestionnaire d'application}
Arcade, {Arcade, animation et ‚conomiseur d'‚cran}
{$IFDEF Educative}
Besch, {Bescherelle (les verbes) }
{$ENDIF}
ToolDsk, {Outils disque}
ToolPrn, {Outils d'impression}
InfoMemo, {Information sur les composants m‚moires}
MBIdent, {Fiche d'Identification G‚n‚ral}
{$IFDEF FullVersion}
MalInit, {Initialise le recouvrement}
MBStart, {D‚marreur du ®MonsterBook¯}
MBAbout, {cran de pr‚sentation (A Propos...)}
MBOpenCu,{Ouvrir au curseur...}
MBSave, {Sauvegarde du fichier de configuration}
MBSDir, {Gestionnaire de r‚pertoires}
MBSearch,{Recherche … effectuer...}
MBConfig,{Changement utilisateur de la configuration}
MalLibra,{BibliothŠque d'outils}
MBInitSc,{cran de travail du ®MonsterBook¯}
MBShell, {Appel d'un composant ou application externe}
MBExit, {Terminaison du ®MonsterBook¯}
{$ENDIF}
{$IFDEF BureauVersion}
MalBInit,{Initialise le recouvrement}
MBBStart,{D‚marreur du ®MonsterBook¯}
MBBAbout,{cran de pr‚sentation (A Propos...)}
MBBOpenC,{Ouvrir au curseur...}
MBBSave, {Sauvegarde du fichier de configuration}
MBBSDir, {Gestionnaire de r‚pertoires}
MBBSearc,{Recherche … effectuer...}
MBBConfi,{Changement utilisateur de la configuration}
MalBLibr,{BibliothŠque d'outils}
MBBInitS,{cran de travail du ®MonsterBook¯}
MBBShell,{Appel d'un composant ou application externe}
MBBExit, {Terminaison du ®MonsterBook¯}
{$ENDIF}
{$IFDEF DeveloppeurVersion}
ExplorDB,{Explorateur de Base de donn‚es }
MalDInit,{Initialise le recouvrement}
MBDStart,{D‚marreur du ®MonsterBook¯}
MBDAbout,{cran de pr‚sentation (A Propos...)}
MBDOpenC,{Ouvrir au curseur...}
MBDSave, {Sauvegarde du fichier de configuration}
MBDSDir, {Gestionnaire de r‚pertoires}
MBDSearc,{Recherche … effectuer...}
MBDConfi,{Changement utilisateur de la configuration}
MalDLibr,{BibliothŠque d'outils}
MBDInitS,{cran de travail du ®MonsterBook¯}
MBDShell,{Appel d'un composant ou application externe}
MBDExit, {Terminaison du ®MonsterBook¯}
{$ENDIF}
{$IFDEF Joystick}
MBJoysti,{Gestionnaire de manettes de jeux}
{$ENDIF}
Numerix, {Calculatrice programmable, conversion de donn‚es}
Editor, {TraŒtement de texte}
{$IFDEF Developpeur}
EditIcon,{Editeur d'ic“ne}
{$ENDIF}
Terminal, {mulateur de terminal}
FileMana, {Gestionnaire de fichiers}
ToolFile, {Outil associ‚ au gestionnaire de fichiers}
PrnFileM, {Impression pour le Gestionnaire de fichiers}
ToolTerm, {Prompt, Shell,...}
{$IFDEF Bureau}
MalCalc, {Tableur (chiffrier ‚lectronique)}
{$ENDIF}
{$IFDEF Reseau}
TMDials, {Terminal avanc‚e}
{$ENDIF}
Dials, {Dialogues de base}
Loader, {Menu d'application texte}
DrawEdit, {Editeur de dessin}
EdtBlock, {TraŒtement de texte - Gestion des blocs}
ToolSoun, {Outils de son}
EdtMacro, {TraŒtement de texte - Macro}
ProgMan, {Gestionnaire de programmes}
DialPlus, {Suppl‚ment de dialogue}
ResServI, {Service de ressources d'image}
ToolTime, {Outils du temps}
{$IFDEF Games}
Tetris, {Jeux Tetris}
{$ENDIF}
EdtLoad, {Chargeur de document du traŒtement de texte}
EdtDone, {Terminaison du traŒtement de texte}
EdtJust, {Outils de justification du traŒtement de texte}
EdtExtra; {Outils suppl‚mentaire du traŒtement de texte}
{ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÜ
³ Fonction GetMaxYPixelsTaskBar Û
ÀÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÛ
Description
ÍÍÍÍÍÍÍÍÍÍÍ
Cette fonction retourne la position maximal vertical en pixel ou
s'affiche la barre de tƒche
}
Function GetMaxYPixelsTaskBar:Word;Begin
If(HelpBar)Then GetMaxYPixelsTaskBar:=Pred(GetRawY(Succ(YTaskMnu)))
Else GetMaxYPixelsTaskBar:=GetMaxYPixels;
End;
{ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÜ
³ Fonction GetMaxXTaskBar Û
ÀÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÛ
Description
ÍÍÍÍÍÍÍÍÍÍÍ
Cette fonction retourne la position maximal de la barre de tƒche
sp‚cifier.
}
Function GetMaxXTaskBar(Pos:Word):Byte;
Var
Max:Byte;
Begin
If Pos=Windows.Lst.Count-1Then GetMaxXTaskBar:=TaskBar.MaxX+1
Else
Begin
Max:=TaskBar.MaxX div Windows.Lst.Count;
GetMaxXTaskBar:=(Max*Pos)+Max-1;
End;
End;
{ Cette fonction retourne le num‚ro de ligne sur lequel est actuellement
affich‚ la barre de tƒche.
}
Function YTaskMnu:Byte;Begin
YTaskMnu:=MaxYTxts-Byte(HelpBar)
End;
Procedure StopPlayMod;Far;Forward;
Procedure PutFreeMemory;
Label WriteMemory;
Var
GX1,GY1,GY2,XLen:Word;
Attr:Byte;
X:Byte;
Begin
If Not(TaskBar.Visible)Then Exit;
If GetNmXTxts>40Then Begin
Attr:=GetAttr(MaxXTxts,YTaskMnu);
If Not(IsGrf)Then Goto WriteMemory;
Case(MemoryModel)of
mmProgressBar:Begin
XLen:=MemAvail shr 12;
If(XLen<>PBLastLen)Then Begin
GX1:=((TaskBar.MaxX+1)shl 3)+2;
If(SoundIconOnStatus)Then Inc(GX1,24);
If(CountryIconOnStatus)Then Inc(GX1,24);
GY1:=GetRawY(YTaskMnu);
GY2:=GetMaxYPixelsTaskBar-4;
If XLen<8Then PutFillBox(GX1,GY1+3,GX1+XLen,GY2,LightRed)
Else
Begin
PutFillBox(GX1,GY1+3,GX1+7,GY2,LightRed);
If XLen<24Then PutFillBox(GX1+8,GY1+3,GX1+XLen,GY2,Yellow)
Else
Begin
PutFillBox(GX1+8,GY1+3,GX1+23,GY2,Yellow);
PutFillBox(GX1+24,GY1+3,GX1+XLen,GY2,LightGreen);
End;
End;
If XLen<15*8-4Then PutFillBox(GX1+XLen,GY1+3,GetMaxXPixels-1,GY2,Attr shr 4);
PBLastLen:=XLen;
End;
End;
Else WriteMemory:Begin
X:=TaskBar.MaxX+3;
If(CountryIconOnStatus)Then Inc(X,3);
If(SoundIconOnStatus)Then Inc(X,3);
PutSmlTxtXY(X,YTaskMnu,StrUSpc(IntToStr(MemAvail),6),Attr);
End;
End;
End;
End;
Procedure SetMnuSwitch;
Var
X:Byte;
Ptr:Pointer;
Editor:^EditorApp Absolute Ptr;
Tetris:^TetrisGame Absolute Ptr;
EditDraw:^DrawEditApp Absolute Ptr;
Begin
DoneMnu;
If Windows.Lst.Count=0Then Begin
FillClr(IsLine,8);
InitMnu(0,0)
End
Else
Begin
X:=0;
Ptr:=HPtr(Windows);
If(HModel(Windows)=wnEdit)Then X:=TEGetViewMode({EditorApp(HPtr(Windows)^)}Editor^);
InitMnu(HModel(Windows),X);
Case HModel(Windows)of
wnEdit:Begin
IsLine:=False;
IsBox:=False;
IsCircle:=False;
IsPaint:=False;
IsTrace:=False;
IsText:=True;
End;
wnDraw,wnIcon:Begin
DrawModeB:=DWGetMode(EditDraw^);
IsLine:=DrawModeB=drwLine;IsBox:=DrawModeB=drwBox;
IsCircle:=DrawModeB=drwCircle;IsPaint:=DrawModeB=drwPaint;
IsTrace:=DrawModeB=drwTrace;IsText:=DrawModeB=drwText;
End;
wnTetris:Begin
IsLine:=Tetris^.InputMode=imJoystick;
IsBox:=Tetris^.InputMode=imKeyboard;
End;
End;
End;
PMSetWinBar(0,LnsMnu,MaxXTxts);
PMPutMnuBar;
DefEndBar;
End;
Procedure SetDrawMode(M:Byte);Begin
DrawModeB:=M;
Case(HModel(Windows))of
{$IFDEF Developpeur}
wnIcon:IESetMode(IconEditApp(HPtr(Windows)^),DrawModeB);
{$ENDIF}
wnDraw:DWSetMode(DrawEditApp(HPtr(Windows)^),DrawModeB);
End;
IsLine:=DrawModeB=drwLine;IsBox:=DrawModeB=drwBox;
IsCircle:=DrawModeB=drwCircle;IsPaint:=DrawModeB=drwPaint;
IsTrace:=DrawModeB=drwTrace;IsText:=DrawModeB=drwText;
End;
Function IsValidFunc(X:Byte):Boolean;Begin
IsValidFunc:=False;
If(X)in(cmdDefault)Then IsValidFunc:=True
Else
If Not ALIsEmpty(Windows.Lst)Then Begin
If(X)in(cmdDefaultOpen)Then IsValidFunc:=True
else IsValidFunc:=X in cmdWn[HModel(Windows)];
End;
End;
{PRIVATE}
Procedure TextAttrTxt(Attr:Byte);Near;
Var
Ptr:Pointer;
Editor:^EditorApp Absolute Ptr;
Calc:^SuperCalcApp Absolute Ptr;
Begin
Ptr:=HPtr(Windows);
Case HModel(Windows)of
wnEdit:TESetChrType(Editor^,Editor^.ChrAttr or Attr);
wnSuperCalc:SCUnderline(Calc^);
End;
End;
{PUBLIQUE}
Procedure BoxMode;Far;Begin
{$IFDEF Games}
If(HModel(Windows)=wnTetris)Then Begin
IsLine:=False;
IsBox:=True;
TetrisInputMode(HPtr(Windows)^,imKeyboard);
End
Else
{$ENDIF}
SetDrawMode(drwBox)
End;
Procedure CenterText;Far;Begin
If(HModel(Windows)=wnEdit)Then TECenterTxt(EditorApp(HPtr(Windows)^))
End;
Procedure ChangeCurrentBoard;Begin
Case HModel(Windows)of
wnFileManager:FMChgBoard(FileManagerApp(HPtr(Windows)^));
End;
End;
Procedure CircleMode;Far;Begin
SetDrawMode(drwCircle)
End;
Procedure CloseAllExit;Far;Begin
If Windows.Lst.Count>0Then Begin
CurrEdit:=0;
While Windows.Lst.Count>0do If Not(ClsWn)Then Begin
GetSysErr:=errUser;
Exit;
End;
End;
End;
Procedure CloseAllWindows;Far;Begin
If Windows.Lst.Count>0Then Begin
CloseAllExit;
If(GetSysErr<>errUser)Then Begin
PutFreeMemory;
SetMnuSwitch;
End;
End;
End;
Procedure SaveHistoryDocument(Var Q:HistoryDocument);Begin
Q.Len:=514;
CreateKeyFormat(HKEY_CURRENT_USER,'Software\Windows9X\StartMenu','Document',tdBlob,Q)
End;
Procedure LoadHistoryDocument(Var LastDoc:History;Var Q:HistoryDocument);Begin
FillClr(Q,SizeOf(Q));
HYInitTo(LastDoc,512,@Q.History);
If ReadMainKey(HKEY_CURRENT_USER,'Software\Windows9X\StartMenu','Document',Q)Then Begin
HYSetSizeBuffer(LastDoc,Q.EndCmd);
End;
End;
Procedure CloseWindow;Far;
Var
S:String;
Q:HistoryDocument;
LastDoc:History;
Begin
S:='';
Case HModel(Windows)of
wnEdit:S:=EditorApp(HPtr(Windows)^).EditName;
{ wnView:S:=VA(HPtr(Windows)^).FileName;}
wnIcon:S:=IconEditApp(HPtr(Windows)^).Name;
wnDraw:S:=DrawEditApp(HPtr(Windows)^).FileName;
wnDataBase:S:=DataBaseApp(HPtr(Windows)^).DataBase.FileName;
End;
If Not {HClose(Windows)}(ClsWn)Then Begin
GetSysErr:=errUser;
Exit;
End
Else
If S<>''Then Begin
LoadHistoryDocument(LastDoc,Q);
HYQueue(LastDoc,S);
Q.EndCmd:=HYGetSizeBuffer(LastDoc);
SaveHistoryDocument(Q);
End;
SetMnuSwitch;
PutFreeMemory;
End;
Procedure CopyBlock;Far;Begin
TECpyBlk(EditorApp(HPtr(Windows)^))
End;
Procedure DeleteCurrLine;Far;Begin
Case(HModel(Windows))of
wnEdit:TEDelCurrLn(EditorApp(HPtr(Windows)^));
End;
End;
Procedure Dn;Far;Begin
Case HModel(Windows)of
wnEdit:TEkDn(EditorApp(HPtr(Windows)^));
End;
End;
Procedure DrawChangePageIcon;Begin
{$IFDEF Developpeur}
If(HModel(Windows)=wnIcon)Then IEChgPg(IconEditApp(HPtr(Windows)^))
{$ELSE}
ErrNoMsgOk(errNotFoundInDistribution);
{$ENDIF}
End;
Procedure DrawMode;Begin
If(HModel(Windows)=wnEdit)Then Begin
TESetDrawMode(EditorApp(HPtr(Windows)^),Not(EditorApp(HPtr(Windows)^).DrawMode));
SetMnuSwitch;
End;
End;
Procedure DrawNewPageIcon;Begin
{$IFDEF Developpeur}
If(HModel(Windows)=wnIcon)Then IENewPg(IconEditApp(HPtr(Windows)^))
{$ELSE}
ErrNoMsgOk(errNotFoundInDistribution);
{$ENDIF}
End;
Procedure EditBS;Far;Begin
PushKey(kbBS)
End;
Procedure EditDel;Far;Begin
PushKey(kbDel)
End;
{Description
ÍÍÍÍÍÍÍÍÍÍÍ
Cette proc‚dure marquer la coordonn‚e de la fin du bloque de traŒtement
du texte en fonction de la position actuel du pointeur texte de la fenˆtre
d'application courante.
}
Procedure EndBlock;Far;Begin
TEEndBlk(EditorApp(HPtr(Windows)^))
End;
{Description
ÍÍÍÍÍÍÍÍÍÍÍ
Cette proc‚dure permet de d‚place le pointeur texte … la fin de la liste
de la fenˆtre d'application.
}
Procedure EndTxt;Far;Begin
PushKey(kbCtrlEnd)
End;
Procedure HomeBlock;Far;Begin
TEHomeBlk(EditorApp(HPtr(Windows)^))
End;
Procedure HomeTxt;Far;Begin
PushKey(kbCtrlHome)
End;
Procedure InfoDocument;Far;Begin
PushKey(kbCtrlF1)
End;
Procedure InfoVideoPrimary;Far;Begin
VideoInfo(0)
End;
Procedure InfoVideoSecondary;Far;Begin
VideoInfo(1)
End;
Procedure Left;Far;Begin
Case HModel(Windows)of
wnEdit:TEkLeft(EditorApp(HPtr(Windows)^));
End;
End;
Procedure LnMode;Far;Begin
{$IFDEF Games}
If(HModel(Windows)=wnTetris)Then Begin
IsLine:=True;
IsBox:=False;
TetrisInputMode(HPtr(Windows)^,imJoystick);
{TetrisRec(HPtr(Windows)^).InputMode:=imJoystick;}
End
Else
{$ENDIF}
SetDrawMode(drwLine)
End;
Procedure NextWn;Far;Begin
HNext(Windows);
SetMnuSwitch;
ClrKbd;
End;
{ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÜ
³ Proc‚dure PaintMode Û
ÀÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÛ
Description
ÍÍÍÍÍÍÍÍÍÍÍ
Cette proc‚dure le mode de peinturage dans la fenˆtre courante traŒtant
des images.
}
Procedure PaintMode;Far;Begin
SetDrawMode(drwPaint)
End;
{ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÜ
³ Proc‚dure PgDn Û
ÀÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÛ
Description
ÍÍÍÍÍÍÍÍÍÍÍ
Cette proc‚dure permet de passer … l'‚cran suivante dans la fenˆtre
actuellement en usage s'il n'est pas rendu … la fin de la liste.
}
Procedure PgDn;Far;Begin
Case HModel(Windows)of
wnEdit:TEkPgDn(EditorApp(HPtr(Windows)^));
End;
End;
{ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÜ
³ Proc‚dure PgUp Û
ÀÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÛ
Description
ÍÍÍÍÍÍÍÍÍÍÍ
Cette proc‚dure permet de passer … l'‚cran pr‚c‚dent dans la fenˆtre
actuellement en usage.
}
Procedure PgUp;Begin
Case HModel(Windows)of
wnEdit:TEkPgUp(EditorApp(HPtr(Windows)^));
End;
End;
{ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÜ
³ Proc‚dure PreviousWindow Û
ÀÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÛ
Description
ÍÍÍÍÍÍÍÍÍÍÍ
Cette proc‚dure permet de passer … la fenˆtre pr‚c‚dente dans la liste.
S'il est d‚j… rendu … la premiŠre fenˆtre, il passe … la dernier. Cette
op‚ration n'est valable qu'avec 2 fenˆtres minimum.
}
Procedure PreviousWindow;Far;Begin
HPrevious(Windows);
SetMnuSwitch;
ClrKbd;
End;
{ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÜ
³ Proc‚dure PrintDirectory Û
ÀÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÛ
Description
ÍÍÍÍÍÍÍÍÍÍÍ
Cette proc‚dure permet d'imprimer le contenu du r‚pertoire courant dans
la fenˆtre courant du gestion de fichiers.
}
Procedure PrintDirectory;Far;Begin
FMPrnDir(FileManagerApp(HPtr(Windows)^))
End;
{ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÜ
³ Proc‚dure RefreshWindow Û
ÀÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÛ
Description
ÍÍÍÍÍÍÍÍÍÍÍ
Cette proc‚dure permet de r‚actualiser l'affichage vid‚o de la fenˆtre
actuellement en usage. S'il n'y en pas d'ouverte, il r‚actualise tout
bonnement la toile de fond.
}
Procedure RefreshWindow;Begin
PutAppTitleBar;
PutToolBar;
PBLastLen:=$FFFF;
BarSpcHor(TaskBar.MaxX+1,YTaskMnu,MaxXTxts,CurrKrs.Menu.Normal);
PutBarStatusMemory;
HRefresh(Windows);
End;
{ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÜ
³ Proc‚dure Right Û
ÀÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÛ
Description
ÍÍÍÍÍÍÍÍÍÍÍ
Cette proc‚dure permet d'effectuer un mouvement vers la droite dans une
fenˆtre supportant cette option.
}
Procedure Right;Far;Begin
Case HModel(Windows)of
wnEdit:TEkRight(EditorApp(HPtr(Windows)^));
End;
End;
{ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÜ
³ Proc‚dure Save Û
ÀÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÛ
Description
ÍÍÍÍÍÍÍÍÍÍÍ
Cette proc‚dure permet de sauvegarder les donn‚es contenus dans la
fenˆtre courante sous son nom actuel. S'il n'a pas de nom, il demande
… l'utilisateur de lui en trouver un.
Remarque
ÍÍÍÍÍÍÍÍ
þ Cette proc‚dure se permet de faire une mise … jour du journal de
bord lors d'une sauvegarde r‚ussi.
}
Procedure Save;Begin
HSave(Windows);
If(HModel(Windows)=wnEdit)Then Begin
WriteLog('Sauvegarde '+EditorApp(HPtr(Windows)^).EditName+' taille actuel: '+
CStr(EditorApp(HPtr(Windows)^).FileSize)+' octet(s)');
End;
End;
{ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÜ
³ Proc‚dure SetupDirectory Û
ÀÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÛ
Description
ÍÍÍÍÍÍÍÍÍÍÍ
Cette proc‚dure permet de faire une mise … jour des r‚pertoires
actuellement en usage dans l'environnement du programme.
}
Procedure SetupDirectory;Far;Begin
If(SetupDir)Then SaveIni;
End;
Procedure StopPlayMod;Begin
End;
{ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÜ
³ Proc‚dure TextBold Û
ÀÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÛ
Description
ÍÍÍÍÍÍÍÍÍÍÍ
Cette proc‚dure permet de changer le format d'attribut des prochains
caractŠres en mode gras devant ˆtre ‚crit dans le traŒtement de texte.
}
Procedure TextBold;Far;Begin
TextAttrTxt(cgBold)
End;
{ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÜ
³ Proc‚dure TextBoldWord Û
ÀÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÛ
Description
ÍÍÍÍÍÍÍÍÍÍÍ
Cette proc‚dure permet de fixer l'attribut du mot actuel dans la fenˆtre
actuellement en utilisation en mode gras. Si la fenˆtre ne supporte pas
cette option, il ne fait rien.
}
Procedure TextBoldWord;Far;Begin
Case HModel(Windows)of
wnEdit:TEBoldWord(EditorApp(HPtr(Windows)^));
wnCDPlayer:CDStop(CDPlayer(HPtr(Windows)^));
End;
End;
{ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÜ
³ Proc‚dure TextDouble Û
ÀÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÛ
Description
ÍÍÍÍÍÍÍÍÍÍÍ
Cette proc‚dure permet de changer le format d'attribut des prochains
caractŠres en mode double largeur devant ˆtre ‚crit dans le traŒtement
de texte.
}
Procedure TextDouble;Far;Begin
TextAttrTxt(cgDouble)
End;
{ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÜ
³ Proc‚dure TextDoubleWord Û
ÀÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÛ
Description
ÍÍÍÍÍÍÍÍÍÍÍ
Cette proc‚dure permet de fixer l'attribut du mot actuel dans la fenˆtre
actuellement en utilisation en mode double largeur. Si la fenˆtre ne
supporte pas cette option, il ne fait rien.
}
Procedure TextDoubleWord;Far;Begin
Case HModel(Windows)of
wnEdit:TEDoubleWord(EditorApp(HPtr(Windows)^));
wnCDPlayer:CDPlayPause(CDPlayer(HPtr(Windows)^));
End;
End;
{ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÜ
³ Proc‚dure TextExposantWord Û
ÀÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÛ
Description
ÍÍÍÍÍÍÍÍÍÍÍ
Cette proc‚dure permet de fixer l'attribut du mot actuel dans la fenˆtre
actuellement en utilisation en mode exposant. Si la fenˆtre ne supporte
pas cette option, il ne fait rien.
}
Procedure TextExposantWord;Far;Begin
If(HModel(Windows)=wnEdit)Then TEExposantWord(EditorApp(HPtr(Windows)^))
End;
{ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÜ
³ Proc‚dure TextInverse Û
ÀÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÛ
Description
ÍÍÍÍÍÍÍÍÍÍÍ
Cette proc‚dure permet de changer le format d'attribut des prochains
caractŠres en mode inverse devant ˆtre ‚crit dans le traŒtement de
texte.
}
Procedure TextInverse;Far;Begin
TextAttrTxt(cgInverse)
End;
{ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÜ
³ Proc‚dure TextInverseWord Û
ÀÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÛ
Description
ÍÍÍÍÍÍÍÍÍÍÍ
Cette proc‚dure permet de fixer l'attribut du mot actuel dans la fenˆtre
actuellement en utilisation en mode inverse. Si la fenˆtre ne supporte
pas cette option, qu'il est dans une fenˆtre de gestionnaire de fichier,
il inverse les deux tableaux. S'il ne s'agit pas de l'un des deux premier
cas, alors il ne fait strictement rien.
}
Procedure TextInverseWord;Far;Begin
Case HModel(Windows)of
wnEdit:TEInverseWord(EditorApp(HPtr(Windows)^));
wnFileManager:FMOldOtherBoard(FileManagerApp(HPtr(Windows)^));
End;
End;
{ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÜ
³ Proc‚dure TextItalic Û
ÀÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÛ
Description
ÍÍÍÍÍÍÍÍÍÍÍ
Cette proc‚dure permet de changer le format d'attribut des prochains
caractŠres en mode italique devant ˆtre ‚crit dans le traŒtement de
texte.
}
Procedure TextItalic;Far;Begin
TextAttrTxt(cgItalic)
End;
{ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÜ
³ Proc‚dure TextItalicWord Û
ÀÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÛ
Description
ÍÍÍÍÍÍÍÍÍÍÍ
Cette proc‚dure permet de fixer l'attribut du mot actuel dans la fenˆtre
actuellement en utilisation en mode italique. Si la fenˆtre ne supporte
pas cette option, il ne fait rien.
}
Procedure TextItalicWord;Begin
If(HModel(Windows)=wnEdit)Then TEItalicWord(EditorApp(HPtr(Windows)^))
End;
{ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÜ
³ Proc‚dure TextMode Û
ÀÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÛ
Description
ÍÍÍÍÍÍÍÍÍÍÍ
Cette proc‚dure permet de fixer le mode de travail d'une image …
l'utilisation de texte. Il faut bien entendu que la fenˆtre supporte
cette option.
}
Procedure TextMode;Far;Begin
SetDrawMode(drwText)
End;
{ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÜ
³ Proc‚dure TextNormalWord Û
ÀÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÛ
Description
ÍÍÍÍÍÍÍÍÍÍÍ
Cette proc‚dure permet de fixer l'attribut du mot actuel dans la fenˆtre
actuellement en utilisation en mode normal. Si la fenˆtre ne supporte pas
cette option, il ne fait rien.
}
Procedure TextNormalWord;Far;Begin
Case HModel(Windows)of
wnEdit:TENormalWord(EditorApp(HPtr(Windows)^));
{$IFDEF Games}
wnTetris:TetrisSetLevel(TetrisGame(HPtr(Windows)^));
{$ENDIF}
End;
End;
{ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÜ
³ Proc‚dure TextUnderline Û
ÀÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÛ
Description
ÍÍÍÍÍÍÍÍÍÍÍ
Cette proc‚dure permet de changer le format d'attribut des prochains
caractŠres en mode soulignement devant ˆtre ‚crit dans le traŒtement
de texte.
}
Procedure TextUnderline;Far;Begin
TextAttrTxt(cgUnderline)
End;
{ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÜ
³ Proc‚dure TextUnderlineWord Û
ÀÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÛ
Description
ÍÍÍÍÍÍÍÍÍÍÍ
Cette proc‚dure permet de fixer l'attribut du mot actuel dans la fenˆtre
actuellement en utilisation en mode soulignement. Si la fenˆtre ne
supporte pas cette option, il ne fait rien.
}
Procedure TextUnderlineWord;Far;Begin
Case HModel(Windows)of
wnEdit:TEUnderlineWord(EditorApp(HPtr(Windows)^));
wnFileManager:FMInverseBoard(FileManagerApp(HPtr(Windows)^));
wnSuperCalc:SCUnderline(SuperCalcApp(HPtr(Windows)^));
End;
End;
{ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÜ
³ Proc‚dure TraceMode Û
ÀÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÛ
Description
ÍÍÍÍÍÍÍÍÍÍÍ
Cette proc‚dure permet de fixer le mode tra‡age pour les fenˆtres
traŒtant des images graphiques.
}
Procedure TraceMode;Far;Begin
SetDrawMode(drwTrace)
End;
{ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÜ
³ Proc‚dure Up Û
ÀÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÛ
Description
ÍÍÍÍÍÍÍÍÍÍÍ
Cette proc‚dure permet de monter le pointeur vers le haut de la fenˆtre.
C'est en fonction du style de fenˆtre...
}
Procedure Up;Far;Begin
If(HModel(Windows)=wnEdit)Then Begin
TEkUp(EditorApp(HPtr(Windows)^))
End;
End;
{ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÜ
³ Proc‚dure Up2 Û
ÀÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÛ
Description
ÍÍÍÍÍÍÍÍÍÍÍ
Cette proc‚dure permet de monter le pointeur vers le haut de la fenˆtre.
C'est op‚ration est effectue 2 fois. C'est en fonction du style de
fenˆtre...
}
Procedure Up2;Far;Begin
Up;
Up;
End;
{ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÜ
³ Proc‚dure Terminate Û
ÀÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÛ
Description
ÍÍÍÍÍÍÍÍÍÍÍ
Cette proc‚dure fait simplement fixer la variable d'autorisation de
quitter l'application ®MonsterBook¯/®PowerHacken¯. Elle n'entraŒne pas
le d‚part imm‚diat, mais est normalement intercept‚e plus loin pour un
avis usager: ®SouhaŒtez-vous quitter?¯.
}
Procedure Terminate;Begin
Application.Terminated:=True;
End;
{ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÜ
³ Fonction RunFunc Û
ÀÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÜÛ
Description
ÍÍÍÍÍÍÍÍÍÍÍ