.topic 501 aaa - ASCII adjust AL after addition aad - ASCII adjust AX before division aam - ASCII adjust AX after multiplication aas - ASCII adjust AX after substraction .topic 502 adc - Add with carry add - Add .topic 503 align - Allows re-alignment of Data .topic 504 and - Logical AND .topic 505 arpl - Adjust RPL field of selector .topic 506 bound - Check Array Index against Bounds .topic 507 bsf - Bit scan forward bsr - Bit scan reverse .topic 508 Bswap - Byte swap .topic 509 bt - Bit test btc - Bit test and complement btr - Bit test and reset bts - Bit test and set .topic 510 call - Call [procedure] scall - A GB specific call instruction. Rather than using ‘call address’ a GB library function is called using ‘scall libname’. The compiler replaces the instruction with ‘call address’. .topic 511 cbw - Convert Byte to Word cdq - Convert double-word to quad-word cwd - Convert word to double-word (sign extends AX to DX:AX) cwde - Convert word to double-word (sign extends AX to EAX) .topic 512 clc - Clear Carry Flag cld - Clear Direction Flag cli - Clear Interrupt Flag clts - Clear task-switched flag in register CR0 cmc - Complement Carry Flag stc - Set Carry Flag std - Set Direction Flag sti - Set Interrupt Flag .topic 513 cMOVa - Conditional move cMOVae - cMOVb - cMOVbe - cMOVc - cMOVe - cMOVg - cMOVge - cMOVl - cMOVle - cMOVna - cMOVnae - cMOVnb - cMOVnbe - cMOVnc - cMOVne - cMOVng - cMOVnge - cMOVnl - cMOVnle - cMOVno - cMOVnp - cMOVns - cMOVnz - cMOVo - cMOVp - cMOVpe - cMOVpo - cMOVs - cMOVz - .topic 514 cmp - Compare Operands cmps - Compare String (Byte, word or double-word) cmpsb - Compare Bytes in Memory cmpsd - Compare String double-word cmpsw - Compare Words Cmpxchg - Atomic compare and exchange CMpxchg8b - Compare and exchange 8 bytes .topic 515 CPuid - CPU Identification .topic 516 daa - Decimal Adjust AL after Addition das - Decimal Adjust AL after subtraction .topic 517 dec - Decrement by one .topic 518 div - Unsigned Division .topic 519 dl - The low byte of part of the edx register .topic 520 ds - The data segment register .topic 521 db - Declare Byte dd - Declare Double-word dq - Declare Quad-word dw - Declare Word .topic 522 EMMS - Empty MMX State .topic 523 enter - Enter Stack Frame .topic 524 f2xm1 - Calculate 2**X-1 .topic 525 fabs - Floating-point Absolute Value .topic 526 fadd - Floating-point Addition faddp - Floating-point Addition .topic 527 fbld - BCD Floating-point Load and Store fbstp - BCD Floating-point Load and Store .topic 528 fchs - Floating-point Change Sign .topic 529 fclex - Clear Floating-point Exceptions fnclex - Clear Floating-point Exceptions .topic 530 fCMOVB - Floating-point Conditional Move fCMOVBE - Floating-point Conditional Move fCMOVE - Floating-point Conditional Move fCMOVNB - Floating-point Conditional Move fCMOVNBE - Floating-point Conditional Move fCMOVNE - Floating-point Conditional Move fCMOVNU - Floating-point Conditional Move fCMOVU - Floating-point Conditional Move .topic 531 fcom - Floating-point Compare fCOMI - Floating-point Compare fCOMIP - Floating-point Compare fcomp - Floating-point Compare fcompp - Floating-point Compare .topic 532 fcos - Cosine fpatan - Floating-point Arctangent fptan - Floating-point Tangent fsin - Sine fsincos - Sine & Cosine .topic 533 fdecstp - Decrement Floating-point Stack Pointer .topic 534 fdisi - Disable Floating-point Interrupts (FNDISI not supported) feni - Enable Floating-point Interrupts (FNENI not supported) .topic 535 fdiv - Floating-point Division fdivp - Floating-point Division fdivr - Floating-point Division fdivrp - Floating-point Division .topic 536 ffree - Flag Floating-point Register as Unused .topic 537 fiadd - Floating-point/Integer Addition .topic 538 ficom - Floating-point/Integer Compare ficomp - Floating-point/Integer Compare .topic 539 fidiv - Floating-point/Integer Division fidivr - Floating-point/Integer Division .topic 540 fild - Floating-point/Integer Conversion fist - Floating-point/Integer Conversion fistp - Floating-point/Integer Conversion .topic 541 fimul - Floating-point/Integer Multiplication .topic 542 fincstp - Increment Floating-point Stack Pointer .topic 543 finit - Initialise Floating-point Unit fninit - Initialise Floating-point Unit .topic 544 fisub - Floating-point/Integer Subtraction fisubr - Floating-point/Integer Subtraction .topic 545 fld - Floating-point Load fld1 - Floating-point Load Constants fldl2e - Floating-point Load Constants fldl2t - Floating-point Load Constants fldlg2 - Floating-point Load Constants fldln2 - Floating-point Load Constants fldpi - Floating-point Load Constants fldz - Floating-point Load Constants .topic 546 fldcw - Load Floating-point Control Word .topic 547 fldenv - Load Floating-point Environment .topic 548 fmul - Floating-point Multiplication fmulp - Floating-point Multiplication .topic 549 fnop - Floating-point No Operation .topic 550 fprem - Floating-point Partial Remainder fprem1 - Floating-point Partial Remainder .topic 551 frndint - Floating-point Round to Integer .topic 552 fnsave - Save Floating-point State frstor - Restore Floating-point State fsave - Save Floating-point State .topic 553 fscale - Scale Floating-point Value by Power of Two .topic 554 fsetpm - Set Protected Mode .topic 555 fsqrt - Floating-point Square Root .topic 556 fnstcw - Store Floating-point Control Word fnstenv - Store Floating-point Environment fnstsw - Store Floating-point Status Word fst - Floating-point Store fstcw - Store Floating-point Control Word fstenv - Store Floating-point Environment fstp - Floating-point Store fstsw - Store Floating-point Status Word .topic 557 fsub - Floating-point Subtraction fsubp - Floating-point Subtraction fsubr - Floating-point Subtraction fsubrp - Floating-point Subtraction .topic 558 ftst - Test ST0 Against Zero .topic 559 fucom - Floating-point Unordered Compare (FUCOMI & FUCOMIP not supported) fucomp - Floating-point Unordered Compare fucompp - Floating-point Unordered Compare .topic 560 fxam - Examine Class of Value in ST0 .topic 561 fxch - Floating-point Exchange .topic 562 fxtract - Extract Exponent and Significand .topic 563 fyl2x - Compute Y times Log2(X) fyl2xp1 - Compute Y times Log2(X+1) .topic 564 hlt - Enter Halt State .topic 565 idiv - Signed Division .topic 566 imul - Signed Multiplication .topic 567 in - Input from Port ins - Input from Port to String insb - Input from port to String Byte insd - Input from port to string Double-word insw - Input from port to String Word .topic 568 inc - Increment by one .topic 569 iCEBP - In-circuit Emulator Breakpoint int - Call to Interrupt into - Call to Interrupt if Overflow .topic 570 Invd - Invalidate internal caches Invlpg - Invalidate TLB entry Wbinvd - Write Back and Invalidate Cache .topic 571 iret - Return from Interrupt Also IRETx: x = D means return 32-bit; x= F means do not generate epilogue code .topic 572 ja - Jump if Above (Unsigned) jae - Jump if Above or Equal (Unsigned) jb - Jump if Below (Unsigned) jbe - Jump if Below or Equal (Unsigned) jc - Jump if Carry Flag Set jcxz - Jump if CX is Zero jcxzd - je - Jump if Equal jecxz - Jump if ECX is Zero jg - Jump if Greater Than (Signed) jge - Jump if Greater Than or Equal (Signed) jl - Jump if Less Than (Signed) jle - Jump if Less Than or Equal (Signed) jmp - Unconditional Jump jna - Jump if not Above (Unsigned) jnae - Jump if not Above or Equal(Unsigned) jnb - Jump if not Below (Unsigned) jnbe - Jump if not Below or Equal (Unsigned) jnc - Jump if Carry Flag is not set jne - Jump if not Equal jng - Jump if not Greater Than (Signed) jnge - Jump if not Greater Than or Equal (Signed) jnl - Jump if not Less Than (Signed) jnle - Jump if not Less Than or Equal (Signed) jno - Jump if no Overflow jnp - Jump if no Parity (Parity Odd) jns - Jump if not Negative jnz - Jump if not Zero jo - Jump if Overflow jp - Jump if Parity (Parity Even) jpe - Jump if Parity Even jpo - Jump if Parity Odd js - Jump if Negative jz - Jump if Zero .topic 573 lahf - Loads Flags in AH Register sahf - Store AH into Flags .topic 574 lar - Load access rights byte .topic 575 lds - Load Pointer using DS les - Load pointer using ES lfs - Load pointer using FS lgs - Load pointer using GS lss - Load stack segment .topic 576 lea - Load Effective Address .topic 577 leave - Leave/Destroy Stack Frame .topic 578 lgdt - Load global descriptor table lidt - Load interrupt descriptor table lldt - Load local descriptor table sgdt - Store global descriptor table sidt - Store interrupt descriptor table sldt - Store local descriptor table .topic 579 lmsw - Load machine status word smsw - Store machine status word .topic 580 lock - Assert BUS LOCK# signal .topic 581 lods - Load String (Byte, word or double-word) lodsb - Load String Byte lodsd - Load string double-word lodsw - Load String Word .topic 582 loop - Loop Control loopd - loopde - loopdne - loopdnz - loopdz - loope - Loop if Equal looped - loopew - loopne - Loop if Not Equal loopned - loopnew - loopnz - Loop if Not Zero loopnzd - loopnzw - loopw - loopwe - loopwne - loopwnz - loopwz - loopz - Loop if Zero loopzd - loopzw - .topic 583 lsl - Load segment limit .topic 584 ltr - Load task register .topic 585 mov - Move movb - Move MOVD - Move movl - Move MOVQ - Move movs - Move String (Byte or word) movsb - Move Byte from String to String movsd - Move string double-word movsw - Move Word from String to String movsx - Move with sign-extension movsxb - movsxw - movw - movzx - Move with zero-extension movzxb - movzxw - .topic 586 mul - Unsigned Multiplication .topic 587 neg - Two’s Complement Negation .topic 588 nop - No Operation .topic 589 not - Logical NOT .topic 590 or - Bitwise OR .topic 591 out - Output to Port outs - Output String to Port outsb - Output Byte-sized String to Port outsd - Output Double-word-sized String to Port outsw - Output Word-sized String to Port .topic 592 PACKSSDW - Pack Data PACKSSWB - Pack Data PACKUSWB - Pack Data .topic 593 PADDB - Add Packed Integers PADDD - Add Packed Integers PADDSB - Add Packed Signed Integers with Saturation PADDSW - Add Packed Signed Integers with Saturation PADDUSB - Add Packed Unsigned Integers with Saturation PADDUSW - Add Packed Unsigned Integers with Saturation PADDW - Add Packed Integers .topic 594 PAND - Packed Integer Bitwise AND .topic 595 PANDN - Packed Integer Bitwise AND-NOT .topic 596 PCMPEQB - Compare Packed Integers PCMPEQD - Compare Packed Integers PCMPEQW - Compare Packed Integers PCMPGTB - Compare Packed Integers PCMPGTD - Compare Packed Integers PCMPGTW - Compare Packed Integers .topic 597 PMADDWD - Packed Integer Multiply and Add .topic 598 PMULHW - Multiply Packed 16-bit Integers and Store PMULLW - Multiply Packed 16-bit Integers and Store .topic 599 pop - Pop Data from Stack popa - Pop All General Purpose Registers from Stack popad - Pop all double-word (32-bit) registers from stack popf - Pop Data from Flags Register popfd - Pop data from EFLAGS register popw - .topic 600 POR - Packed Data Bitwise OR .topic 601 PSLLD - Packed Data Bit Shift Left Logical PSLLQ - Packed Data Bit Shift Left Logical PSLLW - Packed Data Bit Shift Left Logical .topic 602 PSRAD - Packed Data Bit Shift Right Arithmetic PSRAW - Packed Data Bit Shift Right Arithmetic .topic 603 PSRLD - Packed Data Bit Shift Right Logical PSRLQ - Packed Data Bit Shift Right Logical PSRLW - Packed Data Bit Shift Right Logical .topic 604 PSUBB - Subtract Packed Integers PSUBD - Subtract Packed Integers PSUBSB - Subtract Packed Integers with Saturation PSUBSW - Subtract Packed Integers with Saturation PSUBUSB - Subtract Packed Integers with Saturation PSUBUSW - Subtract Packed Integers with Saturation PSUBW - Subtract Packed Integers .topic 605 PUNPCKHBW - Unpack and Interleave Data PUNPCKHDQ - Unpack and Interleave Data PUNPCKHWD - Unpack and Interleave Data PUNPCKLBW - Unpack and Interleave Data PUNPCKLDQ - Unpack and Interleave Data PUNPCKLWD - Unpack and Interleave Data .topic 606 push - Push Data onto Stack pusha - Push All General Purpose Registers onto Stack pushad - Push all double-word (32-bit) registers onto stack pushf - Push Flags onto Stack pushfd - Push EFLAGS register onto stack pushw - .topic 607 PXOR - Packed Data Bitwise XOR .topic 608 rcl - Rotate Left (with Carry) .topic 609 rcr - Rotate Right (with Carry) .topic 610 RDmsr - Read from Model-specific register WRmsr - Write to Model Specific Register .topic 611 rDPMC - Read the Performance Monitoring Counter .topic 612 RDtsc - Read Time Stamp Counter .topic 613 rep - Repeat repe - Repeat if Equal repne - Repeat if Not Equal .topic 614 ret - Return from Procedure retf - Return from Far Procedure retn - Return from Near Procedure .topic 615 rol - Rotate Left .topic 616 ror - Rotate Right .topic 617 RSm - Resume from System Management Mode .topic 618 sal - Shift Arithmetically Left (signed shift left) .topic 619 SalC - Set AL from Carry Flag .topic 620 sar - Shift Arithmetically Right (signed shift right) .topic 621 scas - Scan string data scasb - Scan string data byte scasd - Scan string data double-word scasw - Scan string data string .topic 622 seta - Set byte to one if condition true, else zero setae - setb - setbe - setc - sete - setg - setge - setl - setle - setna - setnae - setnb - setnbe - setnc - setne - setng - setnge - setnl - setnle - setno - setnp - setns - setnz - seto - setp - setpe - setpo - sets - setz - .topic 623 shl - Shift Left (unsigned shift left) shld - Shift left double-word .topic 624 shr - Shift Right (unsigned shift right) shrd - Shift right double-word .topic 625 stos - Store String stosb - Store Byte in String stosd - Store string double-word stosw - Store Word in String .topic 626 str - Store task register .topic 627 sbb - Subtraction with Borrow sub - Subtraction .topic 628 sYSCALL - Call Operating System sYSRET - Return from Operating System .topic 629 test - Test Bits (Bitwise AND) .topic 630 verr - Verify a segment for reading verw - Verify a segment for writing .topic 631 fwait - Wait for Floating-point Processor wait - Wait until not Busy .topic 632 Xadd - Exchange and Add .topic 633 xchg - Exchange Data .topic 634 xlat - Table Look-up Translation xlatb - Translate Byte in Lookup Table .topic 635 xor - Exclusive OR .topic 1000 Log Calculate natural logarithm .topic 1001 Log2 Calculate base-2 logarithm .topic 1002 Log10 Calculate base-10 logarithm .topic 1003 Exp Calculate exponential function .topic 1004 Exp2 Calculate base-2 exponential function: Exp2(x) = 2x = 2^ x .topic 1005 Exp10 Calculate base-10 exponential function: Exp10(x) = 10x = 10 ^ x .topic 1006 Sin Calculate sine (degrees) .topic 1007 Asin Calculate the reverse of sine .topic 1008 SinH Calculate hyperbolic sine .topic 1009 ArSinH Calculate area hyperbolic sine .topic 1010 Cos Calculate cosine (degrees) .topic 1011 ACos Calculate the reverse of cosine .topic 1012 CosH Calculate hyperbolic cosine .topic 1013 ArCosH Calculate area hyperbolic cosine .topic 1014 Tan Calculate tangent (degrees) .topic 1015 Atn (or ATan) Calculate the reverse of tangent .topic 1016 TanH Calculate area hyperbolic tangent .topic 1017 ArTanH Calculate area hyperbolic tangent .topic 1018 Fact(n) = n * (n-1) * (n-2) * ... * 1 .topic 1019 Combin(n, k) = Fact(n) / Fact(n - k) / Fact(k) .topic 1020 Permut(n, k) = Fact(n) / Fact(k) .topic 1021 Variat(n, k) = Fact(n) / Fact(k) .topic 1022 Atan2(x,y) Conversion: coordinate -> degrees, like Atn(x / y), but without division error when y = 0 .topic 1023 Calculate hypotenuse of right triangle: _Hypot(x, y) = Sqr(x * x + y * y) .topic 1024 Sqr Find square root .topic 1025 Sqrt Find square root .topic 1026 Scale argument by power of 2. Square(x) = x * x = x ^ 2 = x2 .topic 1027 Calculate value raised to a power. Pow(x, y) = x ^ y = xy .topic 1028 Constant PI = 3.1415... .topic 1029 Conversion: Deg(x) = x * 180 / Pi .topic 1030 Conversion degress -> rad: Rad(x) = x * Pi / 180 .topic 1031 SinQ(x) = Sin(Rad(x)) .topic 1032 CosQ(x) = Cos(Rad(x)) .topic 1033 binary And .topic 1034 binary Or, | .topic 1035 binary exclusive Or .topic 1036 binary implication .topic 1037 binary equivalence .topic 1038 Logical And .topic 1039 Logical Or .topic 1040 Logical exclusive Or .topic 1041 Logical implication .topic 1042 Logical equivalence .topic 1043 nearly equal (compare with single) .topic 1044 Equivalent .topic 1045 Not equal .topic 1046 Greater than .topic 1047 Greater or equal .topic 1048 Less than .topic 1049 Less than or equal .topic 1050 Integer Addition .topic 1051 Integer Subtraction .topic 1052 Integer Multiplikation .topic 1053 Integer Modulo .topic 1054 Integer Division .topic 1055 Integer Addition (8 Byte, 64 Bit, Large) .topic 1056 Integer Subtraction (8 Byte, 64 Bit, Large) .topic 1057 Integer Multiplikation (8 Byte, 64 Bit, Large) .topic 1058 Integer Modulo (8 Byte, 64 Bit, Large) .topic 1059 Integer Division (8 Byte, 64 Bit, Large) .topic 1060 binairy And (8 Byte, 64 Bit, Large) .topic 1061 binary Or (8 Byte, 64 Bit, Large) .topic 1062 binary exclusive Or (8 Byte, 64 Bit, Large) .topic 1063 binary implication (8 Byte, 64 Bit, Large) .topic 1064 binary equivalence (8 Byte, 64 Bit, Large) .topic 1065 Constant 2.22044604925031e-016 Smallest difference to 1.0, Double .topic 1066 Constant 1e-014 Approx 15 , Double .topic 1067 Constant 1.192093e-007! Smallest Difference to 1.0! bei Single .topic 1068 Constant 1e-006! Approx 7 , Single .topic 1069 Constant 0 .topic 1070 Constant 922337203685477.5807@ Largest value for Currency .topic 1071 Constant 1.79769313486232e+308 Largest value for Double .topic 1072 Constant 2147483647 Largest value for Integer = Long .topic 1073 Constant 9223372036854775807 Largest value for Large = Int64 .topic 1074 Constant 3.402823e+038! Largest value for Single .topic 1075 Constant -922337203685477.5808@ Smallest value for Currency .topic 1076 Constant -1.79769313486232e+308 Smallest value for Double .topic 1077 Constant -2147483648 Smallest value for Integer = Long .topic 1078 Constant -9223372036854775808 Smallest value for Large = Int64 .topic 1079 Constant -3.402823e+038! Smallest value for Single .topic 1080 Constant Handle or Variant undefined. .topic 1081 Constant 2.22507858072e-308 Smallest Double value. .topic 1082 Constant 2.350989e-038 Smallest Single value .topic 1083 Constant 4.94065645841247e-324 Smallest Double value not Null. .topic 1084 Constant 1.401298e-045 Smallest Single value and not 0l. .topic 1085 Constant -1 .topic 1086 Using[$](formatString, exp [,exp..]) Returns a String containing an expression formatted according to instructions contained in a format expression. .topic 1087 Format[$](exp [, formatString]) Returns a String containing an expression formatted according to instructions contained in a format expression. .topic 1088 Print ... writes variable contents formatted as a string. Print # fileno .... writes variable contents formatted as a string to a file. .topic 1089 Absolute value >= 0 .topic 1090 -1, 0, +1 .topic 1091 VarType(...) Returns the data type of an expression. basEmpty=0, not initialized, empty Variant basNull=1, Variant with Null basShort=2, 16 Bit Integer (in VB vbInteger) basLong=3, Integer, Long, %, 32 Bit basInt=3, Integer, Long, %, 32 Bit basSingle=4, floating-point, single basDouble=5, floating-point, double basCurrency=6, Currency basDate=7, date and time basVString = 8, String in Variant basObject=9, Object, (see also TypeName()) basError=10, Error basBoolean=11, Boolean (True/False) basVariant=12,V ariant (in Array()) basByte=17, Byte basCard=18 Integer, unsigned, 16 bit basLarge=20, Large, 64 Bit Integer basType=251 user-defined type basHash=252 Hash[] basFixedStr=253 String fixed length basUnknown=254, ??? basString=255, String ($), not in a Variant basArray=8192, Variant with Array() .topic 1092 Conversion to Integer=Long; rounds to the next whole number. (Strings: OLE = according regional settings) .topic 1093 _j0(x) Bessel function of the first kind: order 0. The Bessel functions are commonly used in the mathematics of electromagnetic wave theory. .topic 1094 _j1(x) Bessel function of the first kind: order 1. The Bessel functions are commonly used in the mathematics of electromagnetic wave theory. .topic 1095 _jn(x, n) Bessel function of the first kind: order n. The Bessel functions are commonly used in the mathematics of electromagnetic wave theory. .topic 1096 _y0(x) Bessel function of the second kind: order 0. The Bessel functions are commonly used in the mathematics of electromagnetic wave theory. .topic 1097 _y1(x) Bessel function of the second kind: order 1. The Bessel functions are commonly used in the mathematics of electromagnetic wave theory. .topic 1098 _yn(x, n) Bessel function of the second kind: order n. The Bessel functions are commonly used in the mathematics of electromagnetic wave theory. .topic 1099 Iif(test, expTrue, expFalse) Returns one of two parts, depending on the evaluation test. Alternative: exp ? expTrue : expFalse .topic 1100 Choose(Index, exp0, exp1 ... expn) Choose returns a value from the list of choices based on the value of index. If index is 1, Choose returns the first choice in the list; if index is 2, it returns the second choice, and so on. .topic 1101 Returns next smallest whole number. .topic 1102 Returns the next smallest whole number. .topic 1103 Returns the next highest whole number. .topic 1104 Returns the whole number part of a value. .topic 1105 Returns the whole number part. .topic 1106 Returns the part after the comma. .topic 1107 Returns the mantisse of a floating-point value, 0.5 <= Abs(Mant(x)) < 1 or 0 LdExp(Mant(x), GetExp(x)) == x .topic 1108 GetExp GetExp() determines the exponent of the base of two. It is part of a set of three functions, GetExp(), LdExp() and Mant(), that break down a floating-point value. .topic 1109 LdExp(mant, ex) Calculates product of argument and 2 to specified power .topic 1110 Conversion to Byte = 8 Bit unsigned; rounds to the next whole number. ( Strings: OLE = according regional settings) .topic 1111 Conversion to Short = 16 Bit signed; rounds to the next whole number. ( Strings: OLE=according regional settings) .topic 1112 Conversion to Currency. (Strings: OLE=according regional settings) .topic 1113 Conversion to Large = Int64; rounds to the next whole number. For Strings or Variant-Strings according regional settings using an OLE-Val-Routine. However, OLE- does not support 64-bit integers. Internal cLarge(cDbl(x)). .topic 1114 Conversion to Double. For Strings or Variant-Strings according regional settings using OLE-Val-Routine (Deutsch: cDbl("1,000.24") = 1000.24, US: cDbl("1,000.24") = Error), Val does ot dependi on regional settings. .topic 1115 Conversion to Single, error with ovweflow. For Strings or Variant-Strings according regional settingsen (Deutsch: cSng("1,000.24") = 1000.24!, US: cDbl("1,000.24") = Error), Val does not depend on regional settings. .topic 1116 Conversion to Date, for Strings or Variant-Strings according regional settings using an OLE-DateVal-Routine (Deutsch: cDate("24.12.96") = #24.12.96#, US: cDate("12/2/96") = #24.12.96#), Val ( #..#) does not depend on regional settings. .topic 1117 Conversion to Variant (for Strings: 8-Bit ANSI to 16 Bit Unicode) .topic 1118 Conversion to String, OLE=according regional settings, cStr(1000.24) returns (Deutsch) "1000,24", Str(1000.24) always "1000.24". .topic 1119 As cSng, Conversion to Single. .topic 1120 Conversion to Integer=Long. RZ = Rounding towards zero, cInt rounds to the next whole number. ( Strings: OLE=according regional settings) .topic 1121 Conversion to Byte = 8 Bit unsigned. RZ = Rounding towards zero, cByte rounds to the next whole number. (Strings: OLE=according regional settings) .topic 1122 Conversion to Short = 16 Bit signed. RZ = Rounding towards zero, cShort rounds to the next whole number. ( Strings: OLE=according regional settings) .topic 1123 Conversion to Large = Int64. RZ = Rounding towards zero; cLarge rounds to the next whole number. For Strings or Variant-Strings according regional settings using an OLE-Val-Routine. However, OLE- does not support 64-bit integers. Internal cLarge(cDbl(x)). .topic 1124 Conversion Integer to Handle. ( Strings: OLE=according regional settings) .topic 1125 Constant -1, Share is always available under Windows 95 and NT. .topic 1126 Scale(a, b, c) is an integer scaling function. The function multiplies two 32-bit values and then divides the 64-bit result by a third 32-bit value. The return value is NOT rounded up or down to the nearest integer. When the return value is not a 32-bit value (overflow) an error is reported. Is a little faster than MulDiv. .topic 1127 MulDiv(a, b, c) is an integer scaling function. The MulDiv function multiplies two 32-bit values and then divides the 64-bit result by a third 32-bit value. The return value is rounded up or down to the nearest integer. .topic 1128 Rounds a numeric expression (according to the IEEE standard). If n is equal to zero the rounding is performed to a whole number just like with Round(x [,n]). If n is positive, x is rounded off to n decimal places. If n is negative, the rounding is performed to the nearest multiple of 10, 100, 1000, etc. fRound(x, n) rounds off to n decimal places and is calculated as: (x * Exp10(n)) * Exp10(-n). .topic 1129 QRound(n) (Q = Quick) uses the 80x87 coprocessor instruction for rounding. QRound(n) rounds to the nearest integer value. When the distance is exact 0.5 (100.5) the next nearest even value is returned. Qround is not suitable for financial calculations. QRound( x, n) rounds the value x to n decimals and performs like Round. .topic 1130 Tests if a value is even .topic 1131 Tests if a value is odd .topic 1132 Btst(aInt, n) tests if bit number n (0..31) of an Integer is set .topic 1133 Bset(aInt, n) sets bit number n (0..31) of an Integer .topic 1134 Bchg(aInt, n) changes bit number n (0..31) of an Integer .topic 1135 Bclr(aInt, n) deletes bit number n (0..31) of an Integer .topic 1136 Btst8(aLarge, n) test if bit number n (0..63) of a Large is set .topic 1137 Bset8(aLarge, n) sets bit number n (0..63) of a Large .topic 1138 Bchg8(aLarge, n) changes bit number n (0..63) of a Large .topic 1139 Bclr8(aLarge, n) deletes bit number n (0..63) of a Large .topic 1140 Converts Integer to Byte = 8 Bit unsigned(0 ... 255), like And 255 LoByte and UByte are synonymous with Byte. .topic 1141 Converts Integer to Card = 16 Bit unsigned (0 ... 65535), like And 65535 LoCard, UShort and UWord are synonymous with Card. .topic 1142 Converts Integer to Short = 16 Bit signed (-32768 ... 32767) SWord, Word and LoWord are synonymous with Short. .topic 1143 Returns the bits 0 to 7 from an Integer, GetByte0(x) equals HiByte(Swap(x)) or (x Mod 256) or (x And 255) .topic 1144 Returns the bits 8 to 15 from an Integer: GetByte1(x) equals Byte(Swap(x)) or ((x \ 256) Mod 256) or ((x >> 8) And 255) GetBValue is synonymous and gets Blue Value of an RGB colour. .topic 1145 Returns the bits 16 to 23 from an Integer: GetByte2(x) equals HiByte(x) or ((x \ 65536) Mod 256) or ((x >> 16) And 255) GetGValue is synonymous and gets Green Value of an RGB colour. .topic 1146 Returns the bits 24 to 31 from an Integer: GetByte3(x) equals Byte(x) or ((x \ 16777216) Mod 256) or ((x >> 24) And 255) GetRValue is synonymous and gets Red Value of an RGB colour. .topic 1147 BoundW(iexp) and BoundWord(iexp) test if parameter iexp is a Word=Short (-32768 to 32767), Error otherwise. .topic 1148 BoundC(iexp) and BoundCard(iexp) tests if parameter iexp is a Card (0 to 65535), Error otherwise. .topic 1149 BoundB(iexp) and BoundByte(iexp) tests if parameter iexp is a Byte (0 to 255), otherwise Error. .topic 1150 Bound(iexp, xMin, xMax): test if parameter iexp is in the range xMin to xMax, Error otherwise. .topic 1151 Converts Integer to 8 Bit signed (-128 bis 127) .topic 1152 Returns the hi-byte form a Short, HiByte(x) equals Byte(x >> 8) or Byte(x \ 256) .topic 1153 Returns the hi-word from an Int = Long: HiWord(x) equals Word(x >> 16) or Word(x Div 65536) or Word(Swap(x)) .topic 1154 Returns the hi-card from an Int = Long: HiCard(x) equals Card(x >> 16) or ((x Div 65536) Mod 65536) or Card(Swap(x)) .topic 1155 Swaps the two 16 bit Words of an Int = Long: $12345678 -> $56781234 .topic 1156 Swaps the four bytes of an Integer: $12345678 -> $78563412 .topic 1157 Swaps two bytes of a Short: $1234 -> $3412, $0080 -> WORD($8000) = -32768 .topic 1158 Swaps three bytes in an Integer $123456 -> $00563412 .topic 1159 Swaps the eight bytes of a Large: $12345678aabbccdd -> $ddccbbaa78563412 .topic 1160 Mirrors 1 Int = 1 Long = 4 Byte = 32 Bit .topic 1161 Mirrors 1 Byte = 8 Bit .topic 1162 Mirrors 1 Short = 2 Byte = 16 Bit .topic 1163 Mirrors 3 Byte = 24 Bit .topic 1164 Mirrors 1 Large = 8 Byte = 64 Bit .topic 1165 Swaps the two integers of a Large = Int64: $12345678abcdffee -> $eeffabcd56781234 .topic 1166 HiLarge(l) Returns the hi-Int of a Large-Number. abcdef7812345678 -> $abcdef78 .topic 1167 LoLarge(l) Returns the low integer of a Large number. $abcdef6712345678 -> $12345678 .topic 1168 Combines two Shorts to an int = Long, hi value first .topic 1169 Combines two Shorts to an int = Long, lo value first .topic 1170 Combines two intgers to a Large, hi value first .topic 1171 Combines two integers to a Large, lower first .topic 1172 Combines two bytes (lo first) MakeL2L($12, $34) = $3412 .topic 1173 Combines two bytes (hi first) MakeL2H($12, $34) = $1234 .topic 1174 Combines three bytes (lo first) : like RGB()! MakeL3L($12, $23, $56) = $563412 .topic 1175 Combines three bytes (hi first) MakeL3H($12, $23, $56) = $123456 .topic 1176 Combines four bytes (lo first) MakeL4L($12, $23, $56, $78) = $78563412 .topic 1177 Combines four bytes (hi first) MakeL4H($12, $23, $56, $78) = $12345678 .topic 1178 RGB(red, green, blue) combines three bytes (0..255) to a colorvalue: RGB($rr, $gg, $bb) = $bbggrr. No overflow check, see _RGB. .topic 1179 Combines two bytes to a Short, hi value first .topic 1180 Combines two bytes to a Short, lo value first .topic 1181 Registernames for Call, GetRegs .topic 1182 Reads a Byte from a file (# n) or from a I/O-Port (Port $xxx) .topic 1183 Reads a 2-Byte Word from a file (# n) or from a I/O-Port (Port $xxx) .topic 1184 Reads a 4 Byte Int (Long) from a file (# n) or from a I/O-Port (Port $xxx) .topic 1185 Function for segemnts, for 16-Bit Windows .topic 1186 Segment dependent function .topic 1187 DFree(x) Returns free drive space (like Dfree("C:\") or "A:\"). .topic 1188 SysErr(errcode) returns the system error code description in a string, like SysErr(1004) or SysErr($8000400F). .topic 1189 WinDir$ returns the Windows directory (often "C:\windows"), without extra \ at the end. .topic 1190 SysDir$ returns the Windows system directory (often "C:\windows\system32"), without extra \ at the end. .topic 1191 CurDir$ returns the name of the currently active directory ChDir changes). Also CurDir(dummy) .topic 1192 TempDir$ returs the name of the TEMP directory. .topic 1193 Rnd (Double) generates a random number between 0 (inclusive) and 1 (exclusive). The parameter x is optional and has no effect. The result of Rnd is a Double. The result of Rnd! is a Single. Rnd(0) returns tha last random number, Rnd(positive Number) returns, like Rnd, a new random number. Rnd(negative number) returns always the same randomnumber and executes Randomize negative number. .topic 1194 Rnd! (Single) Generates a random number between 0 (inclusive) and 1 (exclusive). .topic 1195 _rand() returns a 32-bit integer pseudo randomnumber in the range of 0 to 32767. This is the 'C'-version of Rand(), a bit faster, but less random. Needs _srand(i) to randomize the generator, not Randomize. .topic 1196 _srand(Start%) initializes the _rand() random generator. .topic 1197 Random(limit#) returns a 32-bit integer random value. Random(limit#) = Trunc(Rnd * limit#) .topic 1198 Rand(limit%) returns a 32-bit integer pseudo randomnumber in the range of 0 to limit%-1, with Rand() between 0 and 32767. .topic 1199 Data type: % Integer, 32-Bit, -2147483648 to 2147483647 .topic 1200 Data type: & Short integer, 16-Bit signed (-32768..32767) .topic 1201 Data type: | 1 byte integer, 8-Bit unsigned (0..255) .topic 1202 Data type: Large Integer, 64-bit signed -9223372036854775808 to 9223372036854775807 .topic 1203 Data type: ! a single-precision, floating-point number in the range -3.402823E38 to -1.401298E-45 for negative values; 1.401298E-45 to 3.402823E38 for positive values. .topic 1204 Data type: # double-precision, floating-point number in the range -1.79769313486232E308 to -4.94065645841247E-324 for negative values; 4.94065645841247E-324 to 1.79769313486232E308 for positive values. .topic 1205 Data type: @ Currency = monetary, 19 positions, 4 decimal positions -922337203685477.5808 to 922337203685477.5807 .topic 1206 Data type: $ String = character string .topic 1207 Data type: Handle = long, 4 Byte integer, no arithmetic. .topic 1208 Data type: Date = Date/time #1.1.100# to #31.12.9999# .topic 1209 Data type: Short Integer, 16-Bit Unsigned (0..65535) .topic 1210 Data type: ? Boolean, contains either True (-1) or False (0) .topic 1211 Data type: Variant, general Variable .topic 1212 Data type: Object OLE-Handle (IDispatch Pointer) .topic 1213 Open a file: Open DateiName [for { Input | Output | Update | Binary | Random | Append } ] [Access { Read | Write| Read Write } ] [ { Shared | Lock Read| Lock Write| Lock Read Write } ] [ Commit ] [ Based {1|0} ] As #fileno [,Len = recordlength] .topic 1214 Open ... for Modus ... for Output opens file for write, existing file is deleted. for Input opens existing file for read for Binary opens file for read/write with Seek for Update like for Binary. for Random opens file for read/write (using Put, Get, Record). for Append opens file for write and positions filepointer at end of file. .topic 1215 Open ... for Output ... Opens a file for write, or creates a file if no file exists. An existing file is first deleted. .topic 1216 Open ... for Input ... Opens a file for read. File must exist. .topic 1217 Open ... for Update ... Opens a file for read and write, or creates a file if no file exists. An existing file is not first deleted. .topic 1218 Open ... for Append ... Opens a file for write, or creates a file. Sets the filepointer at the end of the file. .topic 1219 Open ... for Binary ... Opens a file for read and write, or creates a file if no file exists. An existing file is not first deleted. .topic 1220 Open ... for Random ... Opens a file for read and write, or creates a file. .topic 1221 Open ... Commit .... and Commit # n Commit determines that after each write action the data is written to disk immediately. .topic 1222 Open ... for Random.... Based {1|0} Random data file starting at specified record number. .topic 1223 Open ... Access {Read|Write|Read Write} Network open .topic 1224 Open ... {Shared|Lock Read|Lock Write|Lock Read Write} Network open .topic 1225 Open ... As # fileno Open a file .topic 1226 Open .... ,Len = nnn Open a file: Specifies the record length (for Random) or buffer size. .topic 1227 Crc16(String) calculates a 16-Bit-CRC-checksum for the bytes of a string. Crc16(String, oldcrc) continues the checksum calculation. .topic 1228 Crc32(String) calculates a 32-Bit-CRC-checksum for the bytes of a string. Crc32(String, oldcrc) continues the checksum calculation. .topic 1229 CheckSumLong(String) calculates a checksum for the bytes of a string, 32-Bit-Integer. .topic 1230 CheckSumShort(String) calculates a checksum for the bytes of a string,16-Bit-Integer. .topic 1231 CheckSumByte(String) calculates a checksum for the bytes of a string, 8-Bit-Integer. .topic 1232 CheckXorLong(String) performs an Xor operation on the bytes of a string, 32-Bit-Integer. .topic 1233 CheckXorShort(String) performs an Xor operation on the bytes of a string, 16-Bit-Integer. .topic 1234 CheckXorByte(String) performs an Xor operation on the bytes of a string, 8-Bit-Integer. .topic 1235 QBColor(index) returns color (RGB) for one of the 16 Quick-Basic colors. .topic 1236 Mode(xxx) returns current setting .topic 1237 Crypt(String, Key) Simple data crypt routine (Xor with internal random generator), Crypt("", "") returns key. .topic 1238 Pack(String) returns a compressed String (Byte-Level Packing, Pack(String, 0)Byte Level Packing Pack(String, 1) also BitLevel Packing Pack(String, 2)always BitLevel Packing Reverse: Unpack() .topic 1239 UnPack(String) returns the unpacked string. .topic 1240 Loop: For var = startvalue {To|UpTo|Downto} endvalue [Step step] : ... ... : Next [var] .topic 1241 Loop: For var = startvalue To endvalue : ... .... : Next [var] .topic 1242 Loop: For var ... Step stepvalue : ... ... : Next ... .topic 1243 Loop: For var = ... UpTo endvalue: ... ... : Next... .topic 1244 Loop: For var = ... DownTo endvalue: ... ... : Next ... .topic 1245 Loop: For var = startvalue ... : ... ... : Next ... .topic 1246 For Each var In Array (not implemented) .topic 1247 $ = PackMem(address, length [,flag = 0]) - Compresses a block of memory into a string. .topic 1248 $ = UnPackMem(string, length) - Decompresses a block of memory into a string. .topic 1249 Exit [Do | For | If text]- Exits a loop. Exit [Func[tion] | Proc[edure] | Sub] - Exits a subroutine .topic 1250 Exit For - Exits a For-Next loop. .topic 1251 Exit Proc - Exits a subroutine. .topic 1252 Exit Procedure - Exits a subroutine. .topic 1253 Exit Sub - Exits a subroutine. .topic 1254 Exit Func - Exits a subroutine. .topic 1255 Exit Function - Exits a subroutine. .topic 1256 Exit Do - Exits a Do loop. .topic 1257 Exit If test- - Exits a loop when test is true. .topic 1258 test ? expTrue : expFalse Returns one of two parts, depending on the evaluation test. Alternative: Iif(test, expTrue, expFalse) .topic 1259 GetRegs sets all _Register variables to the value of the processor registers. .topic 1260 Register for Call. .topic 1261 Lprint prints a value in text on the current printer. .topic 1262 Write formats a value into a string. .topic 1263 Do [Until test | While test] ... [Exit] ... Loop [Until test | While test] .topic 1264 While test: .... : Wend .topic 1265 Repeat : ... : Until test .topic 1266 Repeat : ... : Until test .topic 1267 While test: .... : Wend .topic 1268 Do [Until test | While test] ... [Exit] ... Loop [Until test | While test] .topic 1269 Do Until test: ... Loop ... .topic 1270 Do While test: ... Loop ... .topic 1271 Do: ... Loop Until test .topic 1272 Do: ... Loop While test .topic 1273 If test : .... .... : EndIf The statements between If and EndIf are executed when the test is true. If test Then Statements .topic 1274 EndIf (or End If) end of If statement .topic 1275 Else .topic 1276 Else If test .topic 1277 Inc var like var = var + 1 or Incr var or var++ .topic 1278 Dec var like var = var - 1 or Decr var or var--. .topic 1279 Add var, exp like var = var + exp or var += exp or Incr var, exp .topic 1280 Sub var, exp var = var - exp, also var -= exp Sub name(Parameterlist) Start of a subroutine: Sub subname (only for events) .topic 1281 Incr var [,exp] Increments a numeric variable with 1 (like Inc) like var = var + 1, or Inc var, or var++ var = var + exp, or Add var, exp, or var += exp .topic 1282 Decr var [,exp] Decrements a numeric variable with 1 (like Dec) like var = var - 1, or Dec var, or var-- var = var - exp, or Sub var, exp, or var -= exp .topic 1283 Or var, iexp var = var Or iexp, also var |= iexp .topic 1284 And var, iexp var = var And iexp, also var &= iexp .topic 1285 Xor var, iexp var = var Xor iexp, also var ^= iexp .topic 1286 Mul var, exp var = var * exp, also var *= exp .topic 1287 Div var, exp var = var / exp, also var /= exp .topic 1288 Mod var, iexp var = var Mod iexp, also var %= iexp .topic 1289 Shl var, iexp var = var Shl iexp, also var <<= iexp .topic 1290 Shr var, iexp var = var Shr iexp, also var >>= iexp .topic 1291 Sar var, iexp var = var Sar iexp .topic 1292 Rol var, iexp var = var Rol iexp .topic 1293 Ror var, iexp var = var Ror iexp .topic 1294 Bset var, iexp var = Bset(var, iexp) .topic 1295 Bclr var, iexp var = Bclr(var, iexp) .topic 1296 Bchg var, iexp var = Bchg(var, iexp) .topic 1297 Byte{addr }= iexp Same as Poke addr, iexp, writes a Byte (8 Bit) in memory. .topic 1298 SByte{addr }= iexp Same as Poke addr, iexp or Byte{ addr }= iexp, writes a Byte (8 Bit) in memory. .topic 1299 Int{addr }= iexp Same as LPoke addr, iexp or Long{addr}=iexp or {addr}=iexp, writes an integer (32 Bit, 4 Byte) in memory. .topic 1300 Long{addr }= iexp Same as LPoke addr, iexp or Int{addr}=iexp or {addr}=iexp, writes a Long = Integer (32 Bit, 4 Byte) in memory. .topic 1301 {addr }= iexp Same as LPoke addr, iexp or Long{addr}=iexp or Int{addr}=iexp, writes an integer (32 Bit, 4 Byte) in memory. .topic 1302 Card{addr }= iexp Same as DPoke addr, iexp or Word{addr}=iexp or Short{addr}=iexp, writes a 16-Bit = 2 Byte in memory. .topic 1303 Word{addr }= iexp Same asDPoke addr, iexp or Card{addr}=iexp or Short{addr}=iexp, or UWord{addr}=iexp or UShort{addr}=iexp, writes a 16-Bit = 2 Byte in memory. .topic 1304 Short{addr }= iexp Same as DPoke addr, iexp or Word{addr}=iexp or Card{addr}=iexp, or UWord{addr}=iexp or UShort{addr}=iexp, writes a 16-Bit = 2 Byte in memory. .topic 1305 Double{addr }= exp Same as DblPoke addr, exp, writes a Floating-point value im Double-Format (8 Byte) in memory. .topic 1306 Single{addr }= exp Same as SngPoke addr, exp, writes a Floating-point value im Single-Format (4 Byte) in memory. .topic 1307 Large{addr }= lexp Same as Poke8 addr, lexp, writes a Large (64 Bit = 8 Byte) in memory. .topic 1308 Cur{addr }= curexp Same as CurPoke addr, curexp, writes a Currency (64 Bit = 8 Byte) in memory. .topic 1309 Char{addr }= strexp Same as CharPoke addr, strexp, writes a String in memory, including terminating 0 Byte. .topic 1310 Poke addr, iexp Same as Byte{addr }= iexp, writes a Byte (8 Bit) in memory. .topic 1311 DPoke addr, iexp Same as Word{addr }= iexp, writes a Word (16 Bit = 2 Byte) in memory. .topic 1312 CPoke addr, iexp Same as Card{ addr }= iexp, writes a Card (16 Bit = 2 Byte) in memory. .topic 1313 LPoke addr, iexp Same as {addr}= iexp, writes an integer = Long (32 Bit = 4 Byte) in memory. .topic 1314 Poke8 addr, lexp Same as Large{ addr }= lexp, writes a Large (64 Bit = 8 Byte) in memory. .topic 1315 CurPoke addr, curexp same as Cur{addr }= curexp, writes a Curreny value (64 Bit = 8 Byte) in memory. .topic 1316 SngPoke addr, exp same as Single{ addr }= exp, writes a floating-point value in Single format (4 Byte) in memory. .topic 1317 DblPoke addr, exp same as Double{ addr }= exp, writes a floating-point value in Double format (8 Byte) in memory. .topic 1318 Poke$ addr, strexp same as StrPoke addr, strexp, writes a String in memory including the terminating #0. .topic 1319 StrPoke addr, strexp same as Poke$ addr, strexp, writes a String in memory including the terminating #0. .topic 1320 CharPoke addr, strexp same as Char{ addr }= strexp, writes a String in memory including the terminating #0. .topic 1321 var ++ Increment, like var = var + 1, or Inc var, or Inc var .topic 1322 var -- Decrement, like var = var - 1 or Dec var, or Decr var. .topic 1323 var += exp Adds exp to a variable var (String variables: Stringaddition), like var = var + exp, or Add var, exp, or Incr var, exp .topic 1324 var -= exp var = var - exp, or Sub var, exp, or Decr var, exp .topic 1325 var |= iexp var = var Or iexp, or Or var, iexp .topic 1326 var &= iexp var = var And iexp, or And var, iexp .topic 1327 var ^= iexp var = var Xor iexp, or Xor var, iexp .topic 1328 var *= exp var = var * exp, or Mul var,exp .topic 1329 var /= exp var = var / exp, or Div var, exp .topic 1330 var %= iexp var = var Mod iexp, or Mod var, iexp .topic 1331 var <<= iexp var = var Shl iexp, or Shl var, iexp .topic 1332 var >>= iexp var = var Shr iexp, or Shr var, iexp .topic 1333 var = Value Assignment. For 16- and 8-Bit variablen no overflow check is performed. Use := .topic 1334 var := Value Assignment. With integer variables witht 16 or 8 Bit (&, | or Card) an overflow check is performed (like BoundW, BoundB, BoundC). Therfore a bit slower than =. .topic 1335 ElemName As ElemType Declares the type of a user defined type element. .topic 1336 Dim var As varType Declares a variable. .topic 1337 ~iexp Disposes of the return value. .topic 1338 Void exp Disposes of the return value. .topic 1339 Message "MessageText", "Titel", ButtonFlag, var Windows- Standard- MessageBox, use MB_OKCANCEL). Return value is IDOK, IDCANCEL....(1, 2...) var = Message("MessageText", "Titel", ButtonFlag) .topic 1340 var = Message("MessageText", "Titel", ButtonFlag) Windows- Standard- MessageBox, use MB_OKCANCEL). Return value is IDOK, IDCANCEL....(1, 2...) Also: Message "MessageText", "Titel", ButtonFlag, var .topic 1341 PopUp String, m, x, y, var Popup("Entry &1| &Two| &Three| &Four..."). x and y specif the screen position. ywird die Bildschirmpostion des PopUps festegelegt. m determines the use of the mousebutton. Return value is selected entry index or 0. Also: var = PopUp(String, m, x, y) .topic 1342 var = PopUp(String, m, x, y) Popup("Entry &1| &Two| &Three| &Four..."). x and y specif the screen position. ywird die Bildschirmpostion des PopUps festegelegt. m determines the use of the mousebutton. Return value is selected entry index or 0. Also: PopUp String, m, x, y, var .topic 1343 Alert SymbolAndFlag, "Text | Texte...", Button, "But &A|But &B...", var% GFA-BASIC 32 specific, also var = Alert(SymbolAndFlag, "Text | Texte...", Button, "But &A|But &B...") .topic 1344 var = Alert(SymbolAndFlag, "Text | Texte...", Button, "But &A|But &B...") GFA-BASIC 32 specific, also Alert SymbolAndFlag, "Text | Texte...", Button, "But &A|But &B...", var% .topic 1345 a) lock # n b) lock # n, record c) lock # fileno, start To endrecord d) lock # fileno , To endrecord e) lock # fileno, OffsetByte, count .topic 1346 a) a) x = lock(# n) b) x = lock(# n, record) c) x = lock(# fileno, start To endrecord) d) x = lock(# fileno , To endrecord) e) x = lock(# fileno, OffsetByte, count) .topic 1347 a) Unlock # n b) Unlock # n, record c) Unlock # fileno, start To endrecord d) Unlock # fileno , To endrecord e) Unlock # fileno, OffsetByte, count .topic 1348 a) x = Unlock(# n) b) x = Unlock(# n, record) c) x = Unlock(# fileno, start To endrecord) d) x = Unlock(# fileno , To endrecord) e) x = Unlock(# fileno, OffsetByte, count) .topic 1349 Monitor [iexp]: Generates an int 3 - Assembler Statement (Breakpoint) for an external Debugger (WinDb, MsVC++). iexp is passed through eax. .topic 1350 MkDir "directory" creates a new directory MkDir "directory" Like "template" .topic 1351 MkDir "directory" Like "template" creates a directory with same characteristics as the directory "template". .topic 1352 RmDir "directory" deletes a directory .topic 1353 ChDir "directory" changes the current folder .topic 1354 BMove srcAddr, destAddr, count BlockMove srcAddr, destAddr, count MemMove srcAddr, destAddr, count MemMove(srcAddr,destAddr,count) - Moves a block of memory to another area of RAM. .topic 1355 MemBFill Addr, count, value MemSet Addr, value, count Fills count bytes at Addr with value. (For i = 0 To count - 1: Poke Addr + i, byteWert: Next i) (in 'C": memset(Addr, value, count);) MemZero=MemBFill ...,0 or. MemSet ...,0,... .topic 1356 MemWFill Addr, count, wordWert Fills count/2 16-bit integers at Addr. count = multiple of 2. .topic 1357 MemLFill Addr, count, longWert Fills count/4 32-bit integers at Addr. count = multiple of 4. .topic 1358 MemAnd destAddr, srcAddr, count MemOr destAddr, srcAddr, count MemXor destAddr, srcAddr, count Performs a binary opeartion between two memory blocks. //z = destAddr, q = srcAddr For i = 0 To count - 1 Poke z + i, Peek(z + i) And/Or/Xor Peek(q + i) Next i .topic 1359 MemZero addr, count Sets a memory block at addr and count bytes to zero. .topic 1360 Randomize dblExp initializes the random generator (Rnd, Random, Rand) with a start value Randomize Timer or simply Randomize. .topic 1361 GdiFlush or GdiFlush() .topic 1362 MouseX - returns the mouse coordinate in pixels in client area. .topic 1363 MouseY - returns the mouse coordinate in pixels in client area. .topic 1364 MouseK returns the state of the mouse buttons MouseK And 1=left MouseK And 2 =right MouseK And 4 = middle .topic 1365 MouseSX returns the mouse coordinate in pixels in screen coordinates. .topic 1366 MouseSY - returns the mouse coordinate in pixels in screen coordinates. .topic 1367 MouseKB - Status of the keyboard shift keys MouseKB And 1=Shift MouseKB And 2=Control MouseKB And 4=Menu(Alt) MouseKB And 8=ScrollLock MouseKB And 16=NumLock MouseKB And 32=CapsLock MouseKB And 64=Left Windows key MouseKB And 128=Right Windows key MouseKB And 256=Windows Apps key. .topic 1368 HTab iexp Places the cursor in column specified in column. .topic 1369 VTab iexp Places the cursor in line specified in column. .topic 1370 Locate y, x : LocaYX y, x : LocaXY x, y .topic 1371 Print ... AT(y, x) ....ATYX(y, x) ... ATXY(x, y) ... .topic 1372 Print ... Tab(iexp) .... For windows use _Tab(iexp). .topic 1373 Print ... _Tab(iexp) .... Cursor positioning (iexp * average character width). Allows tables. .topic 1374 Print ... Spc(iexp) .... same as Print ... Space[$](iexp).... .topic 1375 Print ... , ... , is a tab .topic 1376 Print ... ; ... ; prevents a carriage returs .topic 1377 Print ... ` ... [;] ` is a space .topic 1378 Print # fileno, ... writes variable contents formatted as a string to a file. .topic 1379 Declare Function FunctionName [Lib "LibName32"] [Alias "AliasName"] (Parameterliste) As ReturnType Declare FunctionA FunctionName [Lib "LibName32"] (Parameterliste) As ReturnType Declare Sub SubName [Lib "LibName32"] [Alias "AliasName"] (Parameterliste) Declare SubA SubName [Lib "LibName32"] (Parameterliste) Declare Function Name BuiltIn ["Anam"] (Parameterliste) As ReturnType Declare Sub Name BuiltIn ["Anam"] (Parameterliste) Declaration for Dll-Importen. .topic 1380 Declare Function ... Declares a DLL functionname with a return value .topic 1381 Declare Sub ... Declares a DLL functionname without a return value .topic 1382 Declare FunctionA ... Declares a DLL functionname with an A extension for Windows 95 (Windows NT) Functions with Strings. .topic 1383 Declare SubA... Declares a DLL functionname without a return value with an A extension for Windows 95 (Windows NT) Functions with Strings. .topic 1384 Declare ... Alias "AliasName"... Declares an alias name for a DLL function with "AliasName". More compact is Declare FunctionA/SubA Dllfunc... .topic 1385 Declare ... As ReturnType Declares the return type for a DLL function. .topic 1386 Declare ... ( ... ByRef ... ) ... Declares a ByRef parameter for a DLL function. .topic 1387 Declare ... ( ... ByVal ... ) ... Declares a ByVal parameter for a DLL function. .topic 1388 Declare ... Lib "LibName.Dll" ... Declares the library for the DLL function. .topic 1389 Declare LIB "LibName.Dll" Declares the DLL library to use with the following Declare statements. .topic 1390 Declare ... CDecl (...) ... Declares the calling convention for a DLL function. .topic 1391 CurrentX Returns the current X-Position for output .topic 1392 CurrentY Returns the current output position .topic 1393 CurrentX = dblexp sets the X-position for graphic output (also Print) .topic 1394 CurrentY = dblexp sets the Y-Position for graphic output (also Print) .topic 1395 Array(....,...) Creates an array in a Variant variable. .topic 1396 CreateObject(..) Creates a new Object from a ProgID (a String like "Word.Basic" or a GUID (128-Bit ID)) .topic 1397 Assigns an object reference to an Object variable (or Variant) like Set ObjectVar = CreateObject("Word.Basic"). .topic 1398 Set ObjectVar = Nothing .topic 1399 Conversion to Boolean. .topic 1400 Line [Step][x,y][-|To|,] [Step] z,t [,color][,B|,BF] Draws a line or a filled (F) rectangle (B). .topic 1401 Line: .topic 1402 Line .topic 1403 Line ... ,B: Box .topic 1404 Line ... ,BF: PBox. .topic 1405 Performance tuning oTimer: milliseconds, Integer (resolution 1 ms) qTimer: milliseseconds, Integer (resolution 55 ms) Timer: Seconds, Double (resolution better than micorseconds) _TimerCount: Large _TimerFreq: Frequence (>1Mio) (Large) _RDTSC: Processorclock, (Large) .topic 1406 largeVar = _RDTSC - Processorclock .topic 1407 _CPUID: Returns the version of the processor ( _CPUID = $0525). $x000 Cpu-Type = $0000, $1000, $2000, $3000) $0x00 Family x = x=3=386, x=4=486, x=5=Pentium) $00x0 Model x $000xStepping-ID (Versionsnummer) _CPUID = $525 also Pentium, Model 2, Stepping 5 If _CPUID %& $0F00 > $0400 Then Pentium Code .topic 1408 x = _DispID(Object, Property$) - Returns the dispatch ID for a member of the given COM object. .topic 1409 iexp %& iexp: Bitwise And , , , , , .topic 1410 iexp %| iexp: like iexp | iexp: Bitwise Or , , , , , .topic 1411 iexp %^ iexp: Bitwise Xor , , , , , .topic 1412 exp $ exp: String concationation operator , , .topic 1413 exp & exp: String concationation operator , , . .topic 1414 Set object = GetObject([pathname] [, class]) - Returns a reference to an existing OLE object. .topic 1415 Assembler Statement .topic 1416 Assembler - Statement (80486 or compatible) .topic 1417 Assembler - Statement (Pentium or compatible) .topic 1418 Assembler - Statement (MMX) .topic 1419 Case [To] Case const1 [, const1, …] .topic 1420 Select iexp - Executes one of several groups of statements, depending on the value of iexpr. Select str - Executes one of several groups of statements, depending on the value of str. Only the first four bytes of str are used. Internally the four bytes are converted to an integer as with Cvl(str). .topic 1421 Switch iexp - Executes one of several groups of statements, depending on the value of iexpr. Switch str - Executes one of several groups of statements, depending on the value of str. Only the first four bytes of str are used. Internally the four bytes are converted to an integer as with Cvl(str). .topic 1422 Select Case iexp - Executes one of several groups of statements, depending on the value of iexpr. .topic 1423 Switch Case iexp - Executes one of several groups of statements, depending on the value of iexpr. .topic 1424 EndSelect - Closes Select statement. .topic 1425 EndSwitch - Closes Switch statement. .topic 1426 Not iexp - Inverts all bits of an integer expression. The priority of Not is less than for And and Or: If Not a = b And Not c = d And e = f If Not(a = b And Not(c = d And e = f)) If (Not a = b) And (Not c = d) And e = f .topic 1427 $ Directive command $Step {On|Off|} $Array {Check|Chk} {On|Off} $Obj {Check|NoErr }* $Object {Check|NoErr }* $AutoPost[fix]{On|Off|} $NoAutoPost[fix] .topic 1428 Get # n (reads next record; Random) Get # n, Index (reads record number Index; Random) Get # n, Index, variable (reads a variable; VB) Get # n, , variable (reads a variable; VB) .topic 1429 Put # n (writes next record; Random) Put # n, Index (writes record at position Index; Random) Put # n, Index, variable (writes a variable; VB) Put # n, , variable (writes a variable; VB) .topic 1430 Input ["Text",] x [,y,...] Input ["Text";] x [,y,...] - Allows user-entry of values for variables. Input #n; v1[,v2…] - Reads data from a previously opened file. .topic 1432 Seek[%] #n, pos pos = Seek[%](#n) - Sets and Returns the next read/write pointer in a sequential file .topic 1433 RelSeek #n, lpos RelSeek% #n, ipos% - Positions the data pointer of a file to a position relative to that it currently occupies. .topic 1434 Record[%] #n, record value = Record[%](#n) - Sets and Returns the current record in a Random-Access file. .topic 1435 Seekend #n - Positions the read/write pointer to the end of a file. .topic 1436 Close [#n] - Closes an I/O channel. .topic 1437 Reset - Closes all disk files opened using the Open statement. .topic 1438 Flush #n - Clears the buffers for this file and causes all buffered data to be written to the file. .topic 1439 Touch #n - Updates the time and date stamps of a file with current values. .topic 1440 Goto label - An unconditional jump to a label either in the main program or the same procedure. .topic 1441 Gosub label … label: …[embedded subroutine]… Return - Used to branch to and return from a subroutine marked by a label embedded within the same procedure. .topic 1442 Return - Used to return from a Gosub call. Return [value] - Used to return a value from within a function. .topic 1443 Plot x,y - Draws a point on the screen. .topic 1444 Pset x, y [, color] Pset [Step] (x, y) [, color] - Draws a point on the screen (in the foreground color if none other is specified) .topic 1445 Preset x, y [, color] Preset [Step] (x, y) [, color] - Draws a point on the screen (in the background color if none other is specified) .topic 1446 Color [forecolor] [, backcolor] RGBColor [forecolor] [, backcolor] - Sets the fore- and/or backcolor using RGB format. .topic 1447 Box x1,y1,x2,y2 - Draws a rectangle. PBox x1,y1,x2,y2 - Draws a filled rectangle. RBox x1,y1,x2,y2 - Draws a rectangle with rounded corners. PRBox x1,y1,x2,y2 - Draws a filled rectangle with rounded corners. PBox3D x1, y1, x2, y2 [, [ edge ][,bf ] ] Box3D x1, y1, Step width, height [, [ edge ][,bf ] ] - Draws a rectangle with optional 3D effects PBox3D x1, y1, Step width, height [, [ edge ][,bf ] ] - Draws a filled rectangle with optional 3D effects .topic 1451 Circle x, y, r [,w1, w2] - Draws a circle or an arc of a circle. PCircle x, y, r [, w1, w2] - Draws a filled circle or arc of a circle. .topic 1452 Ellipse x, y, rx, ry [,w1, w2] - Draws an ellipse or ellipse arc. PEllipse x, y, rx, ry [,w1, w2] - Draws a filled ellipse or ellipse arc. .topic 1455 Draw [To] [x, y] Draw [x1, y1] [To x2, y2][To x3, y3]... Draw exp - Used to draw a line in the current object. .topic 1456 QBDraw d$ - Draws a line according to a string of text graphic commands. .topic 1457 Curve x0,y0,x1,y1,x2,y2,x3,y3 - Draws a Bezier curve. .topic 1458 DevCurve x0,y0,x1,y1,x2,y2,x3,y3 .topic 1459 DefLine [style] [, thickness] - Defines the style and/or thickness of a line. .topic 1460 SetAttr file$, attr success% = SetAttr(file$, attr) success% = FSATTR(file$, attr) - Sets a file or directory attribute. .topic 1461 SetFileDateTime file$, date SetFileDateTimeAccess file$, date - Sets the 'Last Modified' date. .topic 1463 SetFileDateTimeCreate file$, date - Sets the 'Created' date. .topic 1464 Used with Type to create elements: e.g. - Int32 Element1[, Element 2[,…]] .topic 1465 Beep - Sounds a warning single-tone beep. .topic 1466 Mode All a$ - Sets all Mode settings acording to values included in a string. Mode BaseYear y$ - Sets the year used as base for most date functions. Mode Compare c% | c$ - Determines how numerical and string comparison commands and function arrive at their result. Mode Date d$ - Sets the format to be used with Date$(). Mode Lang l$ - Sets the language/country characteristics used with the Format() function. Mode Format s$ - Sets characters to separate the thousands and decimal part with numeric expression conversions with Format(). Mode StrSpace s? - Determines whether there is a leading space in front of a positive value. Mode Using u$ - Sets characters to separate the thousands and decimal part with numeric expression conversions with the Print Using command. Mode Val sep$ - Sets the separator decimal character in the Val() function. .topic 1467 DateToDmy date, day, month, year - Converts a date value into its respective Year, Month and Day values. .topic 1468 TimeToHms date, hour, minute, second - Converts a date/time value into its respective Hour, Minute and Second values. .topic 1469 DateToDmyHms date, day, month, year, hour, minute, second - Converts a date value into its respective Year, Month, Day, Hour, Minute and Second values. .topic 1470 Type typename [Packed n = 4] [Union] elementname [([subscripts])] As type [elementname [([subscripts])] As type] . . . End Type - Defines a user-defined data type containing one or more elements. .topic 1472 End - Terminates a GFA-BASIC program. .topic 1473 Kill [Yes | Prompt | Undo | NoUndo | Silent | Files | , ] filename$ - Deletes a file .topic 1474 KillFile [Yes | Prompt | Undo | NoUndo | Silent | Files | , ] filename$ DeleteFile [Yes | Prompt | Undo | NoUndo | Silent | Files | , ] filename$ - Deletes a file or directory .topic 1476 MoveFile source To destination - Moves or renames an existing file .topic 1477 CopyFile "source" [Over [To]] "dest" [, subname[,ident%]] FileCopy "source" [To] "dest" [, subname [, ident%]] - Copies a file. .topic 1479 Name "old" As "new" Rename "old" As "new" - Renames a file .topic 1481 Next [var] EndFor - Marks the end of a For…Next loop .topic 1482 Out # n, a [,b,c...] Out| # n, a [,b,c...] - Writes one or more bytes to an open file. Out port, a Out| port, a - Writes a byte to a hardware port register [obsolete on WinNT-based systems]. .topic 1483 Out& # n, a [,b,c...] - Writes one or more words (16-bit) to an open file. Out& port, a - Writes a byte to a hardware port register [obsolete on WinNT-based systems]. .topic 1484 Out% # n, a [,b,c...] - Writes one or more long-words (32-bit) to an open file. Out# port, a - Writes a byte to a hardware port register [obsolete on WinNT-based systems]. .topic 1486 Rem[ark] - Signifies that all text following this command is a program comment or remark. .topic 1488 DefNum n - Sets the number of decimals for output of numbers with Print[#], Write[#], Format(), Using(), or Str(). .topic 1489 @procname Call procname - Used to call a procedure or function (can be omitted) FN functionname - Used to call a function (can be omitted) Call(addr%)[(parameters]) CallX(addr%)([parameters]) - Used to call a C or Assembly routine at addr% .topic 1491 1. Moves a string expression, left justified, to a string. 2. Moves the contents of one type variable to another. .topic 1492 Moves a string expression, right justified, to a string. .topic 1493 Declares a global or public variable or array Global var AS type / Global type var1[, var2…] / Global a$, b%... Public var AS type / Public type var1[, var2…] / Public a$, b%... .topic 1494 Guid Name = value Declaration of a GUID constant. Guid Name = New Generates a new GUID value after pressing Enter. .topic 1495 [Global | Local] Const name [As type] = v [, name1 [As type] = v, …] - Used to declare constants. .topic 1496 Enum v1 [=value] [, v1 [=value]…] - Used to declare a set of 32-bit integer constants. .topic 1497 Erase x1() [,x2(),...] - Erases or deletes arrays. .topic 1498 Field #n, count As set$ [, count As set$...] Field #n, count At(x) [, count At(x), ...] - Used to define the record structure of random access files. .topic 1499 DoEvents n% = DoEvents() - Yields control so that the operating system can process other events. .topic 1500 object = LoadPicture([filename$] [, x, y, c]) - Loads an image file into a picture object. .topic 1502 For Each element In group [statements] Next [element] - Used to repeat through each element of a collection or hash table. .topic 1503 _CPUIDD: Returns the configuration of a Pentium processor. .topic 1504 _CPUID$ Description of the processor _CPUID$ = "GenuineIntel", _CPUID$ = "386" or "486" .topic 1505 IsMMX Returns True if the porcessor support Intel MMX functions. If IsMMX Then ... MMX Code ... also: _CPUID, _CPUIDD, _CPUID$ .topic 1515 $StepOff disables the generation of debugging code between each code line. .topic 1516 $ArrayCheckOff disables array boundary checks. .topic 1517 $Obj or $Object disables the generation of OLE error checks. .topic 1518 Matrix operations Mat Add a(), nAdd n to each element Mat Sub a(),nSubtract n from each element Mat Mul a(),nMul n witheach element Mat Div a(),nDivide each element with n Mat Add a()=b()+c()Matrix addition Mat Mul x=a()*b()Scalar product Mat Mul a()=b()*c()Matrices multiplication Mat Clr a()Delete contents Mat Set a()=nFill with n Mat Abs a() Mat Tri a(),f Mat Trans a()=b()Transpose columns or lines Mat One a() Mat Det x = a() Mat Det x= a(i,j),n Mat QDet x= a() Mat QDet x= a(i,j),n Mat Inv a() = b()Inverse of a matrix Mat Rang x = a()Rang of a matrix Mat Rank x = a()Rang of a matrix Mat Cpy a([i,j]) = b([k,l]) [,m,n] Copy Mat XCpy a([i,j]) = b([k,l]) [,m,n]Copy and transpose Mat Norm a(), fNormalize matrix .topic 1519 Mat Add a(), n , .topic 1520 Mat Sub a(), nsubtracts .topic 1522 Mat Div a(), n .topic 1523 Mat Det x = a()Mat Det x = a(i,j),n , , , , .topic 1524 Mat QDet x = a()Mat QDet x = a(i,j),n , , , , , , .topic 1525 Mat Trans a() = b() , , .topic 1526 Mat Tri a(), flg , .topic 1527 Mat Abs a() .topic 1528 Mat Neg a() .topic 1529 Mat Clr a() , .topic 1530 Mat Set a() = x .topic 1531 Mat One a(), , .topic 1532 Mat Rank n = a()Mat Rang n = a() , , , , , .topic 1533 Mat Cpy a([i,j]) = b([k,l]) [,m,n] , , .topic 1534 Mat XCpy a([i,j]) = b([k,l]) [,m,n] , , .topic 1535 Mat Norm a(), f, , .topic 1536 WinVersion or WinVersion$ "Microsoft Windows 95 #.# (Plus!)" "Microsoft Windows NT #.# (Build: ####)" "Microsoft Win32s #.# (Build: ####)" , .topic 1537 Mat Inv a() = b() , , , , .topic 1538 QSort a() QSort a([+|-|Asc|Desc]) [,n [,b()]] , , , , , , QSort a(...) [With w() | Compare n] [Offset off] ... , , , , QSort = QuickSort .topic 1539 QSort a(-) ... QuickSort - Sort in descending order .topic 1540 QSort a(+) ... QuickSort - Sort in ascending order .topic 1541 QSort a(Asc) ... QuickSort - Sort in ascending order .topic 1542 QSort a(Desc) ... QuickSort - Sort in descending order .topic 1543 QSort ... With w() ... QuickSort - string array using a 256 elements integer array specifiying the sort order. .topic 1544 QSort ... Offset off ... QuickSort - string array using the part of the string elements that start at position Offset. .topic 1545 QSort ... Compare n ... QuickSort - string array using the comparing method specified with Compare. .topic 1546 Pause n - Interrupts a program for n/18.2 seconds. .topic 1547 Delay n - Interrupts a program for n seconds. .topic 1548 Statement Sleep. Sleep without parameters waits for a message from Windows and then, like DoEvents, executes the corresponding actions. More friendlier for multitasking than DoEvents. Sleep n, with a fractional parameter, waits a period of n milliseconds, without retrieving messages, thus acts like the Pause or Delay statements and the API functions and Sleep() SleepEx(). .topic 1549 ArrayFill a(),x - Initializes a numerical array of any type with a value. .topic 1550 Data value1[, value2…] - Used to declare numeric, string, date, and/or variant constants. .topic 1551 Read value1[, value2…] - Reads values from Data lines into variables. .topic 1552 Restore label - Positions the data pointer for Read at the specified label _Data = x% - Positions the data pointer at the address specified in x% x% = _Data - Returns the current position of the data pointer to x% .topic 1553 DefDbl letter_range1$[, letter_range2$...] - Sets the default data type to Double format for variables and arguments specified in letter_range$. .topic 1554 DefFlt letter_range1$[, letter_range2$...] DefSng letter_range1$[, letter_range2$...] - Sets the default data type to Single format for variables and arguments specified in letter_range$. .topic 1556 DefLng letter_range1$[, letter_range2$...] - Sets the default data type to Long format for variables and arguments specified in letter_range$. .topic 1557 DefInt letter_range1$[, letter_range2$...] DefInt32 letter_range1$[, letter_range2$...] - Sets the default data type to 32-bit Integer format for variables and arguments specified in letter_range$. .topic 1558 DefWrd letter_range1$[, letter_range2$...] DefInt16 letter_range1$[, letter_range2$...] - Sets the default data type to Word (16-bit Integer) format for variables and arguments specified in letter_range$. .topic 1559 DefCrd letter_range1$[, letter_range2$...] - Sets the default data type to Card format for variables and arguments specified in letter_range$. .topic 1560 DefStr letter_range1$[, letter_range2$...] - Sets the default data type to String format for variables and arguments specified in letter_range$. .topic 1561 DefLar letter_range1$[, letter_range2$...] DefInt64 letter_range1$[, letter_range2$...] - Sets the default data type to Large (64-bit Integer) format for variables and arguments specified in letter_range$. .topic 1562 DefCur letter_range1$[, letter_range2$...] - Sets the default data type to Currency format for variables and arguments specified in letter_range$. .topic 1563 DefVar letter_range1$[, letter_range2$...] - Sets the default data type to Variant format for variables and arguments specified in letter_range$. .topic 1564 DefByt letter_range1$[, letter_range2$...] - Sets the default data type to Byte format for variables and arguments specified in letter_range$. .topic 1571 fl! = rc_InterSect(x1,y1,w1,h1,x2,y2,w2,h2) - Determines whether two rectangles overlap and calculates any common area if they do. .topic 1573 _RGB(red, green, blue) combines three bytes (0..255) to a colorvalue: _RGB($rr, $gg, $bb) = $bbggrr. red/green/blue <0 = 0 , >255 = 255. .topic 1574 PALETTERGB(red, green, blue) combines 3 bytes to a Long value, and sets the highest byte to 2. The color is then selected from a palette. _RGB(red, green, blue) | 0x02000000. .topic 1575 PALETTEINDEX(index). Sets index as color value. PALETTEINDEX(index) == Color (index %& 65535) + 0x01000000). .topic 1576 % = SysMetric(e%) - Returns information about the system determined by the value of e%; similar to the screen object which holds more information. .topic 1577 rgb% = Point(x,y) rgb% = PTst(x,y) rgb% = RGBPoint(x,y) - Return the colour of a specified pixel inside the current window. .topic 1578 c% = SysCol(e%) - Returns the System Colour for a specified element. .topic 1579 % = GetDevCaps(n%) - Returns specific information about the current output device. .topic 1580 % = Fre(x) - Returns the amount of free memory. .topic 1581 Addr% = mAlloc(n) - Reserves a block of memory specified by n and returns the start address. .topic 1582 error = mFree(addr) - Releases a block of memory starting at address addr%, previously reserved by mAlloc .topic 1583 a% = mShrink(addr, n) - Resizes a block of memory starting at address addr% to size n which was previously reserved by mAlloc. .topic 1584 a% = mReAlloc(addr, size) - Reallocates memory previously reserved with mAlloc and releases it. .topic 1585 Proc[edure] name [(arglist)] - Declares the start of a Procedure. .topic 1586 ProgName[$] returns the directory of the current running application. In the IDE the name of GFA-BASIC 32 is returned. ShortProgName[$] returns the same, only in a short form (so from C:\LANGERORDNERNAME\BASIDE.EXE you'll get C:\LANGER~1\BASIDE.EXE). Upper case. .topic 1587 Dir[$][(fname$ [,attr]) - Returns a String representing the name of a file, directory, or folder that matches a specified pattern or file attribute, or the volume label of a drive. .topic 1589 % = GetAttr(file$) % = FGATTR(file$) - Returns the attributes of a file. .topic 1592 large = FileLen ([Pathname$]) long = FileLen% ([Pathname$]) - Returns the length of the specified file. .topic 1593 Environ(param) , , , , , .topic 1594 date = FileDateTime([Pathname$]) date = FileDateTimeAccess([Pathname$]) - Returns the date a file was last modified. .topic 1596 date = FileDateTimeCreate([Pathname$]) - Returns the date a file was created. .topic 1597 $ = LongFileName[$](file$) - Returns the long or full Windows filename. .topic 1598 $ = ShortFileName[$](file$) - Returns the short or MS_DOS 8.3 format filename. .topic 1599 $ = LongPathName[$](file$) - Returns the long or full Windows path. .topic 1600 $ = ShortPathName[$](file$) - Returns the short or MS_DOS compatible path. .topic 1601 ? = Exist(pathname$) - Determines whether the specified file exists. .topic 1602 n = FreeFile - Returns the value of the next available I/O channel number. .topic 1603 $ = sprintf[$](format$ [, argument] ... ) - Returns a string with formatted data. .topic 1604 Handle = _Instance - Returns the Instance Handle of the running program. .topic 1605 z% = MakeWParam( lo, hi ) - Makes a 32-bit value from two 16-bit values. .topic 1606 ScreenInformation object Example: Screen.cxScreen Screen.Widthin Twips = 1/1440 Inch .topic 1607 Err [.{property | method}] value = Err [.{property | method}] - Gives access to the properties and methods of the Err Object. Available properties are: Number, Description, HelpContext, HelpFile, Source, LastDllError, HResult, Exception Available methods are: Clear, Raise, Throw .topic 1608 If TypeOf(object) Is objecttype If TypeOf object Is objecttype - Must always be used with the If TypeOf Is structure - Returns the type of an object. .topic 1609 Is - Used to determine either the type or the state of an object. E.g. If Me Is Nothing OR If TypeOf Object Is Command .topic 1610 .X Screen.X screen width in pixels .topic 1611 .Y Screen.Y screen height in pixels .topic 1613 .Height OCX property .topic 1614 .Left OCX property .topic 1615 .Top OCX property .topic 1616 SavePicture picture, file$ - Saves a Picture object to a file. .topic 1617 [object.]PaintPicture pict, x1, y1, w1, h1, x2, y2, w2, h2, opcode - Draws a Picture object on the specified object. .topic 1618 incl. 1619, 1620, 1621, 1622, 1623, 1624, 1625, 1626, 1627, 1628, 1629, 1630, 1631, 1632 Raster Operation Codes Constants SRCCOPY = 0xCC0020 SRCPAINT = 0xEE0086 SRCAND = 0x8800C6 SRCINVERT = 0x660046 SRCERASE = 0x440328 NOTSRCCOPY = 0x330008 NOTSRCERASE = 0x1100A6 MERGECOPY = 0xC000CA MERGEPAINT = 0xBB0226 PATCOPY = 0xF00021 PATPAINT = 0xFB0A09 PATINVERT = 0x5A0049 DSTINVERT = 0x550009 BLACKNESS = 0x000042 WHITENESS = 0xFF0062 .topic 1633 OpenW [options] [#]n [, x, y, w, h][, attr] OpenW [options] Owner form, [#]n [, x, y, w, h][, attr] OpenW [options] MdiParent [#]n [, x, y, w, h][, attr] OpenW [options] MdiChild Owner | Parent form, [#]n [, x, y, w, h][, attr] - Opens a window. .topic 1634 FullW [#]n - Maximizes a window. .topic 1635 TitleW [#] n, txt$ - Sets the title or caption of a window. .topic 1636 CloseW [#]n - Closes a window. .topic 1637 HardCopy - Copies the screen to the Clipboard. .topic 1638 PolyLine n, x(), y() [OffSet x0,y0] - Draws a line with an arbitrary number of corners. .topic 1639 PolyFill n, x(),y() [OffSet x0,y0] - Draws a filled user-defined polygon. .topic 1640 DefFill pattern DefFill userdef$ - Defines the fill pattern either using a pre-defined or user-defined pattern. .topic 1641 PatBlt x, y, w, h, mode% - Draws a filled rectangle with additional options as you how the fill pattern will be displayed. .topic 1642 Cls [color] - Clears the current window (and sets the backcolor to color if specified). .topic 1643 ClearW [#]n - Deletes the contents of a window. .topic 1644 [Win.]AutoRedraw = x x = [Win.]AutoRedraw - Sets and Returns the AutoRedraw status of a window. .topic 1645 SetDraw x, y, angle - Sets the start position of the command Draw. .topic 1646 d# = Draw(n) - Returns different properties of the drawing pen, dependant on the value of n. .topic 1647 Fill x, y [,color] - Fills any enclosed area (with a specific color, if included). .topic 1648 Mouse mx%, my%, mk% [, kb%] - Returns the current position of the mouse, its button state [and the keyboard shift keys]. .topic 1649 KeyTest n% - Reads the first character in the keyboard buffer. .topic 1650 Keyget n% - Waits for a key to be pressed and then returns its value. .topic 1651 string = InKey[$] - Reads a key from the keyboard buffer. .topic 1652 Stretch x, y, a$, w, h [, Mod] - Stretches or Shrinks a bitmap (stored as a string) to fit the specified area. .topic 1654 Mci cmd$ - Executes a MCI command. err = Mci[$](cmd$ [, formvar]) - Executes a MCI command and returns any relevant error values. .topic 1655 a% = mciID(name$) - Returns the ID of an open MCI device. .topic 1656 a$ = mciErr$(errno) - Returns the description of an error returned from an MCI operation. .topic 1657 a% = _hWnd a% = _lParam a% = _Mess a% = _winID a% = _wParam - Return the message parameters obtained with GetEvent or PeekEvent. .topic 1661 object.Font [ = font ] - Sets a Font object. Font keyword value [To hFont] - Generates font parameters for SetFont. .topic 1662 RFont name var [, name var, …] - Reads the current font parameters returned by GetFont Command. .topic 1663 GetFont hFont - Reads the parameters for the given font. .topic 1664 _Font$ = a$ - Sets the current font according to parameters contained in a$. a$ = _Font$ - Returns the current font as a string. .topic 1665 x = _hfont - Returns the Handle for the font of the current Window. .topic 1666 SetFont hFont - Sets the font for Screen or Printer. .topic 1667 FontName= .topic 1668 FontSize= .topic 1669 FontBold= .topic 1670 FontItalic= .topic 1671 FontUnderline= .topic 1672 FontStrikethru= .topic 1702 Clear var1[, var2…] Clr var1[, var2...] - Deletes the listed variables. .topic 1703 DelFont hFont FreeFont hFont - Deletes/releases a font. .topic 1704 - Subtraction operator .topic 1705 + Addition operator .topic 1706 * Multiplcation .topic 1707 / Division .topic 1708 \ Interger division, Div .topic 1709 [Object.]FontTransparent = n n = [Object.]FontTransparent - Returns or Sets a boolean value that determines whether the background of an object's font is transparent or not. .topic 1711 DrawMode and GraphMode Constants R2_BLACK R2_COPYPEN R2_MASKNOTPEN R2_MASKPEN R2_MASKPENNOT R2_MERGENOTPEN R2_MERGEPEN R2_MERGEPENNOT R2_NOP R2_NOT R2_NOTCOPYPEN R2_NOTMASKPEN R2_NOTMERGEPEN R2_NOTXORPEN R2_XORPEN R2_WHITE .topic 1712 GraphMode , OPAQUE | TRANSPARENT. Alternative GraphMode , TRANSPARENT FontTransparent = True .topic 1713 [Object.]DrawMode = n n = [Object.]DrawMode - Returns or Sets a value that determines the appearance of output to an object. .topic 1714 BitBlt dstDC, x, y, w, h, srcDC[, sx, sy[, mode]] , Optional: mode = SRCCOPY; sx = 0 and sy = 0. .topic 1715 Text x!, y!, txt$ - Displays text at the specified coordinates. .topic 1716 TextXor x!, y!, txt$ - Displays text at the specified coordinates where the source is XORed with the destination. .topic 1717 Bget #n, addr%, count - Retrieves a block of data from a open file or other I/O source to memory. .topic 1718 Bput #n, addr%, count - Writes a block of data from memory to a open file or other I/O destination. .topic 1719 BLoad filename$, addr% - Reads a complete file into a memory block starting at address addr% and of a size matching the file length. .topic 1720 Bsave filename$, addr%, len - Saves a block of memory as a file. .topic 1721 [Object.]ScaleMode = val% val% = [Object.]ScaleMode - Sets and Returns the units of measurement to describe an object. .topic 1722 $ = ScaleMode$ - Returns a string describing the current ScaleMode setting. .topic 1723 s! = ScaleMX ScaleMX = value s! = ScaleMY ScaleMY= value - Returns and set the scaling factors for the current Scale or ScaleMode setting for the X and Y co-ordinates. .topic 1725 [Object.]ScaleTop = sgl! sgl! = [Object.]ScaleTop - Sets and Returns the custom-set top co-ordinate value of an object. .topic 1726 [Object.]ScaleLeft = sgl! sgl! = [Object.]ScaleLeft - Sets and Returns the custom-set left co-ordinate value of an object. .topic 1727 ScaleMMOO x, y [offsetx, offsety] - Sets the scaling factors and offset for graphic output commands. .topic 1728 x! = [Object.]ScaleX (width [, from] [, to]) y! = [Object.]ScaleY (height, [, from] [, to]) - Convert the scale of an object from one type of measurement unit to another. .topic 1730 [Object.]ScaleWidth = sgl! sgl! = [Object.]ScaleWidth - Sets and Returns the custom-scale width value of an object. .topic 1731 [Object.]ScaleHeight = sgl! sgl! = [Object.]ScaleHeight - Sets and Returns the custom-scale height value of an object. .topic 1732 [object.]Scale(x0!, y0!, x1!, y1!) - Sets custom x and y scales within an object. .topic 1733 basUserConstant 0 ScaleMode = basUser .topic 1734 basTwipsConstant 1 ScaleMode = basTwips .topic 1735 basPointsConstant 2 ScaleMode = basPoints .topic 1736 basPixelsConstant 3 ScaleMode = basPixels .topic 1737 basCharactersConstant 4 ScaleMode = basCharacters .topic 1738 basInchesConstant 5 ScaleMode = basInches (2.54 cm). .topic 1739 basMillimetersConstant 6 ScaleMode = basMillimeters .topic 1740 basCentimetersConstant 7 ScaleMode = basCentimeters .topic 1741 basHiMetricConstant 8 ScaleMode = basHiMetric .topic 1742 [Object.]PrintScroll = bool? bool? = [Object.]PrintScroll - Sets and Returns the scrolling behaviour of an object. .topic 1743 Files path$ [To file$] - Prints the directory in the pathname (or writes them to a file to a given file). .topic 1744 Dir path$ [To file$] - Either prints the contents of the current Directory or saves it so a file. .topic 1745 [Object.]BackColor = col% col% = [Object.]BackColor - Sets and Returns the value of the BackColor property of an object. .topic 1746 [Object.]ForeColor = col% col% = [Object.]ForeColor - Sets and Returns the value of the ForeColor property of an object. .topic 1747 basNone Constant 0 also basNoAlign, basNoScroll .topic 1748 BorderStyle Constants basNone =0, basFixedSingle = 1, basThick = 2 .topic 1750 MousePointer Constants Ocx property : basDefault, basArrow, basCross, basIBeam, basIcon, basSize, basSizeNESW, basSizeNS, basSizeNWSE, basSizeWE, basUpArrow, basHourglass=basWait, basNoDrop, basArrowHourglass, basArrowQuestion=basHelp, basSizeAll, and basCustom .topic 1769 MousePointer Constants basCursor = 98 .topic 1770 ScrollBars Property: basNoneScroll = 0, basHorizontal = 1, basVertical = 2, basBoth = 3 .topic 1774 [Object.]PrintWrap = bool? bool? = [Object.]PrintWrap - Sets and Returns the text-wrapping behaviour of an object. .topic 1775 AlignBar Property basNoneAlign, basTop, basBottom, basLeft, basRight .topic 1780 Appearance Property basFlat = 0 and basThreeD = 1 .topic 1782 x!=TxtLen(a$) - Returns the length of the given string in current Scalemode units. .topic 1783 x! = [Object.]TextHeight(a$) x! = [Object.]TextWidth(a$) - Returns a string's height and width in ScaleMode units. .topic 1785 Tron procname …[affected code]… Troff - Tron causes a debugging procedure to run before each new succeeding piece of code until the Troff command is reached. .topic 1788 _Win$(hWnd)=x$ x$ = _Win$(hWnd) - Sets or Returns the Title/Caption of a Window .topic 1789 Function[Var] name [(arglist)] [As type] - Declares the start of a Function. .topic 1790 EndProc[edure] - Marks the end of a Procedure. .topic 1791 End Func[tion] - Marks the end of a Function. .topic 1792 DefMouse a% - Sets the appearance and shape of the mouse. .topic 1793 Set mc = LoadCursor(file$) - Creates a MouseCursor object based on data contained in a file. .topic 1797 Menu m$() - Displays a menu bar on the screen Menu id, flags, text$ - Modifies a menu item. Menu Kill - Deletes a menu. .topic 1798 [Object.]MousePointer = val% val% = [Object.]MousePointer - Sets and Returns the value describing the current MousePointer of an object. .topic 1799 [Object.]MouseCursor = handle handle = [Object.]MouseCursor - Sets and Returns the handle of the MouseCursor property of an object. MouseCursor is an object in its own right and has one property: Handle .topic 1800 [Object.]MouseIcon = picture picture = [Object.]MouseIcon - Sets and Returns the MouseIcon in an object. .topic 1802 Ocx type name[(idx)] [[= text$] [,ID][, x, y, w, h] [, style]] - Generates a control with an OCX wrapper. The available controls are: Animation, CheckBox, ComboBox, Command, CommDlg, Form, Frame, Image, ImageList, Label, ListBox, ListView, MonthView, Option, ProgressBar, RichEdit, Scroll, Slider, StatusBar, TabStrip, TextBox, Timer, ToolBar, TrayIcon, TreeView, UpDown. .topic 1813 Win_n.property (where n is a number between 0 and 31) Allows the setting of properties and calling of methods of an open window allocated the number n. E.g. Win_1.BackColor = $8000000f sets the window's back colour, while Win_1.Hide hides the window. .topic 1814 var = Win_n.property (where n is a number between 0 and 31) Returns the value of properties pertaining to a window allocated the number n. E.g. a? = Win_1.Visible will set a? to TRUE if Window 1 is visible or FALSE if not. .topic 1815 Declares a local or private variable or array Local var AS type / Local type var1[, var2…] / Local a$, b%... Private var AS type / Private type var1[, var2…] / Private a$, b%... .topic 1816 Declares a local variable or array which retains it value for future use once the procedure is exited Static var AS type / Static type var1[, var2…] / Static a$, b%... .topic 1817 ReDim varname(subscripts) [As type] [, varname(subscripts) [As type]…] - Changes the number of elements and records in a previously dim'ed dynamic array. .topic 1818 Proc procname() Naked - Removes the safety auto-check routines usually inserted in a procedure, thus making the routine run faster. It can be used with Subs and Functions as well. .topic 1821 DefBool letter_range1$[, letter_range2$...] DefBit letter_range1$[, letter_range2$...] - Sets the default data type to Boolean format for variables and arguments specified in letter_range$. .topic 1822 Set Me = frm - Sets the currently active form to form frm Set frm = Me - Copies the currently active form to form frm Me[.{property | method} [= value]] value = Me.{property | method} - Gives access to the properties and methods of the currently active form. .topic 1824 Dlg 3D [On|Off] - Sets the background in a Dialog Box to grey. (Implemented for 16 bit compatibility). Dlg Color form, Flags , custcol(), color - Calls the Colour Selection Dialog Box for a form. (Implemented for 16 bit compatibility). Dlg Fill Dlg, color - Sets a background colour/pattern for a Dialog Box. Dlg Font form, hDC, Flags[,Color[,Min, Max[,"Style"]]] - Calls the Font Selection Dialog Box. (Implemented for 16 bit compatibility). Dlg Open form, Flags%, Title$, Dir$, DefExt$, Filter$[()], Ret$ - Calls the OpenFile Selection Dialog Box. (Implemented for 16 bit compatibility). Dlg Print form, Flags%, hDC - Calls the Print Dialog Box. (Implemented for 16 bit compatibility). Dlg Save form, Flags%, Title$, Dir$, DefExt$, Filter$[()], Ret$ - Calls the SaveFile Selection Dialog Box. (Implemented for 16 bit compatibility). .topic 1834 App.property = value value = App.property - Sets or Returns a property of the App Object. The following properties/methods are available: Arguments, AvailPageFile, AvailPhys, AvailVirtual, Comments, CompanyName, FileDescription, FileName, FileVersion, Forms, hInstance, InternalName, LegalCopyright, LegalTrademarks, Major, MajorRevision, MemoryLoad, Minor, Name, OriginalFilename, Path, PrivateBuild, ProdMajor, ProdMajorRevision, ProdMinor, ProdRevision, ProductName, ProductVersion, Revision, scArguments, scClear, scCommonPrograms, scCommonStartMenu, scDescription, scDirectory, scHotkey, scIconIndex, scIconPath, scPath, scPrograms, scRead, scShowCmd, scSpecialDir, scStartMenu, scWrite, SpecialBuild, TotalPageFile, TotalPhys, TotalVirtual, WinCompany, WinUser .topic 1835 ct% = [App.]Forms.Count - Returns the number of open forms in the current application. [App.]Forms[.Item](n).{property|method} [= value] value = [App.]Forms[.Item](n).{property|method} - Gives access to the properties and methods of the nth open Form object in the current application. .topic 1836 FreeBmp hBmp - Deletes from memory a bitmap created with Get or the API function CreateDIBSection. .topic 1837 Try ...[Do this]... Catch ...[If error, do this]... EndCatch - Allows error catching within routines. .topic 1840 MsgBox[0] prompt[, buttons][, title][, helpfile, context] r = MsgBox[0](prompt[, buttons][, title][, helpfile, context]) - Displays a message in a dialog box, waits for the user to click a button, and returns a value indicating which button the user clicked. .topic 1842 MemCpy dst, src, cnt MemCpy(dst, src, cnt) - Copies a block of memory to another area of memory. .topic 1845 With object ...[statements]... End With - Executes a series of statements on a single object or a user-defined type. .topic 1848 GrayText x, y, t$ - Displays text in gray at the specified coordinates. .topic 1849 DrawText x1, y1, x2, y2, t$, mode - Draws formatted text within the specified rectangle. .topic 1850 FileSelect [#title$,] path$, default$, name$ - Invokes the Open File common dialog box. .topic 1851 PlaySound wav$ [, flag = 0] - Plays a .wav file. .topic 1852 Prompt title$, message$, strvar$ - Displays a prompt in a dialog box, waits for the user to input text or click a button, and returns the contents of the text box. .topic 1853 $ = InputBox(prompt[, title][, default][, x][, y][, helpfile, context]) - Displays a prompt in a dialog box, waits for the user to input text or click a button, and returns the contents of the text box. .topic 1854 Exec file$, CmdLine % = Exec(file$, CmdLine) - Loads and runs a program and gives it command line information. .topic 1855 Shell t$ x% = Shell(t$) - Invokes the command interpreter .topic 1856 WinExec file, CmdShow % = WinExec(file, CmdShow) - Loads and runs a program. .topic 1857 DragBox x1,y1,w1,h1 [,x2,y2,w2,h2], x3,y3 - Moves a sizing rectangle around the screen. .topic 1858 RubberBox x, y, minw, minh, varw, varh - Cuts out a rectangular segment of the screen. .topic 1859 $ = _DosCmd$ - Returns the MS-DOS or MS-Windows command string (from the command line). .topic 1860 Declare ... BuiltIn The declared function equals a built-in function, but enables syntax checking. The name of the built-in function must be specified after BuiltIn. This introduces multiple function names with different parameter list (for example) .topic 1861 Printer[.{property|method}][ = value] value = Printer[.{property|method}] - Gives access to the properties and methods of the Printer object. Available properties are: BackColor, BkColor, CurrentX, CurrentY, DefHeight, DefLeft, DefTop, DefWidth, DeviceName, dmCollate, dmColor, dmCopies, dmPaperBin, dmPaperBinName, dmPaperLength, dmPaperSize, dmPaperSizeName, dmPaperSizeX, dmPaperSizeY, dmPaperWidth, dmQuality, dmYRes, Duplex, DrawMode, DriverName, Font, FontCount, FontBold, FontItalic, FontName, FontSize, FontStrikethru, FontTransparent, FontUnderline, Fonts, ForeColor, hDC, Height, Left, Name, Orientation, Page, PageWidth, PageHeight, PaperWidth, PaperHeight, PrintScroll, PrintWrap, PortName, ScaleHeight, ScaleLeft, ScaleMode, ScaleTop, ScaleWidth, Tag, Top, Width, Zoom Available Methods are: AbortDoc, EndDoc, EndPage, NewFrame, PaintPicture, Scale, ScaleX, ScaleY, SetFont, StartPage, TextHeight, TextWidth, TwipPerPixelX, TwipPerPixelY, TwipsPerPixelX, TwipsPerPixelY, PixelsPerTwipX, PixelsPerTwipY .topic 1862 Special data type for a user-defined Type. This determines the number of bits a variable should occupy. The data type specifies the number of bits (0..31) to occupy. Successive type elements of Bits or Bool are successively without gaps stored in memory. If the number of bits exceeds the 32-bit border (only for number of bits > 24), the alignment is padded to the next byte. elemname As Bits n ( 1 <= n <= 31 ) .topic 1863 Debug.{property | method} [= value] value = Debug.{property | method} - Sets or Returns the properties or actions the methods of the Debug object. Available properties are: BackColor, ForeColor, Left, Top, Height, Width, hWnd, OnTop, Visible Available methods are: Assert, Clear, Hide, Print, Show, Trace .topic 1864 SetPrinterHDC = object.hDC - Sets Printer by reference to printer object's device context handle. .topic 1865 SetPrinterHDNHDM .topic 1866 SetPrinterByName pname$ - Sets a printer by its name. .topic 1867 Output = object - Redirects the output to a Form or Printer object. .topic 1869 Obsolete, for compatibility reason implemented. API-Functions AccessResource(x,x) AllocDStoCSAlias(x) AllocResource(x,x,x) AllocSelector(x) ChangeSelector(x,x) MakeProcInstance(x,x) FreeProcInstance(x) FreeSelector(x) GetCodeHandle(x) GetCodeInfo(x,x) GetCurrentPDB() GetEnvironment(x,x,x) GetInstanceData(x,x,x) GetKBCodePage() GetTempDrive(x) GlobalCompact(x) GlobalFix(x) GlobalLRUNewest(x) GlobalLRUOldest(x) GlobalNotify(x) GlobalPageLock(x) GlobalPageUnlock(x) GlobalUnfix(x) GlobalUnWire(x) GlobalWire(x) LimitEMSPages(x) LocalCompact(x) LocalInit(x,x,x) LocalNotify(x) LocalShrink(x,x) LockData(x) LockSegment(x) .topic 1870 Atom Mangement API Functions AddAtom(lpString As Long) As Word DeleteAtom(ByVal nAtom As Word) As Word FindAtom(lpString As Long) As Word GetAtomName(ByVal nAtom As Word, lpBuffer As Long, ByVal nSize As Long) As Long GlobalAddAtom(lpString As Long) As Word GlobalDeleteAtom(ByVal nAtom As Word) As Word GlobalFindAtom(lpString As Long) As Word GlobalGetAtomName(ByVal nAtom As Word, lpBuffer As Long, ByVal nSize As Long) As Long InitAtomTable(ByVal nSize As Long) As Long .topic 1871 API-Function AddFontResource(lpFileName As Long) As Long .topic 1872 API-Functions AdjustWindowRect(lpRect As RECT, ByVal dwStyle As Long, ByVal bMenu As Long) As Long AdjustWindowRectEx(lpRect As RECT, ByVal dsStyle As Long, ByVal bMenu As Long, ByVal dwEsStyle As Long) As Long .topic 1877 GDI-Palette Functions AnimatePalette(ByVal hPalette As Long, ByVal wStartIndex As Long, ByVal wNumEntries As Long, lpPaletteColors As PALETTEENTRY) As Long CreatePalette(lpLogPalette As Long) As Long GetNearestPaletteIndex(ByVal hPalette As Long, ByVal crColor As Long) As Long GetPaletteEntries(ByVal hPalette As Long, ByVal wStartIndex As Long, ByVal wNumEntries As Long, lpPaletteEntries As PALETTEENTRY) As Long GetSystemPaletteEntries(ByVal hdc As Long, ByVal wStartIndex As Long, ByVal wNumEntries As Long, lpPaletteEntries As PALETTEENTRY) As Long GetSystemPaletteUse(ByVal hdc As Long) As Long RealizePalette(ByVal hdc As Long) As Long ResizePalette(ByVal hPalette As Long, ByVal nNumEntries As Long) As Long SelectPalette(ByVal hdc As Long, ByVal hPalette As Long, ByVal bForceBackground As Long) As Long SetPaletteEntries(ByVal hPalette As Long, ByVal wStartIndex As Long, ByVal wNumEntries As Long, lpPaletteEntries As PALETTEENTRY) As Long SetSystemPaletteUse(ByVal hdc As Long, ByVal uUsage As Long) As Long CreateHalftonePalette(ByVal hdc As Long) As Long .topic 1878 String Manipulation API-Functions AnsiLower(x) Obsolete, for compatibility reason implemented. CharLower(lpsz As Long) As Long AnsiLowerBuff(x,x) Obsolete, for compatibility reason implemented.? CharLowerBuff(lpsz As Long, ByVal cchLength As Long) As Long AnsiNext(x) Obsolete, for compatibility reason implemented. CharNext(lpsz As Long) As Long AnsiPrev(x,x) Obsolete, for compatibility reason implemented. CharPrev(lpszStart As Long, lpszCurrent As Long) As Long AnsiToOem(x,x) Obsolete, for compatibility reason implemented. CharToOem(lpszSrc As Long, lpszDst As Long) As Long AnsiToOemBuff(x,x,x) Obsolete, for compatibility reason implemented. CharToOemBuff(lpszSrc As Long, lpszDst As Long, ByVal cchDstLength As Long) As Long AnsiUpper(x) Obsolete, for compatibility reason implemented. CharUpper(lpsz As Long) As Long AnsiUpperBuff(x,x) Obsolete, for compatibility reason implemented. CharUpperBuff(lpsz As Long, ByVal cchLength As Long) As Long OemToAnsi(x,x) Obsolete, for compatibility reason implemented. OemToChar(lpszSrc As Long, lpszDst As Long) As Long OemToCharBuff(lpszSrc As Long, lpszDst As Long, ByVal cchDstLength As Long) As Long OemToAnsiBuff(x,x,x) Obsolete, for compatibility reason implemented. .topic 1886 API-Functions AnyPopup() As Long AppendMenu(ByVal hMenu As Long, ByVal uFlags As Long, ByVal uIDNewItem As Long, lpNewItem As Long) As Long InsertMenu(ByVal hMenu As Long, ByVal dwPosition As Long, ByVal dwFlags As Long, ByVal dwIDNewItem As Long, lpNewItem As Long) As Long ChangeMenu(ByVal hMenu As Long, ByVal cmd As Long, lpszNewItem As Long, ByVal cmdInsert As Long, ByVal flags As Long) As Long DeleteMenu(ByVal hMenu As Long, ByVal nPosition As Long, ByVal wFlags As Long) As Long CheckMenuItem(ByVal hMenu As Long, ByVal uIDCheckItem As Long, ByVal uCheck As Long) As Long CreateMenu() As Long CreatePopupMenu() As Long DestroyMenu(ByVal hMenu As Long) As Long GetMenu(ByVal hWnd As Long) As Long GetSubMenu(ByVal hMenu As Long, ByVal nPos As Long) As Long GetSystemMenu(ByVal hWnd As Long, ByVal bRevert As Long) As Long GetMenuCheckMarkDimensions() As Long GetMenuItemCount(ByVal hMenu As Long) As Long GetMenuItemID(ByVal hMenu As Long, ByVal nPos As Long) As Long GetMenuState(ByVal hMenu As Long, ByVal dwID As Long, ByVal dwFlags As Long) As Long GetMenuString(ByVal hMenu As Long, ByVal uIDItem As Long, lpString As Long, ByVal nMaxCount As Long, ByVal uFlag As Long) As Long ModifyMenu(ByVal hMenu As Long, ByVal dwPosition As Long, ByVal dwFlags As Long, ByVal dwIDNewItem As Long, lpString As Long) As Long RemoveMenu(ByVal hMenu As Long, ByVal nPosition As Long, ByVal wFlags As Long) As Long SetMenuItemBitmaps(ByVal hMenu As Long, ByVal nPosition As Long, ByVal wFlags As Long, ByVal hBitmapUnchecked As Long, ByVal hBitmapChecked As Long) As Long SetMenu(ByVal hWnd As Long, ByVal hMenu As Long) As Long TrackPopupMenu(ByVal hMenu As Long, ByVal uFlags As Long, ByVal x As Long, ByVal y As Long, ByVal nReserved As Long, ByVal hWnd As Long, lprc As RECT) As Long TrackPopupMenuEx(ByVal hMenu As Long, ByVal uFlags As Long, ByVal x As Long, ByVal y As Long, ByVal hWnd As Long, lpTPMParams As TPMPARAMS) As Long LoadMenu(ByVal hInstance As Long, lpString As Long) As Long IsMenu(ByVal hMenu As Long) As Long DrawMenuBar(ByVal hWnd As Long) As Long .topic 1888 GDI Shape API-Functions Arc(ByVal hdc As Long, ByVal X1 As Long, ByVal Y1 As Long, ByVal X2 As Long, ByVal Y2 As Long, ByVal X3 As Long, ByVal Y3 As Long, ByVal X4 As Long, ByVal Y4 As Long) As Long Ellipse(ByVal hdc As Long, ByVal X1 As Long, ByVal Y1 As Long, ByVal X2 As Long, ByVal Y2 As Long) As Long Pie(ByVal hdc As Long, ByVal X1 As Long, ByVal Y1 As Long, ByVal X2 As Long, ByVal Y2 As Long, ByVal X3 As Long, ByVal Y3 As Long, ByVal X4 As Long, ByVal Y4 As Long) As Long Chord(ByVal hdc As Long, ByVal X1 As Long, ByVal Y1 As Long, ByVal X2 As Long, ByVal Y2 As Long, ByVal X3 As Long, ByVal Y3 As Long, ByVal X4 As Long, ByVal Y4 As Long) As Long ArcTo(ByVal hdc As Long, ByVal X1 As Long, ByVal Y1 As Long, ByVal X2 As Long, ByVal Y2 As Long, ByVal X3 As Long, ByVal Y3 As Long, ByVal X4 As Long, ByVal Y4 As Long) As Long .topic 1889 API-Function ArrangeIconicWindows(ByVal hWnd As Long) As Long .topic 1890 API-Function BeginDeferWindowPos(ByVal nNumWindows As Long) As Long .topic 1891 API-Function BeginPaint(ByVal hWnd As Long, lpPaint As PAINTSTRUCT) As Long .topic 1892 API-Function BitBlt(ByVal hDestDC As Long, ByVal x As Long, ByVal y As Long, ByVal nWidth As Long, ByVal nHeight As Long, ByVal hSrcDC As Long, ByVal xSrc As Long, ByVal ySrc As Long, ByVal dwRop As Long) As Long .topic 1893 API-Function BringWindowToTop(ByVal hWnd As Long) As Long .topic 1894 API-Function BuildCommDCB(lpString As Long) As Word .topic 1895 API-Function CallMsgFilter(lpString As Long) As Word .topic 1896 API-Function CallWindowProc(ByVal lpPrevWndFunc As Long, ByVal hWnd As Long, ByVal uMsg As Long, ByVal wParam As Long, ByVal lParam As Long) As Long .topic 1897 Obsolete, for compatibility reason implemented. API-Functions SetEnvironment(x,x,x) SetResourceHandler(x,x,x) SetSwapAreaSize(x) SwitchStackBack() SwitchStackTo(x,x,x) Catch(x) Throw(x,x) GetWinFlags() UnlockData(x) UnlockSegment(x) ValidateCodeSegments() ValidateFreeSpaces() GlobalDosAlloc(x) GlobalDosFree(x) GetModuleUsage(x) EnableHardwareInput(x) SwapRecording(x) GetDOSEnvironment() GetSysModalWindow() GetAtomHandle(x) IsTwoByteCharPrefix(x) CloseComm(x) OpenComm(x,x,x) ReadComm(x,x,x) WriteComm(x,x,x) GetCommError(x,x) FlushComm(x,x) GetCommEventMask(x,x) SetCommEventMask(x,x) UngetCommChar(x,x) .topic 1898 Clipboard API-Functions OpenClipboard(ByVal hWnd As Long) As Long CloseClipboard() As Long EmptyClipboard() As Long GetClipboardData(ByVal uFormat As Long) As Long SetClipboardData(ByVal dwFormat As Long, ByVal hMem As Long) As Long IsClipboardFormatAvailable(ByVal dwFormat As Long) As Long CountClipboardFormats() As Long GetPriorityClipboardFormat(lpPriorityList As Long, ByVal nCount As Long) As Long GetClipboardFormatName(ByVal uFormat As Long, lpString As Long, ByVal nMaxCount As Long) As Long GetClipboardOwner() As Long GetClipboardViewer() As Long SetClipboardViewer(ByVal hWnd As Long) As Long RegisterClipboardFormat(lpString As Long) As Long EnumClipboardFormats(ByVal uFormat As Long) As Long ChangeClipboardChain(ByVal hWnd As Long, ByVal hWndNext As Long) As Long GetOpenClipboardWindow() As Long .topic 1901 API-Function CheckDlgButton(ByVal hDlg As Long, ByVal nIDButton As Long, ByVal uCheck As Long) As Long .topic 1903 API-Function CheckRadioButton(ByVal hDlg As Long, ByVal nIDFirstButton As Long, ByVal nIDLastButton As Long, ByVal nIDCheckButton As Long) As Long .topic 1904 API-Function ChildWindowFromPoint(ByVal hwndParent As Long, ByVal x As Long, ByVal y As Long) As Long .topic 1906 Communication Functions API-Functions EscapeCommFunction(ByVal nCid As Long, ByVal nFunc As Long) As Long ClearCommError(ByVal hFile As Long, lpErrors As Long, lpStat As COMSTAT) As Long ClearCommBreak(ByVal nCid As Long) As Long GetCommState(ByVal nCid As Long, lpDCB As DCB) As Long SetupComm(ByVal hFile As Long, ByVal dwInQueue As Long, ByVal dwOutQueue As Long) As Long GetCommConfig(ByVal hCommDev As Long, lpCC As COMMCONFIG, lpdwSize As Long) As Long GetCommMask(ByVal hFile As Long, lpEvtMask As Long) As Long GetCommProperties(ByVal hFile As Long, lpCommProp As Long) As Long GetCommModemStatus(ByVal hFile As Long, lpModemStat As Long) As Long GetCommTimeouts(ByVal hFile As Long, lpCommTimeouts As COMMTIMEOUTS) As Long PurgeComm(ByVal hFile As Long, ByVal dwFlags As Long) As Long SetCommConfig(ByVal hCommDev As Long, lpCC As COMMCONFIG, ByVal dwSize As Long) As Long SetCommMask(ByVal hFile As Long, ByVal dwEventMask As Long) As Long SetCommTimeouts(ByVal hFile As Long, lpCommTimeouts As COMMTIMEOUTS) As Long WaitCommEvent(ByVal hFile As Long, lpEvtMask As Long, lpOverlapped As OVERLAPPED) As Long SetCommBreak(ByVal nCid As Long) As Long SetCommState(ByVal hCommDev As Long, lpDCB As DCB) As Long TransmitCommChar(ByVal nCid As Long, ByVal cChar As Byte) As Long BuildCommDCBAndTimeouts(lpDef As Long, lpDCB As DCB, lpCommTimeouts As COMMTIMEOUTS) As Long CommConfigDialog(lpszName As Long, ByVal hWnd As Long, lpCC As COMMCONFIG) As Long GetDefaultCommConfig(lpszName As Long, lpCC As COMMCONFIG, lpdwSize As Long) As Long SetDefaultCommConfig(lpszName As Long, lpCC As COMMCONFIG, ByVal dwSize As Long) As Long .topic 1907 API-Function ClientToScreen(ByVal hWnd As Long, lpPoint As POINTAPI) As Long .topic 1908 API-Function ClipCursor(lpRect As Long) As Long .topic 1911 API-Functions CreateMetaFile(lpString As Long) As Long CloseMetaFile(ByVal hMF As Long) As Long CopyMetaFile(ByVal hMF As Long, lpFileName As Long) As Long DeleteMetaFile(ByVal hMF As Long) As Long EnumMetaFile(ByVal hDC As Long, ByVal hMetafile As Long, ByVal lpMFEnumProc As Long, ByVal lParam As Long) As Long GetMetaFile(lpFileName As Long) As Long PlayMetaFileRecord(ByVal hdc As Long, lpHandletable As HANDLETABLE, lpMetaRecord As METARECORD, ByVal nHandles As Long) As Long PlayMetaFile(ByVal hdc As Long, ByVal hMF As Long) As Long CreateEnhMetaFile(ByVal hdcRef As Long, lpFileName As Long, lpRect As RECT, lpDescription As Long) As Long CloseEnhMetaFile(ByVal hdc As Long) As Long CopyEnhMetaFile(ByVal hemfSrc As Long, lpszFile As Long) As Long DeleteEnhMetaFile(ByVal hemf As Long) As Long EnumEnhMetaFile(ByVal hdc As Long, ByVal hemf As Long, ByVal lpEnhMetaFunc As Long, lpData As Long, lpRect As RECT) As Long GetEnhMetaFile(lpszMetaFile As Long) As Long PlayEnhMetaFile(ByVal hdc As Long, ByVal hemf As Long, lpRect As RECT) As Long PlayEnhMetaFileRecord(ByVal hdc As Long, lpHandletable As HANDLETABLE, lpEnhMetaRecord As ENHMETARECORD, ByVal nHandles As Long) As Long GetMetaRgn(ByVal hdc As Long, ByVal hRgn As Long) As Long SetMetaRgn(ByVal hdc As Long) As Long GetMetaFileBitsEx(ByVal hMF As Long, ByVal nSize As Long, lpvData As Long) As Long SetMetaFileBitsEx(ByVal nSize As Long, lpData As Byte) As Long SetWinMetaFileBits(ByVal cbBuffer As Long, lpbBuffer As Byte, ByVal hdcRef As Long, lpmfp As METAFILEPICT) As Long GetWinMetaFileBits(ByVal hemf As Long, ByVal cbBuffer As Long, lpbBuffer As Byte, ByVal fnMapMode As Long, ByVal hdcRef As Long) As Long GetEnhMetaFileBits(ByVal hemf As Long, ByVal cbBuffer As Long, lpbBuffer As Byte) As Long SetEnhMetaFileBits(ByVal cbBuffer As Long, lpData As Byte) As Long GetEnhMetaFileHeader(ByVal hemf As Long, ByVal cbBuffer As Long, lpemh As ENHMETAHEADER) As Long GetEnhMetaFileDescription(ByVal hemf As Long, ByVal cchBuffer As Long, lpszDescription As Long) As Long GetEnhMetaFilePaletteEntries(ByVal hemf As Long, ByVal cEntries As Long, lppe As PALETTEENTRY) As Long .topic 1912 Obsolete, for compatibility reason implemented. Sound API-Functions CloseSound() CountVoiceNotes(x) GetThresholdEvent() GetThresholdStatus() OpenSound() SetSoundNoise(x,x) SetVoiceAccent(x,x,x,x,x) SetVoiceEnvelope(x,x,x) SetVoiceNote(x,x,x,x) SetVoiceQueueSize(x,x) SetVoiceSound(x,x,x) SetVoiceThreshold(x,x) StartSound() StopSound() SyncAllVoices() WaitSoundState(x) .topic 1913 API-Functions GetWindowDC(ByVal hWnd As Long) As Long GetWindowRect(ByVal hWnd As Long, lpRect As RECT) As Long GetWindowTask(x) Obsolete, for compatibility reason implemented. GetWindowThreadProcessId(ByVal hWnd As Long, lpdwProcessId As Long) As Long GetWindow(ByVal hWnd As Long, ByVal wCmd As Long) As Long GetNextWindow(x,x) Obsolete, for compatibility reason implemented. GetWindowLong(ByVal hWnd As Long, ByVal nIndex As Long) As Long SetWindowLong(ByVal hWnd As Long, ByVal nIndex As Long, ByVal lNewLong As Long) As Long GetWindowText(ByVal hWnd As Long, lpString As Long, ByVal cch As Long) As Long SetWindowText(ByVal hWnd As Long, lpString As Long) As Long GetWindowTextLength(ByVal hWnd As Long) As Long GetWindowWord(ByVal hWnd As Long, ByVal nIndex As Long) As Long SetWindowWord(ByVal hWnd As Long, ByVal nIndex As Long, ByVal wNewWord As Word) As Word GetWindowContextHelpId(ByVal hWnd As Long) As Long SetWindowContextHelpId(ByVal hWnd As Long, ByVal dwContextHelpId As Long) As Long GetWindowRgn(ByVal hWnd As Long, ByVal hRgn As Long) As Long SetWindowRgn(ByVal hWnd As Long, ByVal hRgn As Long, ByVal bRedraw As Long) As Long GetWindowPlacement(ByVal hWnd As Long, lpwndpl As WINDOWPLACEMENT) As Long SetWindowPlacement(ByVal hWnd As Long, lpwndpl As WINDOWPLACEMENT) As Long SetWindowPos(ByVal hWnd As Long, ByVal hWndInsertAfter As Long, ByVal x As Long, ByVal y As Long, ByVal cx As Long, ByVal cy As Long, ByVal wFlags As Long) As Long SetWindowsHook(ByVal nFilterType As Long, ByVal pfnFilterProc As Long) As Long CloseWindow(ByVal hWnd As Long) As Long CreateWindow(cl,cap,sty,x,y,w,h,hPar,hMenu_Id,inst,par) Obsolete, for compatibility reason implemented. CreateWindowEx(ByVal dwExStyle As Long, lpClassName As Long, lpWindowName As Long, ByVal dwStyle As Long, ByVal x As Long, ByVal y As Long, ByVal nWidth As Long, ByVal nHeight As Long, ByVal hWndParent As Long, ByVal hMenu As Long, ByVal hInstance As Long, lpParam As Long) As Long .topic 1914 API-Function CombineRgn(ByVal hDestRgn As Long, ByVal hSrcRgn1 As Long, ByVal hSrcRgn2 As Long, ByVal nCombineMode As Long) As Long .topic 1917 API-Function CopyRect(lpDestRect As RECT, lpSourceRect As RECT) As Long .topic 1920 API-Function CreateBitmapIndirect(lpBitmap As BITMAP) As Long .topic 1921 API-Function CreateBitmap(ByVal nWidth As Long, ByVal nHeight As Long, ByVal nPlanes As Long, ByVal nBitCount As Long, lpBits As Long) As Long .topic 1922 API-Function CreateBrushIndirect(lpLogBrush As LOGBRUSH) As Long .topic 1923 API-Function CreateCaret(ByVal hWnd As Long, ByVal hBitmap As Long, ByVal nWidth As Long, ByVal nHeight As Long) As Long .topic 1924 API-Function CreateCompatibleBitmap(ByVal hdc As Long, ByVal nWidth As Long, ByVal nHeight As Long) As Long .topic 1925 API-Function CreateCompatibleDC(ByVal hdc As Long) As Long .topic 1926 API-Function CreateCursor(ByVal hInstance As Long, ByVal nXhotspot As Long, ByVal nYhotspot As Long, ByVal nWidth As Long, ByVal nHeight As Long, lpANDbitPlane As Long, lpXORbitPlane As Long) As Long .topic 1927 API-Function CreateDC(lpDriverName As Long, lpDeviceName As Long, lpOutput As Long, lpInitData As DEVMODE) As Long .topic 1928 API-Function CreateDialogIndirectParam(ByVal hInstance As Long, lpTemplate As DLGTEMPLATE, ByVal hWndParent As Long, ByVal lpDialogFunc As Long, ByVal dwInitParam As Long) As Long .topic 1929 API-Function CreateDialogIndirect(x) Obsolete, for compatibility reason implemented. .topic 1930 API-Function CreateDialogParam(ByVal hInstance As Long, lpName As Long, ByVal hwndParent As Long, ByVal lpDialogFunc As Long, ByVal lParamInit As Long) As Long .topic 1931 API-Function CreateDialog(x) Obsolete, for compatibility reason implemented. .topic 1932 API-Function CreateDIBitmap(ByVal hdc As Long, lpInfoHeader As BITMAPINFOHEADER, ByVal dwUsage As Long, lpInitBits As Long, lpInitInfo As BITMAPINFO, ByVal wUsage As Long) As Long .topic 1933 API-Function CreateDIBPatternBrush(ByVal hPackedDIB As Long, ByVal wUsage As Long) As Long .topic 1934 API-Function CreateDiscardableBitmap(ByVal hdc As Long, ByVal nWidth As Long, ByVal nHeight As Long) As Long .topic 1935 API-Function CreateEllipticRgnIndirect(lpRect As RECT) As Long .topic 1936 API-Function CreateEllipticRgn(ByVal X1 As Long, ByVal Y1 As Long, ByVal X2 As Long, ByVal Y2 As Long) As Long .topic 1937 API-Function CreateFontIndirect(lpLogFont As LOGFONT) As Long .topic 1938 API-Function CreateFont(ByVal nHeight As Long, ByVal nWidth As Long, ByVal nEscapement As Long, ByVal nOrientation As Long, ByVal fnWeight As Long, ByVal fdwItalic As Long, ByVal fdwUnderline As Long, ByVal fdwStrikeOut As Long, ByVal fdwCharSet As Long, ByVal fdwOutputPrecision As Long, ByVal fdwClipPrecision As Long, ByVal fdwQuality As Long, ByVal fdwPitchAndFamily As Long, lpszFace As Long) As Long .topic 1939 API-Function CreateHatchBrush(ByVal nIndex As Long, ByVal crColor As Long) As Long .topic 1940 API-Function CreateIcon(ByVal hInstance As Long, ByVal nWidth As Long, ByVal nHeight As Long, ByVal nPlanes As Byte, ByVal nBitsPixel As Byte, lpANDbits As Byte, lpXORbits As Byte) As Long .topic 1941 API-Function CreateIC(lpDriverName As Long, lpDeviceName As Long, lpOutput As Long, lpInitData As DEVMODE) As Long .topic 1945 API-Function CreatePatternBrush(ByVal hBitmap As Long) As Long .topic 1946 API-Function CreatePenIndirect(lpLogPen As LOGPEN) As Long .topic 1947 API-Function CreatePen(ByVal nPenStyle As Long, ByVal nWidth As Long, ByVal crColor As Long) As Long .topic 1948 API-Function CreatePolygonRgn(lpPoint As POINTAPI, ByVal nCount As Long, ByVal nPolyFillMode As Long) As Long .topic 1949 API-Function CreatePolyPolygonRgn(lpPoint As POINTAPI, lpPolyCounts As Long, ByVal nCount As Long, ByVal nPolyFillMode As Long) As Long .topic 1951 API-Function CreateRectRgnIndirect(lpRect As RECT) As Long .topic 1952 API-Function CreateRectRgn(ByVal X1 As Long, ByVal Y1 As Long, ByVal X2 As Long, ByVal Y2 As Long) As Long .topic 1953 API-Function CreateRoundRectRgn(ByVal X1 As Long, ByVal Y1 As Long, ByVal X2 As Long, ByVal Y2 As Long, ByVal X3 As Long, ByVal Y3 As Long) As Long .topic 1954 API-Function CreateSolidBrush(ByVal crColor As Long) As Long .topic 1957 API-Function DebugBreak() .topic 1958 API-Function DefDlgProc(ByVal hDlg As Long, ByVal uMsg As Long, ByVal wParam As Long, ByVal lParam As Long) As Long .topic 1959 API-Function DeferWindowPos(ByVal hWinPosInfo As Long, ByVal hWnd As Long, ByVal hWndInsertAfter As Long, ByVal x As Long, ByVal y As Long, ByVal cx As Long, ByVal cy As Long, ByVal wFlags As Long) As Long .topic 1960 API-Function DefFrameProc(ByVal hWnd As Long, ByVal hWndMDIClient As Long, ByVal uMsg As Long, ByVal wParam As Long, ByVal lParam As Long) As Long .topic 1962 API-Function DefMDIChildProc(ByVal hWnd As Long, ByVal uMsg As Long, ByVal wParam As Long, ByVal lParam As Long) As Long .topic 1963 API-Function DefWindowProc(ByVal hWnd As Long, ByVal uMsg As Long, ByVal wParam As Long, ByVal lParam As Long) As Long .topic 1965 API-Function DeleteDC(ByVal hdc As Long) As Long .topic 1968 API-Function DeleteObject(ByVal hObject As Long) As Long .topic 1969 API-Function DestroyCaret() As Long .topic 1970 API-Function DestroyCursor(ByVal hCursor As Long) As Long .topic 1971 API-Function DestroyIcon(ByVal hIcon As Long) As Long .topic 1973 API-Function DestroyWindow(ByVal hWnd As Long) As Long .topic 1974 API-Functions DialogBoxIndirectParam(ByVal hInstance As Long, hDialogTemplate As DLGTEMPLATE, ByVal hwndParent As Long, ByVal lpDialogFunc As Long, ByVal dwInitParam As Long) As Long DialogBoxIndirect(x) Obsolete, for compatibility reason implemented. DialogBoxParam(ByVal hInstance As Long, lpTemplateName As Long, ByVal hwndParent As Long, ByVal lpDialogFunc As Long, ByVal dwInitParam As Long) As Long DialogBox(x) Obsolete, for compatibility reason implemented. .topic 1978 Message API-Functions GetMessage(lpMsg As tagMSG, ByVal hWnd As Long, ByVal uMsgFilterMin As Long, ByVal uMsgFilterMax As Long) As Long PeekMessage(lpMsg As tagMSG, ByVal hWnd As Long, ByVal dwMsgFilterMin As Long, ByVal dwMsgFilterMax As Long, ByVal dwRemoveMsg As Long) As Long WaitMessage() As Long PostMessage(ByVal hWnd As Long, ByVal dwMsg As Long, ByVal wParam As Long, ByVal lParam As Long) As Long PostQuitMessage(ByVal nExitCode As Long PostThreadMessage(ByVal idThread As Long, ByVal uMsg As Long, ByVal wParam As Long, ByVal lParam As Long) As Long SendMessage(ByVal hWnd As Long, ByVal dwMsg As Long, ByVal wParam As Long, ByVal lParam As Long) As Long SendMessageCallback(ByVal hWnd As Long, ByVal dwMsg As Long, ByVal wParam As Long, ByVal lParam As Long, ByVal lpResultCallBack As Long, ByVal dwData As Long) As Long SendMessageTimeout(ByVal hWnd As Long, ByVal dwMsg As Long, ByVal wParam As Long, ByVal lParam As Long, ByVal fuFlags As Long, ByVal uTimeout As Long, lpdwResult As Long) As Long SendNotifyMessage(ByVal hWnd As Long, ByVal dwMsg As Long, ByVal wParam As Long, ByVal lParam As Long) As Long SendDlgItemMessage(ByVal hDlg As Long, ByVal nIDDlgItem As Long, ByVal wMsg As Long, ByVal wParam As Long, ByVal lParam As Long) As Long InSendMessage() As Long ReplyMessage(ByVal lReply As Long) As Long TranslateMessage(lpMsg As tagMSG) As Long TranslateAccelerator(ByVal hWnd As Long, ByVal hAccTable As Long, lpMsg As tagMSG) As Long TranslateMDISysAccel(ByVal hWndClient As Long, lpMsg As tagMSG) As Long DispatchMessage(lpMsg As tagMSG) As Long IsDialogMessage(ByVal hDlg As Long, lpMsg As tagMSG) As Long RegisterWindowMessage(lpString As Long) As Long GetMessagePos() As Long GetMessageTime() As Long GetMessageExtraInfo() As Long SetMessageExtraInfo(ByVal lParam As Long) As Long SetMessageQueue(ByVal cMessagesMax As Long) As Long .topic 1979 API-Functions DlgDirList(ByVal hDlg As Long, lpPathSpec As Long, ByVal nIDListBox As Long, ByVal nIDStaticPath As Long, ByVal uFileType As Long) As Long DlgDirSelect(x,x,x) Obsolete, for compatibility reason implemented. DlgDirSelectEx(ByVal hWndDlg As Long, lpszPath As Long, ByVal cbPath As Long, ByVal idListBox As Long) As Long DlgDirListComboBox(ByVal hDlg As Long, lpPathSpec As Long, ByVal nIDComboBox As Long, ByVal nIDStaticPath As Long, ByVal uFileType As Long) As Long DlgDirSelectComboBox(x,x,x) Obsolete, for compatibility reason implemented. DlgDirSelectComboBoxEx(ByVal hWndDlg As Long, lpszPath As Long, ByVal cbPath As Long, ByVal idComboBox As Long) As Long .topic 1983 API-Function DPtoLP(ByVal hdc As Long, lpPoint As POINTAPI, ByVal nCount As Long) As Long .topic 1984 API-Function DrawFocusRect(ByVal hDC As Long, lpRect As RECT) As Long .topic 1985 API-Function DrawIcon(ByVal hDC As Long, ByVal x As Long, ByVal y As Long, ByVal hIcon As Long) As Long .topic 1987 GDI Text API-Functions ExtTextOut(ByVal hdc As Long, ByVal x As Long, ByVal y As Long, ByVal dwOptions As Long, lpRect As RECT, lpString As Long, ByVal nCount As Long, lpDx As Long) As Long TabbedTextOut(ByVal hDC As Long, ByVal x As Long, ByVal y As Long, lpString As Long, ByVal nCount As Long, ByVal nTabPositions As Long, lpnTabStopPositions As Long, ByVal nTabOrigin As Long) As Long TextOut(ByVal hdc As Long, ByVal x As Long, ByVal y As Long, lpString As Long, ByVal nCount As Long) As Long DrawText(ByVal hDC As Long, lpStr As Long, ByVal nCount As Long, lpRect As RECT, ByVal uFormat As Long) As Long DrawTextEx(ByVal hDC As Long, lpsz As Long, ByVal n As Long, lpRect As RECT, ByVal dwDTFormat As Long, lpDrawTextParams As DRAWTEXTPARAMS) As Long GrayString(ByVal hDC As Long, ByVal hBrush As Long, ByVal lpOutputFunc As Long, ByVal lpData As Long, ByVal nCount As Long, ByVal X As Long, ByVal Y As Long, ByVal nWidth As Long, ByVal nHeight As Long) As Long PolyTextOut(ByVal hdc As Long, pptxt As POLYTEXT, cStrings As Long) As Long .topic 1991 API-Function EnableMenuItem(ByVal hMenu As Long, ByVal uIDEnableItem As Long, ByVal uEnable As Long) As Long .topic 1992 API-Function EnableWindow(ByVal hWnd As Long, ByVal fEnable As Long) As Long .topic 1993 API-Function EndDeferWindowPos(ByVal hWinPosInfo As Long) As Long .topic 1994 API-Function EndDialog(ByVal hDlg As Long, ByVal nResult As Long) As Long .topic 1995 API-Function EndPaint(ByVal hWnd As Long, lpPaint As PAINTSTRUCT) As Long .topic 1996 API-Functions EnumChildWindows(ByVal hwndParent As Long, ByVal lpEnumFunc As Long, ByVal lParam As Long) As Long EnumFonts(ByVal hDC As Long, lpsz As Long, ByVal lpFontEnumProc As Long, ByVal lParam As Long) As Long EnumObjects(ByVal hDC As Long, ByVal n As Long, ByVal lpGOBJEnumProc As Long, lpVoid As Long) As Long EnumProps(ByVal hWnd As Long, ByVal lpEnumFunc As Long) As Long EnumPropsEx(ByVal hWnd As Long, ByVal lpEnumFunc As Long, ByVal lParam As Long) As Long EnumWindows(ByVal lpEnumFunc As Long, ByVal lParam As Long) As Long EnumFontFamiliesEx(ByVal hdc As Long, lpLogFont As LOGFONT, ByVal lpEnumFontProc As Long, ByVal lParam As Long, ByVal dw As Long) As Long EnumFontFamilies(ByVal hdc As Long, lpszFamily As Long, ByVal lpEnumFontFamProc As Long, ByVal lParam As Long) As Long EnumThreadWindows(ByVal dwThreadId As Long, ByVal lpfn As Long, ByVal lParam As Long) As Long EnumTaskWindows(x,x,x) Obsolete, for compatibility reason implemented. EnumDisplaySettings(lpszDeviceName As Long, ByVal iModeNum As Long, lpDevMode As DEVMODE) As Long .topic 2004 API-Function EqualRect(lpRect1 As RECT, lpRect2 As RECT) As Long .topic 2005 API-Function EqualRgn(ByVal hSrcRgn1 As Long, ByVal hSrcRgn2 As Long) As Long .topic 2008 API-Function ExcludeClipRect(ByVal hdc As Long, ByVal X1 As Long, ByVal Y1 As Long, ByVal X2 As Long, ByVal Y2 As Long) As Long .topic 2009 API-Function ExcludeUpdateRgn(ByVal hDC As Long, ByVal hWnd As Long) As Long .topic 2010 API-Function ExitWindows(ByVal dwReserved As Long, ByVal uReturnCode As Long) As Long .topic 2011 API-Function ExtFloodFill(ByVal hdc As Long, ByVal x As Long, ByVal y As Long, ByVal crColor As Long, ByVal wFillType As Long) As Long .topic 2013 API-Function FatalExit(ByVal code As Long .topic 2014 API-Function FillRect(ByVal hDC As Long, lpRect As RECT, ByVal hBrush As Long) As Long .topic 2015 API-Function FillRgn(ByVal hdc As Long, ByVal hRgn As Long, ByVal hBrush As Long) As Long .topic 2017 API-Function FindResource(ByVal hInstance As Long, lpName As Long, lpType As Long) As Long .topic 2018 API-Function FindWindow(lpClassName As Long, lpWindowName As Long) As Long .topic 2019 API-Function FlashWindow(ByVal hWnd As Long, ByVal bInvert As Long) As Long .topic 2020 API-Function FloodFill(ByVal hdc As Long, ByVal x As Long, ByVal y As Long, ByVal crColor As Long) As Long .topic 2022 API-Function FrameRect(ByVal hDC As Long, lpRect As RECT, ByVal hBrush As Long) As Long .topic 2023 API-Function FrameRgn(ByVal hdc As Long, ByVal hRgn As Long, ByVal hBrush As Long, ByVal nWidth As Long, ByVal nHeight As Long) As Long .topic 2024 API-Function FreeLibrary(hmodule As Long) As Long .topic 2025 API-Function FreeModule(x) Obsolete, for compatibility reason implemented. .topic 2027 API-Function FreeResource(ByVal hResData As Long) As Long .topic 2029 API-Function GetActiveWindow() As Long .topic 2031 API-Function GetAsyncKeyState(ByVal vKey As Long) As Integer .topic 2034 API-Function GetBitmapBits(ByVal hBitmap As Long, ByVal cbBuffer As Long, lpBits As Long) As Long .topic 2036 API-Functions PaintRgn(ByVal hdc As Long, ByVal hRgn As Long) As Long PatBlt(ByVal hdc As Long, ByVal x As Long, ByVal y As Long, ByVal nWidth As Long, ByVal nHeight As Long, ByVal dwRop As Long) As Long Polygon(ByVal hdc As Long, lpPoint As POINTAPI, ByVal nCount As Long) As Long Polyline(ByVal hdc As Long, lpPoint As POINTAPI, ByVal nCount As Long) As Long PolyPolygon(ByVal hdc As Long, lpPoint As POINTAPI, lpPolyCounts As Long, ByVal nCount As Long) As Long Rectangle(ByVal hdc As Long, ByVal X1 As Long, ByVal Y1 As Long, ByVal X2 As Long, ByVal Y2 As Long) As Long RoundRect(ByVal hdc As Long, ByVal X1 As Long, ByVal Y1 As Long, ByVal X2 As Long, ByVal Y2 As Long, ByVal X3 As Long, ByVal Y3 As Long) As Long PtInRect(lpRect As RECT, ByVal ptx As Long, ByVal pty As Long) As Long PtInRegion(ByVal hRgn As Long, ByVal x As Long, ByVal y As Long) As Long PtVisible(ByVal hdc As Long, ByVal x As Long, ByVal y As Long) As Long RectInRegion(ByVal hRgn As Long, lpRect As RECT) As Long RectVisible(ByVal hdc As Long, lpRect As RECT) As Long SaveDC(ByVal hdc As Long) As Long RestoreDC(ByVal hdc As Long, ByVal nSavedDC As Long) As Long SelectClipRgn(ByVal hdc As Long, ByVal hRgn As Long) As Long SelectObject(ByVal hdc As Long, ByVal hObject As Long) As Long GetBkColor(ByVal hdc As Long) As Long SetBkColor(ByVal hdc As Long, ByVal crColor As Long) As Long GetBkMode(ByVal hdc As Long) As Long SetBkMode(ByVal hdc As Long, ByVal nBkMode As Long) As Long GetTextAlign(ByVal hdc As Long) As Long SetTextAlign(ByVal hdc As Long, ByVal dwFlags As Long) As Long GetTextColor(ByVal hdc As Long) As Long SetTextColor(ByVal hdc As Long, ByVal crColor As Long) As Long GetTextCharacterExtra(ByVal hdc As Long) As Long SetTextCharacterExtra(ByVal hdc As Long, ByVal nCharExtra As Long) As Long GetTextFace(ByVal hdc As Long, ByVal nCount As Long, lpFacename As Long) As Long GetTextMetrics(ByVal hdc As Long, lpMetrics As TEXTMETRIC) As Long SetTextJustification(ByVal hdc As Long, ByVal nBreakExtra As Long, ByVal nBreakCount As Long) As Long GetTextExtent(x,x,x) Obsolete, for compatibility reason implemented. GetTextExtentPoint32(ByVal hdc As Long, lpsz As Long, ByVal cbString As Long, lpSize As SIZEL) As Long GetTextExtentPoint(ByVal hdc As Long, lpszString As Long, ByVal cbString As Long, lpSize As SIZEL) As Long GetTextExtentExPoint(ByVal hdc As Long, lpszStr As Long, ByVal cchString As Long, ByVal nMaxExtent As Long, lpnFit As Long, alpDx As Long, lpSize As SIZEL) As Long GetTabbedTextExtent(ByVal hDC As Long, lpString As Long, ByVal nCount As Long, ByVal nTabPositions As Long, lpnTabStopPositions As Long) As Long API-Function ScreenToClient(ByVal hWnd As Long, lpPoint As POINTAPI) As Long .topic 2039 API-Function GetCapture() As Long .topic 2040 API-Function GetCaretBlinkTime() As Long .topic 2041 API-Function GetCaretPos(lpPoint As POINTAPI) As Long .topic 2042 API-Function GetCharWidth(ByVal hdc As Long, ByVal dFirstChar As Long, ByVal dLastChar As Long, lpBuffer As Long) As Long .topic 2047 API-Functions GetClientRect(ByVal hwnd As Long, lpRect As RECT) As Long GetDC(ByVal hWnd As Long) As Long .topic 2052 API-Function GetClipBox(ByVal hdc As Long, lpRect As RECT) As Long .topic 2061 API-Function GetCurrentTime() Obsolete, for compatibility reason implemented. .topic 2062 API-Function GetCursorPos(lpPoint As POINTAPI) As Long .topic 2063 API-Functions OffsetViewportOrg(x,x,x) Obsolete, for compatibility reason implemented. OffsetViewportOrgEx(ByVal hdc As Long, ByVal nX As Long, ByVal nY As Long, lpPoint As POINTAPI) As Long OffsetWindowOrg(x,x,x) Obsolete, for compatibility reason implemented. OffsetWindowOrgEx(ByVal hdc As Long, ByVal nX As Long, ByVal nY As Long, lpPoint As POINTAPI) As Long GetWindowOrg(x) Obsolete, for compatibility reason implemented. GetWindowOrgEx(ByVal hdc As Long, lpPoint As POINTAPI) As Long SetWindowOrg(x,x,x) Obsolete, for compatibility reason implemented. SetWindowOrgEx(ByVal hdc As Long, ByVal nX As Long, ByVal nY As Long, lpPoint As POINTAPI) As Long GetWindowExt(x) Obsolete, for compatibility reason implemented. GetWindowExtEx(ByVal hdc As Long, lpSize As SIZEL) As Long SetWindowExt(x,x,x) Obsolete, for compatibility reason implemented. SetWindowExtEx(ByVal hdc As Long, ByVal nX As Long, ByVal nY As Long, lpSize As SIZEL) As Long ScaleWindowExt(x) Obsolete, for compatibility reason implemented. ScaleWindowExtEx(ByVal hdc As Long, ByVal nXnum As Long, ByVal nXdenom As Long, ByVal nYnum As Long, ByVal nYdenom As Long, lpSize As SIZEL) As Long GetViewportOrg(x) Obsolete, for compatibility reason implemented. GetViewportOrgEx(ByVal hdc As Long, lpPoint As POINTAPI) As Long GetViewportExt(x) Obsolete, for compatibility reason implemented. GetViewportExtEx(ByVal hdc As Long, lpSize As SIZEL) As Long SetViewportExt(x,x,x) Obsolete, for compatibility reason implemented. SetViewportExtEx(ByVal hdc As Long, ByVal nX As Long, ByVal nY As Long, lpSize As SIZEL) As Long SetViewportOrg(x,x,x) Obsolete, for compatibility reason implemented. SetViewportOrgEx(ByVal hdc As Long, ByVal nX As Long, ByVal nY As Long, lpPoint As POINTAPI) As Long ScaleViewportExt(x) Obsolete, for compatibility reason implemented. ScaleViewportExtEx(ByVal hdc As Long, ByVal nXnum As Long, ByVal nXdenom As Long, ByVal nYnum As Long, ByVal nYdenom As Long, lpSize As SIZEL) As Long GetDCOrg(x) Obsolete, for compatibility reason implemented. GetDCOrgEx(ByVal hdc As Long, lpPoint As POINTAPI) As Long .topic 2065 API-Function GetDesktopHwnd() Obsolete, for compatibility reason implemented. .topic 2066 API-Function GetDesktopWindow() As Long .topic 2067 API-Function GetDeviceCaps(ByVal hdc As Long, ByVal nIndex As Long) As Long .topic 2068 API-Function GetDialogBaseUnits() As Long .topic 2069 API-Function GetDIBits(ByVal hdc As Long, ByVal hBitmap As Long, ByVal nStartScan As Long, ByVal nNumScans As Long, lpBits As Long, lpBI As BITMAPINFO, ByVal wUsage As Long) As Long .topic 2070 API-Function GetDlgCtrlID(ByVal hWnd As Long) As Long .topic 2071 API-Function GetDlgItemInt(ByVal hDlg As Long, ByVal nIDDlgItem As Long, ByVal lpTranslated As Long, ByVal bSigned As Long) As Long .topic 2072 API-Function GetDlgItemText(ByVal hDlg As Long, ByVal nIDDlgItem As Long, lpString As Long, ByVal nMaxCount As Long) As Long .topic 2073 API-Function GetDlgItem(ByVal hDlg As Long, ByVal nIDDlgItem As Long) As Long .topic 2075 API-Function GetDoubleClickTime() As Long .topic 2076 API-Function GetDriveType(nDrive As Long) As Long .topic 2078 API-Function GetFocus() As Long .topic 2079 API-Functions GlobalMemoryStatus(lpBuffer As MEMORYSTATUS size = GetFreeSpace(dummy) //emuliated Obsolete, for compatibility reason implemented. .topic 2080 API-Function GetInputState() As Long .topic 2083 API-Function GetKeyboardState(pbKeyState As Byte) As Long .topic 2084 API-Function GetKeyboardType(ByVal nTypeFlag As Long) As Long .topic 2085 API-Function GetKeyNameText(ByVal lParam As Long, lpBuffer As Long, ByVal nSize As Long) As Long .topic 2086 API-Function GetKeyState(ByVal nVirtKey As Long) As Integer .topic 2087 API-Function GetLastActivePopup(ByVal hWndOwner As Long) As Long .topic 2088 API-Function GetMapMode(ByVal hdc As Long) As Long .topic 2100 API-Function GetModuleFileName(ByVal hModule As Long, lpFileName As Long, ByVal nSize As Long) As Long .topic 2101 API-Function GetModuleHandle(lpModuleName As Long) As Long .topic 2103 API-Function GetNearestColor(ByVal hdc As Long, ByVal crColor As Long) As Long .topic 2105 API-Function GetNextDlgGroupItem(ByVal hDlg As Long, ByVal hCtl As Long, ByVal bPrevious As Long) As Long .topic 2106 API-Function GetNextDlgTabItem(ByVal hDlg As Long, ByVal hCtl As Long, ByVal bPrevious As Long) As Long .topic 2109 GetObject API-Functions The following are aliasses for the GetObject API function. The GetObject keyword is in use for OLE automation. GetGdiObject(Byval hObject AS Long, Byval nCount As Long, lpObject As Long) As Long apiGetObject(Byval hObject AS Long, Byval nCount As Long, lpObject As Long) As Long .topic 2111 API-Functions GetParent(ByVal hWnd As Long) As Long SetParent(ByVal hWndChild As Long, ByVal hWndNewParent As Long) As Long IsChild(ByVal hwndParent As Long, ByVal hWnd As Long) As Long IsDlgButtonChecked(ByVal hDlg As Long, ByVal nIDButton As Long) As Long IsIconic(ByVal hWnd As Long) As Long IsRectEmpty(lpRect As RECT) As Long IsWindowEnabled(ByVal hWnd As Long) As Long IsWindowVisible(ByVal hWnd As Long) As Long IsWindow(ByVal hWnd As Long) As Long IsZoomed(ByVal hWnd As Long) As Long .topic 2112 API-Function GetPixel(ByVal hdc As Long, ByVal x As Long, ByVal y As Long) As Long .topic 2113 API-Function GetPolyFillMode(ByVal hdc As Long) As Long .topic 2115 API-Functions GetPrivateProfileInt(lpApplicationName As Long, lpKeyName As Long, ByVal nDefault As Long, lpFileName As Long) As Long GetPrivateProfileString(lpApplicationName As Long, lpKeyName As Long, lpDefault As Long, lpReturnedString As Long, ByVal nSize As Long, lpFileName As Long) As Long GetProfileInt(lpAppName As Long, lpKeyName As Long, ByVal nDefault As Long) As Long GetProfileString(lpAppName As Long, lpKeyName As Long, lpDefault As Long, lpReturnedString As Long, ByVal nSize As Long) As Long WritePrivateProfileString(lpApplicationName As Long, lpKeyName As Long, lpString As Long, lpFileName As Long) As Long WriteProfileString(lpszSection As Long, lpszKeyName As Long, lpszString As Long) As Long .topic 2117 API-Function GetProcAddress(ByVal hModule As Long, lpProcName As Long) As Long .topic 2120 API-Function GetProp(ByVal hWnd As Long, lpString As Long) As Long .topic 2121 API-Function GetRgnBox(ByVal hRgn As Long, lpRect As RECT) As Long .topic 2122 API-Function GetROP2(ByVal hdc As Long) As Long .topic 2123 API-Function GetScrollPos(ByVal hWnd As Long, ByVal nBar As Long) As Long .topic 2124 API-Function GetScrollRange(ByVal hWnd As Long, ByVal nBar As Long, lpMinPos As Long, lpMaxPos As Long) As Long .topic 2125 API-Function GetStockObject(ByVal nIndex As Long) As Long .topic 2126 API-Function GetStretchBltMode(ByVal hdc As Long) As Long .topic 2128 API-Function GetSysColor(ByVal nIndex As Long) As Long .topic 2130 API-Function GetSystemDirectory(lpBuffer As Long, ByVal nSize As Long) As Long .topic 2132 API-Function GetSystemMetrics(ByVal nIndex As Long) As Long .topic 2137 The API function GetTempFileName accepts in GFA-BASIC as the first parameter a 0 (or a number < 65536). It then returns the Temp directory ~GetTempFileName(directory || 0, "PrefixString", n% || 0, V:ReturnBuffer$) .topic 2146 API-Function GetTickCount() As Long .topic 2147 API-Function GetTopWindow(ByVal hWnd As Long) As Long .topic 2148 API-Function GetUpdateRect(ByVal hWnd As Long, lpRect As RECT, ByVal bErase As Long) As Long .topic 2149 API-Function GetUpdateRgn(ByVal hWnd As Long, ByVal hRgn As Long, ByVal fErase As Long) As Long .topic 2150 API-Function GetVersion() As Long .topic 2158 API-Function GetWindowsDirectory(lpBuffer As Long, ByVal nSize As Long) As Long .topic 2166 API-Functions GlobalAlloc(ByVal wFlags As Long, ByVal dwBytes As Long) As Long GlobalDiscard(ByVal hMem As Long) As Long GlobalFlags(ByVal hMem As Long) As Long GlobalFree(ByVal hMem As Long) As Long GlobalHandle(pMem As Long) As Long GlobalLock(ByVal hMem As Long) As Long GlobalReAlloc(ByVal hMem As Long, ByVal dwBytes As Long, ByVal uFlags As Long) As Long GlobalSize(ByVal hMem As Long) As Long GlobalUnlock(ByVal hMem As Long) As Long .topic 2189 API-Function HideCaret(ByVal hWnd As Long) As Long .topic 2190 API-Function HiliteMenuItem(ByVal hWnd As Long, ByVal hMenu As Long, ByVal dwIDHiliteItem As Long, ByVal dwHilite As Long) As Long .topic 2191 API-Function InflateRect(lpRect As RECT, ByVal x As Long, ByVal y As Long) As Long .topic 2195 API-Function IntersectClipRect(ByVal hdc As Long, ByVal X1 As Long, ByVal Y1 As Long, ByVal X2 As Long, ByVal Y2 As Long) As Long .topic 2196 API-Function IntersectRect(lpDestRect As RECT, lpSrc1Rect As RECT, lpSrc2Rect As RECT) As Long .topic 2197 API-Function InvalidateRect(ByVal hWnd As Long, lpRect As RECT, ByVal bErase As Long) As Long .topic 2198 API-Function InvalidateRgn(ByVal hWnd As Long, ByVal hRgn As Long, ByVal bErase As Long) As Long .topic 2199 API-Function InvertRect(ByVal hDC As Long, lpRect As RECT) As Long .topic 2200 API-Function InvertRgn(ByVal hdc As Long, ByVal hRgn As Long) As Long .topic 2201 API-Functions IsCharAlphaNumeric(ByVal cChar As Byte) As Long IsCharAlpha(ByVal cChar As Byte) As Long IsCharLower(ByVal cChar As Byte) As Long IsCharUpper(ByVal cChar As Byte) As Long .topic 2216 API-Function KillTimer(ByVal hWnd As Long, ByVal nIDEvent As Long) As Long .topic 2218 API-Function LineDDA(ByVal n1 As Long, ByVal n2 As Long, ByVal n3 As Long, ByVal n4 As Long, ByVal lpLineDDAProc As Long, ByVal lParam As Long) As Long .topic 2219 API-Function LineTo(ByVal hdc As Long, ByVal x As Long, ByVal y As Long) As Long .topic 2220 API-Function LoadAccelerators(ByVal hInstance As Long, lpTableName As Long) As Long .topic 2221 API-Function LoadBitmap(ByVal hInstance As Long, lpBitmapName As Long) As Long .topic 2222 LoadCursor API-Functions Renamed! LoadResCursor(BYVAL hInstance AS Long, lpCursorName As Long) AS Long apiLoadCursor(BYVAL hInstance AS Long, lpCursorName As Long) AS Long .topic 2223 API-Function LoadIcon(ByVal hInstance As Long, lpIconName As Long) As Long .topic 2224 API-Function LoadLibrary (ByVal lpLibFileName As Long) As Long .topic 2225 API-Function LoadMenuIndirect(ByVal lpMenuTemplate As Long) As Long .topic 2227 API-Function LoadModule(lpModuleName As Long, lpParameterBlock As Long) As Long .topic 2228 API-Function LoadResource(ByVal hInstance As Long, ByVal hResInfo As Long) As Long .topic 2229 API-Function LoadString(ByVal hInstance As Long, ByVal uID As Long, lpBuffer As Long, ByVal nBufferMax As Long) As Long .topic 2230 API-Functions LocalAlloc(ByVal uFlags As Long, ByVal lBytes As Long) As Long LocalDiscard(Byval hmem As Long) As Long LocalFlags(ByVal hMem As Long) As Long LocalFree(ByVal hMem As Long) As Long LocalHandle(ByVal pMem As Long) As Long LocalLock(ByVal hMem As Long) As Long LocalReAlloc(ByVal hMem As Long, ByVal lBytes As Long, ByVal uFlags As Long) As Long LocalSize(ByVal hMem As Long) As Long LocalUnlock(ByVal hMem As Long) As Long .topic 2244 API-Function LockResource(ByVal hResData As Long) As Long .topic 2246 API-Function LPtoDP(ByVal hdc As Long, lpPoint As POINTAPI, ByVal nCount As Long) As Long .topic 2247 API-Function lstrcat(lpString1 As Long, lpString2 As Long) As Long _lstrcmpi(lpString1 As Long, lpString2 As Long) As Long // Renamed _lstrcmp(lpString1 As Long, lpString2 As Long) As Long // Renamed lstrcpy(lpString1 As Long, lpString2 As Long) As Long lstrlen(lpString As Long) As Long .topic 2253 API-Function MapDialogRect(ByVal hDlg As Long, lpRect As RECT) As Long .topic 2254 API-Functions OemKeyScan(ByVal wOemChar As Word) As Long VkKeyScan(ByVal cChar As Byte) As Integer VkKeyScanEx(ByVal ch As Byte, ByVal dwHKL As Long) As Integer MapVirtualKey(ByVal dwCode As Long, ByVal dwMapType As Long) As Long .topic 2255 API-Function MessageBeep(ByVal dwType As Long) As Long .topic 2256 API-Function MessageBox(ByVal hWnd As Long, lpText As Long, lpCaption As Long, ByVal dwType As Long) As Long .topic 2258 API-Functions: MoveTo(hdc, x, y) MoveToEx(hdc, x, y, v:pt) In contrast to 16-bit GFA-BASIC for Windows 3.x the return value of MoveTo isn't the new position in a Long. Instead, in 32-bit Windows MoveToEx indicates the position of the point (as POINT = MakeLarge). Internally MoveTo(hdc, x, y) is implemented as MoveToEx(hdc, x, y, NULL). .topic 2259 API-Function MoveWindow(ByVal hWnd As Long, ByVal x As Long, ByVal y As Long, ByVal nWidth As Long, ByVal nHeight As Long, ByVal bRepaint As Long) As Long .topic 2260 API-Function MulDiv(ByVal nNumber As Long, ByVal nNumerator As Long, ByVal nDenominator As Long) As Long .topic 2264 API-Function OffsetClipRgn(ByVal hdc As Long, ByVal x As Long, ByVal y As Long) As Long .topic 2265 API-Function OffsetRect(lpRect As RECT, ByVal x As Long, ByVal y As Long) As Long .topic 2266 API-Function OffsetRgn(ByVal hRgn As Long, ByVal x As Long, ByVal y As Long) As Long .topic 2271 API-Function OpenFile(lpFileName As Long, lpReOpenBuff As OFSTRUCT, ByVal uStyle As Long) As Long .topic 2272 API-Function OpenIcon(ByVal hWnd As Long) As Long .topic 2274 API-Function OutputDebugString(lpOutputString As Long .topic 2287 16 Bit Profiling, Obsolete, for compatibility reason implemented. API-Functions ProfClear() ProfFinish() ProfFlush() ProfInsChk() ProfSampRate(x,x) ProfSetup(x,x) ProfStart() ProfStop() .topic 2303 Window Class API-Functions GetClassInfo(ByVal hInstance As Long, lpClassName As Long, lpWndClass As WNDCLASS) As Long GetClassName(ByVal hwnd As Long, lpClassName As Long, ByVal nMaxCount As Long) As Long GetClassLong(ByVal hwnd As Long, ByVal nIndex As Long) As Long GetClassWord(ByVal hwnd As Long, ByVal nIndex As Long) As Long SetClassLong(ByVal hWnd As Long, ByVal nIndex As Long, ByVal dwNewLong As Long) As Long SetClassWord(ByVal hWnd As Long, ByVal nIndex As Long, ByVal wNewWord As Word) As Word RegisterClass(pcWndClass As WNDCLASS) As Word UnregisterClass(lpClassName As Long, ByVal hInstance As Long) As Long .topic 2306 API-Function ReleaseCapture() As Long .topic 2307 API-Function ReleaseDC(ByVal hWnd As Long, ByVal hDC As Long) As Long .topic 2308 API-Function RemoveFontResource(lpFileName As Long) As Long .topic 2310 API-Function RemoveProp(ByVal hWnd As Long, lpString As Long) As Long .topic 2319 API-Function ScrollDC(ByVal hDC As Long, ByVal dx As Long, ByVal dy As Long, lprcScroll As RECT, lprcClip As RECT, ByVal hRgnUpdate As Long, lprcUpdate As RECT) As Long .topic 2320 API-Function ScrollWindow(ByVal hWnd As Long, ByVal XAmount As Long, ByVal YAmount As Long, lpRect As RECT, lpClipRect As RECT) As Long .topic 2326 API-Function SetActiveWindow(ByVal hWnd As Long) As Long .topic 2327 API-Function SetBitmapBits(ByVal hBitmap As Long, ByVal dwCount As Long, lpBits As Long) As Long .topic 2328 API-Function SetBitmapDimension(x,x,x) Obsolete, for compatibility reason implemented. .topic 2332 API-Function SetCapture(ByVal hWnd As Long) As Long .topic 2333 API-Function SetCaretBlinkTime(ByVal dwMillieconds As Long) As Long .topic 2334 API-Function SetCaretPos(ByVal x As Long, ByVal y As Long) As Long .topic 2335 SetClass APIs SetClassLong(hWnd as Handle, nIndex as Long, dwNewLong as Long) SetClassWord(hWnd as Handle, nIndex as Long, dwNewWord as Word) .topic 2344 API-Function SetCursorPos(ByVal x As Long, ByVal y As Long) As Long .topic 2345 API-Function SetCursor(ByVal hCursor As Long) As Long .topic 2346 API-Function SetDIBitsToDevice(ByVal hdc As Long, ByVal x As Long, ByVal y As Long, ByVal dx As Long, ByVal dy As Long, ByVal SrcX As Long, ByVal SrcY As Long, ByVal xScan As Long, ByVal NumScans As Long, xBits As Long, BitsInfo As BITMAPINFO, ByVal wUsage As Long) As Long .topic 2347 API-Function SetDIBits(ByVal hdc As Long, ByVal hBitmap As Long, ByVal nStartScan As Long, ByVal nNumScans As Long, lpBits As Long, lpBI As BITMAPINFO, ByVal wUsage As Long) As Long .topic 2348 API-Function SetDlgItemInt(ByVal hDlg As Long, ByVal nIDDlgItem As Long, ByVal dwValue As Long, ByVal bSigned As Long) As Long .topic 2349 API-Function SetDlgItemText(ByVal hDlg As Long, ByVal nIDDlgItem As Long, lpString As Long) As Long .topic 2350 API-Function SetDoubleClickTime(ByVal uInterval As Long) As Long .topic 2352 API-Function SetErrorMode(ByVal uMode As Long) As Long .topic 2353 API-Function SetFocus(ByVal hWnd As Long) As Long .topic 2354 API-Function SetHandleCount(ByVal uNumber As Long) As Long .topic 2355 API-Function SetKeyboardState(lppbKeyState As Byte) As Long .topic 2356 API-Function SetMapMode(ByVal hdc As Long, ByVal nMapMode As Long) As Long .topic 2357 API-Function SetMapperFlags(ByVal hdc As Long, ByVal dwFlag As Long) As Long .topic 2364 API-Function SetPixel(ByVal hdc As Long, ByVal x As Long, ByVal y As Long, ByVal crColor As Long) As Long .topic 2365 API-Function SetPolyFillMode(ByVal hdc As Long, ByVal nPolyFillMode As Long) As Long .topic 2366 API-Function SetProp(ByVal hWnd As Long, lpString As Long, ByVal hData As Long) As Long .topic 2367 API-Function SetRectEmpty(lpRect As RECT) As Long .topic 2368 API-Function SetRectRgn(ByVal hRgn As Long, ByVal X1 As Long, ByVal Y1 As Long, ByVal X2 As Long, ByVal Y2 As Long) As Long .topic 2369 API-Function SetRect(lpRect As RECT, ByVal X1 As Long, ByVal Y1 As Long, ByVal X2 As Long, ByVal Y2 As Long) As Long .topic 2371 API-Function SetROP2(ByVal hdc As Long, ByVal nDrawMode As Long) As Long .topic 2372 API-Function SetScrollPos(ByVal hWnd As Long, ByVal nBar As Long, ByVal nPos As Long, ByVal bRedraw As Long) As Long .topic 2373 API-Function SetScrollRange(ByVal hWnd As Long, ByVal nBar As Long, ByVal nMinPos As Long, ByVal nMaxPos As Long, ByVal bRedraw As Long) As Long .topic 2375 API-Function SetStretchBltMode(ByVal hdc As Long, ByVal nStretchMode As Long) As Long .topic 2377 API-Function SetSysColors(ByVal nChanges As Long, lpSysColor As Long, lpColorValues As Long) As Long .topic 2384 API-Function SetTimer(ByVal hWnd As Long, ByVal nIDEvent As Long, ByVal uElapse As Long, ByVal lpTimerFunc As Long) As Long .topic 2400 API-Function ShowCaret(ByVal hWnd As Long) As Long .topic 2401 API-Function ShowCursor(ByVal bShow As Long) As Long .topic 2402 API-Function ShowOwnedPopups(ByVal hWnd As Long, ByVal fShow As Long) As Long .topic 2403 API-Function ShowScrollBar(ByVal hWnd As Long, ByVal iBar As Long, ByVal bShow As Long) As Long .topic 2404 API-Function ShowWindow(ByVal hWnd As Long, ByVal nCmdShow As Long) As Long .topic 2405 API-Function SizeofResource(ByVal hInstance As Long, ByVal hResInfo As Long) As Long .topic 2408 API-Function StretchBlt(ByVal hdc As Long, ByVal x As Long, ByVal y As Long, ByVal nWidth As Long, ByVal nHeight As Long, ByVal hSrcDC As Long, ByVal xSrc As Long, ByVal ySrc As Long, ByVal nSrcWidth As Long, ByVal nSrcHeight As Long, ByVal dwRop As Long) As Long .topic 2409 API-Function StretchDIBits(ByVal hdc As Long, ByVal x As Long, ByVal y As Long, ByVal dx As Long, ByVal dy As Long, ByVal SrcX As Long, ByVal SrcY As Long, ByVal nSrcWidth As Long, ByVal nSrcHeight As Long, lpBits As Long, lpBitsInfo As BITMAPINFO, ByVal uUsage As Long, ByVal dwRop As Long) As Long .topic 2410 API-Function SwapMouseButton(ByVal bSwap As Long) As Long .topic 2418 API-Function ToAscii(ByVal uVirtKey As Long, ByVal uScanCode As Long, lpbKeyState As Byte, lpwTransKey As Long, ByVal fuState As Long) As Long .topic 2425 API-Function UnhookWindowsHook(ByVal nCode As Long, ByVal pfnFilterProc As Long) As Long .topic 2426 API-Function UnionRect(lpDestRect As RECT, lpSrc1Rect As RECT, lpSrc2Rect As RECT) As Long .topic 2430 API-Function UnrealizeObject(ByVal hObject As Long) As Long .topic 2432 API-Function UpdateColors(ByVal hdc As Long) As Long .topic 2433 API-Function UpdateWindow(ByVal hWnd As Long) As Long .topic 2436 API-Function ValidateRect(ByVal hWnd As Long, lpRect As RECT) As Long .topic 2437 API-Function ValidateRgn(ByVal hWnd As Long, ByVal hRgn As Long) As Long .topic 2441 API-Function hWnd = WindowFromPoint(ByVal xPoint As Long, ByVal yPoint As Long) As Long .topic 2443 API-Function WinHelp(ByVal hWnd As Long, lpHelpFile As Long, ByVal uCommand As Long, ByVal dwData As Long) As Long .topic 2447 API-Function wvsprintf(x,x,x) Obsolete, for compatibility reason implemented. .topic 2448 API-Function Yield() Obsolete, for compatibility reason implemented. .topic 2449 API-Functions _lclose(ByVal hFile As Long) As Long _lcreat(lpPathName As Long, ByVal iAttribute As Long) As Long _llseek(ByVal hFile As Long, ByVal lOffset As Long, ByVal iOrigin As Long) As Long _lopen(lpPathName As Long, ByVal iReadWrite As Long) As Long _lread(ByVal hFile As Long, lpBuffer As Long, ByVal uBytes As Long) As Long _lwrite(ByVal hFile As Long, lpBuffer As Long, ByVal uBytes As Long) As Long _hread(ByVal hFile As Long, lpBuffer As Long, ByVal lBytes As Long) As Long _hwrite(ByVal hFile As Long, lpBuffer As Long, ByVal lBytes As Long) As Long .topic 2458 API-Function GetCommandLine() As Long .topic 2460 API-Function ExitWindowsEx(ByVal uFlags As Long, ByVal dwReserved As Long) As Long .topic 2461 API-Function ShellAbout(ByVal hWnd As Long, szApp As Long, szOtherStuff As Long, ByVal hIcon As Long) As Long .topic 2462 File operation Constants READ = 0 WRITE = 1 READ_WRITE = 2 OF_READ = 0 OF_WRITE = 1 OF_READWRITE = 2 OF_SHARE_COMPAT = 0 OF_SHARE_EXCLUSIVE = 16 OF_SHARE_DENY_WRITE = 32 OF_SHARE_DENY_READ = 48 OF_SHARE_DENY_NONE = 64 OF_PARSE = 256 OF_DELETE = 512 OF_VERIFY = 1024 OF_CANCEL = 2048 OF_CREATE = 4096 OF_PROMPT = 8192 OF_EXIST = 16384 OF_REOPEN = 32768 .topic 2478 Constant TF_FORCEDRIVE = 128 .topic 2479 Constants DRIVE_UNKNOWN = 0 DRIVE_NO_ROOT_DIR = 1 DRIVE_REMOVABLE = 2 DRIVE_FIXED = 3 DRIVE_REMOTE = 4 DRIVE_CDROM = 5 DRIVE_RAMDISK = 6 .topic 2482 Constants GMEM_FIXED = 0 GMEM_MOVEABLE = 2 GMEM_NOCOMPACT = 16 GMEM_NODISCARD = 32 GMEM_ZEROINIT = 64 GMEM_MODIFY = 128 GMEM_DISCARDABLE = 256 GMEM_LOWER = 4096 GMEM_NOT_BANKED = 4096 GMEM_SHARE = 8192 GMEM_DDESHARE = 8192 GMEM_NOTIFY = 16384 GHND = 66 GPTR = 64 GMEM_VALID_FLAGS = 32626 GMEM_INVALID_HANDLE = 32768 GMEM_DISCARDED = 16384 GMEM_LOCKCOUNT = 255 .topic 2498 Constants LMEM_FIXED = 0 LMEM_MOVEABLE = 2 LMEM_NOCOMPACT = 16 LMEM_NODISCARD = 32 LMEM_ZEROINIT = 64 LMEM_MODIFY = 128 LMEM_DISCARDABLE = 3840 LHND = 66 LPTR = 64 NONZEROLHND = 2 NONZEROLPTR = 0 LMEM_VALID_FLAGS = 3954 LMEM_INVALID_HANDLE = 32768 LMEM_DISCARDED = 16384 LMEM_LOCKCOUNT = 255 .topic 2511 Resource Type Constants RT_CURSOR = 1 RT_BITMAP = 2 RT_ICON = 3 RT_MENU = 4 RT_DIALOG = 5 RT_STRING = 6 RT_FONTDIR = 7 RT_FONT = 8 RT_ACCELERATOR = 9 RT_RCDATA = 10 RT_MESSAGETABLE = 11 RT_GROUP_CURSOR = 12 RT_GROUP_ICON = 14 RT_VERSION = 16 RT_DLGINCLUDE = 17 RT_PLUGPLAY = 19 RT_VXD = 20 RT_ANICURSOR = 21 RT_ANIICON = 22 .topic 2521 Constants OBM_CLOSE = 32754 OBM_UPARROW = 32753 OBM_DNARROW = 32752 OBM_RGARROW = 32751 OBM_LFARROW = 32750 OBM_REDUCE = 32749 OBM_ZOOM = 32748 OBM_RESTORE = 32747 OBM_REDUCED = 32746 OBM_ZOOMD = 32745 OBM_RESTORED = 32744 OBM_UPARROWD = 32743 OBM_DNARROWD = 32742 OBM_RGARROWD = 32741 OBM_LFARROWD = 32740 OBM_MNARROW = 32739 OBM_COMBO = 32738 OBM_OLD_CLOSE = 32767 OBM_SIZE = 32766 OBM_OLD_UPARROW = 32765 OBM_OLD_DNARROW = 32764 OBM_OLD_RGARROW = 32763 OBM_OLD_LFARROW = 32762 OBM_BTSIZE = 32761 OBM_CHECK = 32760 OBM_CHECKBOXES = 32759 OBM_BTNCORNERS = 32758 OBM_OLD_REDUCE = 32757 OBM_OLD_ZOOM = 32756 OBM_OLD_RESTORE = 32755 OBM_UPARROWI = 32737 OBM_DNARROWI = 32736 OBM_RGARROWI = 32735 OBM_LFARROWI = 32734 .topic 2551 Constants OCR_NORMAL = 32512 OCR_IBEAM = 32513 OCR_WAIT = 32514 OCR_CROSS = 32515 OCR_UP = 32516 OCR_SIZE = 32640 OCR_ICON = 32641 OCR_SIZENWSE = 32642 OCR_SIZENESW = 32643 OCR_SIZEWE = 32644 OCR_SIZENS = 32645 OCR_SIZEALL = 32646 OCR_ICOCUR = 32647 OCR_NO = 32648 OCR_APPSTARTING = 32650 .topic 2564 Constants OIC_SAMPLE = 32512 OIC_HAND = 32513 OIC_QUES = 32514 OIC_BANG = 32515 OIC_NOTE = 32516 OIC_WINLOGO = 32517 OIC_WARNING = 32515 OIC_ERROR = 32613 OIC_INFORMATION = 32516 .topic 2569 Constants BLACKONWHITE = 1 WHITEONBLACK = 2 COLORONCOLOR = 3 .topic 2572 Constants ALTERNATE = 1 WINDING = 2 .topic 2574 Constants TA_NOUPDATECP = 0 TA_UPDATECP = 1 TA_LEFT = 0 TA_RIGHT = 2 TA_CENTER = 6 TA_TOP = 0 TA_BOTTOM = 8 TA_BASELINE = 24 .topic 2582 Constants ETO_GRAYED = 1 ETO_OPAQUE = 2 ETO_CLIPPED = 4 .topic 2585 Constant ASPECT_FILTERING = 1 .topic 2586 Constant QUERYESCSUPPORT = 8 .topic 2587 Constants SP_NOTREPORTED = 16384 SP_ERROR = -1 SP_APPABORT = -2 SP_USERABORT = -3 SP_OUTOFDISK = -4 SP_OUTOFMEMORY = -5 .topic 2593 Constant PR_JOBSTATUS = 0 .topic 2594 Constants OBJ_PEN = 1 OBJ_BRUSH = 2 .topic 2596 Font OutPrecison Constants OUT_DEFAULT_PRECIS = 0 OUT_STRING_PRECIS = 1 OUT_CHARACTER_PRECIS = 2 OUT_STROKE_PRECIS = 3 Font ClipPrecison CLIP_DEFAULT_PRECIS = 0 CLIP_CHARACTER_PRECIS = 1 CLIP_STROKE_PRECIS = 2 Font Quality DEFAULT_QUALITY = 0 DRAFT_QUALITY = 1 PROOF_QUALITY = 2 Font Pitch DEFAULT_PITCH = 0 FIXED_PITCH = 1 VARIABLE_PITCH = 2 Font Family FF_DONTCARE = 0 FF_ROMAN = 16 FF_SWISS = 32 FF_MORN = 48 FF_SCRIPT = 64 FF_DECORATIVE = 80 .topic 2609 Font CharSet Constants ANSI_CHARSET = 0 DEFAULT_CHARSET = 1 SYMBOL_CHARSET = 2 MAC_CHARSET = 77 SHIFTJIS_CHARSET = 128 HANGEUL_CHARSET = 129 HANGUL_CHARSET = 129 JOHAB_CHARSET = 130 GB2312_CHARSET = 134 CHINESEBIG5_CHARSET = 136 GREEK_CHARSET = 161 TURKISH_CHARSET = 162 VIETNAMESE_CHARSET = 163 HEBREW_CHARSET = 177 ARABIC_CHARSET = 178 BALTIC_CHARSET = 186 RUSSIAN_CHARSET = 204 THAI_CHARSET = 222 EASTEUROPE_CHARSET = 238 OEM_CHARSET = 255 .topic 2619 Font Weight Constants FW_DONTCARE = 0 FW_THIN = 100 FW_EXTRALIGHT = 200 FW_LIGHT = 300 FW_NORMAL = 400 FW_MEDIUM = 500 FW_SEMIBOLD = 600 FW_BOLD = 700 FW_EXTRABOLD = 800 FW_HEAVY = 900 FW_ULTRALIGHT = 200 FW_REGULAR = 400 FW_DEMIBOLD = 600 FW_ULTRABOLD = 800 FW_BLACK = 900 RASTER_FONTTYPE = 1 DEVICE_FONTTYPE = 2 .topic 2636 Constants TRANSPARENT = 1 OPAQUE = 2 .topic 2638 MapModes Constants MM_TEXT = 1 MM_LOMETRIC = 2 MM_HIMETRIC = 3 MM_LOENGLISH = 4 MM_HIENGLISH = 5 MM_TWIPS = 6 MM_ISOTROPIC = 7 MM_ANISOTROPIC = 8 .topic 2646 Constants ABSOLUTE = 1 RELATIVE = 2 .topic 2648 GetStockObject() Constants WHITE_BRUSH = 0 LTGRAY_BRUSH = 1 GRAY_BRUSH = 2 DKGRAY_BRUSH = 3 BLACK_BRUSH = 4 NULL_BRUSH = 5 HOLLOW_BRUSH = 5 WHITE_PEN = 6 BLACK_PEN = 7 NULL_PEN = 8 OEM_FIXED_FONT = 10 ANSI_FIXED_FONT = 11 ANSI_VAR_FONT = 12 SYSTEM_FONT = 13 DEVICE_DEFAULT_FONT = 14 DEFAULT_PALETTE = 15 SYSTEM_FIXED_FONT = 16 DEFAULT_GUI_FONT = 17 .topic 2665 Brush-Style Constants BS_SOLID = 0 BS_NULL = 1 BS_HOLLOW = 1 BS_HATCHED = 2 BS_PATTERN = 3 BS_INDEXED = 4 BS_DIBPATTERN = 5 BS_DIBPATTERNPT = 6 BS_PATTERN8X8 = 7 BS_DIBPATTERN8X8 = 8 BS_MONOPATTERN = 9 .topic 2672 Hatch-Style, CreateHatchBrush Constants HS_HORIZONTAL = 0 HS_VERTICAL = 1 HS_FDIAGONAL = 2 HS_BDIAGONAL = 3 HS_CROSS = 4 HS_DIAGCROSS = 5 .topic 2678 PenStyle Constants PS_SOLID = 0 PS_DASH = 1 PS_DOT = 2 PS_DASHDOT = 3 PS_DASHDOTDOT = 4 PS_NULL = 5 PS_INSIDEFRAME = 6 PS_USERSTYLE = 7 PS_ALTERNATE = 8 PS_STYLE_MASK = 15 PS_ENDCAP_ROUND = 0 PS_ENDCAP_SQUARE = 256 PS_ENDCAP_FLAT = 512 PS_ENDCAP_MASK = 3840 PS_JOIN_ROUND = 0 PS_JOIN_BEVEL = 4096 PS_JOIN_MITER = 8192 PS_JOIN_MASK = 0xF000 PS_COSMETIC = 0 PS_GEOMETRIC = 0x10000 PS_TYPE_MASK = 0xF0000 .topic 2685 GetDeviceCaps() Constants DRIVERVERSION = 0 TECHNOLOGY = 2 HORZSIZE = 4 VERTSIZE = 6 HORZRES = 8 VERTRES = 10 BITSPIXEL = 12 PLANES = 14 NUMBRUSHES = 16 NUMPENS = 18 NUMMARKERS = 20 NUMFONTS = 22 NUMCOLORS = 24 PDEVICESIZE = 26 CURVECAPS = 28 LINECAPS = 30 POLYGONALCAPS = 32 TEXTCAPS = 34 CLIPCAPS = 36 RASTERCAPS = 38 ASPECTX = 40 ASPECTY = 42 ASPECTXY = 44 LOGPIXELSX = 88 LOGPIXELSY = 90 SIZEPALETTE = 104 NUMRESERVED = 106 COLORRES = 108 PHYSICALWIDTH = 110 PHYSICALHEIGHT = 111 PHYSICALOFFSETX = 112 PHYSICALOFFSETY = 113 SCALINGFACTORX = 114 SCALINGFACTORY = 115 Windows NT only: VREFRESH = 116 DESKTOPVERTRES = 117 DESKTOPHORZRES = 118 BLTALIGNMENT = 119 .topic 2713 GetDeviceCaps( , TECHNOLOGY) Constants DT_PLOTTER = 0 DT_RASDISPLAY = 1 DT_RASPRINTER = 2 DT_RASCAMERA = 3 DT_CHARSTREAM = 4 DT_METAFILE = 5 DT_DISPFILE = 6 .topic 2720 GetDeviceCaps( , CURVECAPS)Constants CC_NONE = 0 CC_CIRCLES = 1 CC_PIE = 2 CC_CHORD = 4 CC_ELLIPSES = 8 CC_WIDE = 16 CC_STYLED = 32 CC_WIDESTYLED = 64 CC_INTERIORS = 128 CC_ROUNDRECT = 256 .topic 2729 GetDeviceCaps( , LINECAPS)Constants LC_NONE = 0 LC_POLYLINE = 2 LC_MARKER = 4 LC_POLYMARKER = 8 LC_WIDE = 16 LC_STYLED = 32 LC_WIDESTYLED = 64 LC_INTERIORS = 128 .topic 2737 GetDeviceCaps( , POLYGONALCAPS) Constants PC_NONE = 0 PC_POLYGON = 1 PC_RECTANGLE = 2 PC_WINDPOLYGON = 4 PC_TRAPEZOID = 4 PC_SCANLINE = 8 PC_WIDE = 16 PC_STYLED = 32 PC_WIDESTYLED = 64 PC_INTERIORS = 128 PC_POLYPOLYGON = 256 PC_PATHS = 512 .topic 2747 GetDeviceCaps( , CLIPCAPS) Constants CP_NONE = 0 CP_RECTANGLE = 1 .topic 2749 GetDeviceCaps( , TEXTCAPS) Constants TC_OP_CHARACTER = 1 TC_OP_STROKE = 2 TC_CP_STROKE = 4 TC_CR_90 = 8 TC_CR_ANY = 16 TC_SF_X_YINDEP = 32 TC_SA_DOUBLE = 64 TC_SA_INTEGER = 128 TC_SA_CONTIN = 256 TC_EA_DOUBLE = 512 TC_IA_ABLE = 1024 TC_UA_ABLE = 2048 TC_SO_ABLE = 4096 TC_RA_ABLE = 8192 TC_VA_ABLE = 16384 TC_RESERVED = 32768 TC_SCROLLBLT = 0x10000 .topic 2765 GetDeviceCaps( , RASTERCAPS) Constants RC_BITBLT = 1 RC_BANDING = 2 RC_SCALING = 4 RC_BITMAP64 = 8 RC_GDI20_OUTPUT = 16 RC_DI_BITMAP = 128 RC_PALETTE = 256 RC_DIBTODEV = 512 RC_BIGFONT = 1024 RC_STRETCHBLT = 2048 RC_FLOODFILL = 4096 RC_STRETCHDIB = 8192 RC_OP_DX_OUTPUT = 16384 RC_DEVBITS = 32768 .topic 2777 LOGPALETTE.palPalEntry Constants PC_RESERVED = 1 PC_EXPLICIT = 2 PC_NOCOLLAPSE = 4 .topic 2780 DIB Constants DIB_RGB_COLORS = 0 DIB_PAL_COLORS = 1 .topic 2782 SetSystemPaletteUse() Constants SYSPAL_STATIC = 1 SYSPAL_NOSTATIC = 2 .topic 2784 Constant CBM_INIT = 4 .topic 2785 DrawText Constants DT_TOP = 0 DT_LEFT = 0 DT_CENTER = 1 DT_RIGHT = 2 DT_VCENTER = 4 DT_BOTTOM = 8 DT_WORDBREAK = 16 DT_SINGLELINE = 32 DT_EXPANDTABS = 64 DT_TABSTOP = 128 DT_NOCLIP = 256 DT_EXTERNALLEADING = 512 DT_CALCRECT = 1024 DT_NOPREFIX = 2048 DT_INTERNAL = 4096 DT_EDITCONTROL = 8192 DT_PATH_ELLIPSIS = 16384 DT_END_ELLIPSIS = 32768 DT_MODIFYSTRING = 0x10000 DT_RTLREADING = 0x20000 DT_WORD_ELLIPSIS = 0x40000 .topic 2800 ExtFloodFill() Constants FLOODFILLBORDER = 0 FLOODFILLSURFACE = 1 .topic 2802 Scrollbar Constants SB_HORZ = 0 SB_VERT = 1 SB_CTL = 2 SB_BOTH = 3 SB_LINEUP = 0 SB_LINEDOWN = 1 SB_PAGEUP = 2 SB_PAGEDOWN = 3 SB_THUMBPOSITION = 4 SB_THUMBTRACK = 5 SB_TOP = 6 SB_BOTTOM = 7 SB_ENDSCROLL = 8 SB_LINELEFT = 0 SB_LINERIGHT = 1 SB_PAGELEFT = 2 SB_PAGERIGHT = 3 SB_LEFT = 6 SB_RIGHT = 7 .topic 2815 ShowW(indow) Constants SW_HIDE = 0 SW_SHOWNORMAL = 1 SW_NORMAL = 1 SW_SHOWMINIMIZED = 2 SW_SHOWMAXIMIZED = 3 SW_MAXIMIZE = 3 SW_SHOWNOACTIVATE = 4 SW_SHOW = 5 SW_MINIMIZE = 6 SW_SHOWMINNOACTIVE = 7 SW_SHOWNA = 8 SW_RESTORE = 9 SW_SHOWDEFAULT = 10 SW_MAX = 10 .topic 2827 Constants HIDE_WINDOW = 0 SHOW_OPENWINDOW = 1 SHOW_ICONWINDOW = 2 SHOW_FULLSCREEN = 3 SHOW_OPENNOACTIVATE = 4 WM_SHOWWINDOW: lParam Status mode SW_PARENTCLOSING = 1 SW_OTHERZOOM = 2 SW_PARENTOPENING = 3 SW_OTHERUNZOOM = 4 .topic 2836 Window Region Constants ERROR = 0 NULLREGION = 1 SIMPLEREGION = 2 COMPLEXREGION = 3 .topic 2840 Window Region Combining Mode Constants RGN_AND = 1 RGN_OR = 2 RGN_XOR = 3 RGN_DIFF = 4 RGN_COPY = 5 .topic 2845 Virtual-key code Constants VK_LBUTTON = 1 VK_NUMPAD0 = 96 VK_RBUTTON = 2 VK_NUMPAD1 = 97 VK_CANCEL = 3 VK_NUMPAD2 = 98 VK_MBUTTON = 4VK_NUMPAD3 = 99 VK_BACK = 8VK_NUMPAD4 = 100 VK_TAB = 9VK_NUMPAD5 = 101 VK_CLEAR = 12VK_NUMPAD6 = 102 VK_RETURN = 13VK_NUMPAD7 = 103 VK_SHIFT = 16VK_NUMPAD8 = 104 VK_CONTROL = 17VK_NUMPAD9 = 105 VK_MENU = 18VK_MULTIPLY = 106 VK_PAUSE = 19VK_ADD = 107 VK_CAPITAL = 20VK_SEPARATOR = 108 VK_ESCAPE = 27VK_SUBTRACT = 109 VK_SPACE = 32VK_DECIMAL = 110 VK_PRIOR = 33VK_DIVIDE = 111 VK_NEXT = 34VK_F1 = 112 VK_END = 35VK_F2 = 113 VK_HOME = 36VK_F3 = 114 VK_LEFT = 37VK_F4 = 115 VK_UP = 38VK_F5 = 116 VK_RIGHT = 39VK_F6 = 117 VK_DOWN = 40VK_F7 = 118 VK_SELECT = 41VK_F8 = 119 VK_PRINT = 42VK_F9 = 120 VK_EXECUTE = 43VK_F10 = 121 VK_SNAPSHOT = 44VK_F11 = 122 VK_INSERT = 45VK_F12 = 123 VK_DELETE = 46VK_F13 = 124 VK_HELP = 47VK_F14 = 125 VK_LWIN = 91VK_F15 = 126 VK_RWIN = 92VK_F16 = 127 VK_APPS = 93VK_F17 = 128 VK_NUMLOCK = 144VK_F18 = 129 VK_SCROLL = 145VK_F19 = 130 VK_LSHIFT = 160VK_F20 = 131 VK_RSHIFT = 161VK_F21 = 132 VK_LCONTROL = 162VK_F22 = 133 VK_RCONTROL = 163VK_F23 = 134 VK_LMENU = 164VK_F24 = 135 VK_RMENU = 165 VK_PROCESSKEY = 229 VK_ATTN = 246 VK_CRSEL = 247 VK_EXSEL = 248 VK_EREOF = 249 VK_PLAY = 250 VK_ZOOM = 251 VK_NONAME = 252 VK_PA1 = 253 VK_OEM_CLEAR = 254 .topic 2908 SetWindowsHookWEx() Constants WH_MSGFILTER = -1 WH_JOURNALRECORD = 0 WH_JOURNALPLAYBACK = 1 WH_KEYBOARD = 2 WH_GETMESSAGE = 3 WH_CALLWNDPROC = 4 WH_CBT = 5 WH_SYSMSGFILTER = 6 WH_WINDOWMGR = 7 WH_HARDWARE = 8 WH_DEBUG = 9 WH_SHELL = 10 WH_FOREGROUNDIDLE = 11 WH_CALLWNDPROCRET = 12 WH_MAX = 12 WH_MIN = -1 WH_MINHOOK = -1 WH_MAXHOOK = 12 .topic 2919 Hook Code Constants HC_ACTION = 0 HC_GETNEXT = 1 HC_SKIP = 2 HC_NOREM = 3 HC_NOREMOVE = 3 HC_SYSMODALON = 4 HC_SYSMODALOFF = 5 .topic 2926 CBTProc Hook Code Constants HCBT_MOVESIZE = 0 HCBT_MINMAX = 1 HCBT_QS = 2 HCBT_CREATEWND = 3 HCBT_DESTROYWND = 4 HCBT_ACTIVATE = 5 HCBT_CLICKSKIPPED = 6 HCBT_KEYSKIPPED = 7 HCBT_SYSCOMMAND = 8 HCBT_SETFOCUS = 9 .topic 2929 MessageProc Hook Code Constants MSGF_DIALOGBOX = 0 MSGF_MESSAGEBOX = 1 MSGF_MENU = 2 MSGF_MOVE = 3 MSGF_SIZE = 4 MSGF_SCROLLBAR = 5 MSGF_NEXTWINDOW =6 MSGF_MAINLOOP = 8 MSGF_MAX = 8 MSGF_USER = 4096 .topic 2936 Constants WC_INIT = 1 WC_SWP = 2 WC_DEFWINDOWPROC = 3 WC_MINMAX = 4 WC_MOVE = 5 WC_SIZE = 6 WC_DRAWCAPTION = 7 .topic 2943 Get/SetWindowLong() Constants GWL_WNDPROC = -4 GWL_HINSTANCE = -6 GWL_HWNDPARENT = -8 GWL_ID = -12 GWL_STYLE = -16 GWL_EXSTYLE = -20 GWL_USERDATA = -21 .topic 2949 Get/SetWindowClass() Constants GCL_MENUNAME = -8 GCL_HBRBACKGROUND = -10 GCL_HCURSOR = -12 GCL_HICON = -14 GCL_HMODULE = -16 GCL_CBWNDEXTRA = -18 GCL_CBCLSEXTRA = -20 GCL_WNDPROC = -24 GCL_STYLE = -26 GCL_ATOM = -48 GCL_HICONSM = -34 .topic 2958 WM_NULL = 0 .topic 2959 Constants WM_CREATE = 1 WM_DESTROY = 2 WM_MOVE = 3 WM_SIZE = 5 WM_ACTIVATE = 6 WA_INACTIVE = 0 WA_ACTIVE = 1 WA_CLICKACTIVE = 2 WM_SETFOCUS = 7 WM_KILLFOCUS = 8 WM_ENABLE = 10 WM_SETREDRAW = 11 WM_SETTEXT = 12 WM_GETTEXT = 13 WM_GETTEXTLENGTH = 14 WM_PAINT = 15 .topic 2972 Constants WM_CLOSE = 16 WM_QUERYENDSESSION = 17 WM_QUIT = 18 WM_QUERYOPEN = 19 WM_ERASEBKGND = 20 WM_SYSCOLORCHANGE = 21 WM_ENDSESSION = 22 WM_SHOWWINDOW = 24 WM_WININICHANGE = 26 WM_SETTINGCHANGE = 26 WM_DEVMODECHANGE = 27 WM_ACTIVATEAPP = 28 WM_FONTCHANGE = 29 WM_TIMECHANGE = 30 WM_CANCELMODE = 31 .topic 2986 Constants WM_SETCURSOR = 32 WM_MOUSEACTIVATE = 33 WM_CHILDACTIVATE = 34 WM_QUEUESYNC = 35 WM_GETMINMAXINFO = 36 WM_PAINTICON = 38 WM_ICONERASEBKGND = 39 WM_NEXTDLGCTL = 40 WM_SPOOLERSTATUS = 42 WM_DRAWITEM = 43 WM_MEASUREITEM = 44 WM_DELETEITEM = 45 WM_VKEYTOITEM = 46 WM_CHARTOITEM = 47 .topic 3000 Constants WM_SETFONT = 48 WM_GETFONT = 49 WM_SETHOTKEY = 50 WM_GETHOTKEY = 51 WM_QUERYDRAGICON = 55 WM_COMPAREITEM = 57 WM_COMPACTING = 65 WM_WINDOWPOSCHANGING = 70 WM_WINDOWPOSCHANGED = 71 WM_POWER = 72 PWR_OK = 1 PWR_FAIL = -1 PWR_SUSPENDREQUEST = 1 PWR_SUSPENDRESUME = 2 PWR_CRITICALRESUME = 3 .topic 3005 WM_ Nonclient Constants WM_NCCREATE = 129 WM_NCDESTROY = 130 WM_NCCALCSIZE = 131 WM_NCHITTEST = 132 WM_NCPAINT = 133 WM_NCACTIVATE = 134 WM_GETDLGCODE = 135 WM_NCMOUSEMOVE = 160 WM_NCLBUTTONDOWN = 161 WM_NCLBUTTONUP = 162 WM_NCLBUTTONDBLCLK = 163 WM_NCRBUTTONDOWN = 164 WM_NCRBUTTONUP = 165 WM_NCRBUTTONDBLCLK = 166 WM_NCMBUTTONDOWN = 167 WM_NCMBUTTONUP = 168 WM_NCMBUTTONDBLCLK = 169 .topic 3022 WM_ Key Constants WM_KEYFIRST = 256 WM_KEYDOWN = 256 WM_KEYUP = 257 WM_CHAR = 258 WM_DEADCHAR = 259 WM_SYSKEYDOWN = 260 WM_SYSKEYUP = 261 WM_SYSCHAR = 262 WM_SYSDEADCHAR = 263 WM_KEYLAST = 264 WM_IME_STARTCOMPOSITION = 269 WM_IME_ENDCOMPOSITION = 270 WM_IME_COMPOSITION = 271 WM_IME_KEYLAST = 271 .topic 3032 Constants WM_INITDIALOG = 272 WM_COMMAND = 273 WM_SYSCOMMAND = 274 WM_TIMER = 275 WM_HSCROLL = 276 WM_VSCROLL = 277 WM_INITMENU = 278 WM_INITMENUPOPUP = 279 WM_MENUSELECT = 287 WM_MENUCHAR = 288 WM_ENTERIDLE = 289 .topic 3043 WM_ MOUSE Constants WM_MOUSEFIRST = 512 WM_MOUSEMOVE = 512 WM_LBUTTONDOWN = 513 WM_LBUTTONUP = 514 WM_LBUTTONDBLCLK = 515 WM_RBUTTONDOWN = 516 WM_RBUTTONUP = 517 WM_RBUTTONDBLCLK = 518 WM_MBUTTONDOWN = 519 WM_MBUTTONUP = 520 WM_MBUTTONDBLCLK = 521 WM_MOUSELAST = 522 WM_MOUSEWHEEL = 522 WHEEL_DELTA = 120 WHEEL_PAGESCROLL = -1 .topic 3055 Constants WM_PARENTNOTIFY = 528 MENULOOP_WINDOW = 0 MENULOOP_POPUP = 1 WM_ENTERMENULOOP = 529 WM_EXITMENULOOP = 530 WM_NEXTMENU = 531 WM_SIZING = 532 WM_CAPTURECHANGED = 533 WM_MOVING = 534 WM_POWERBROADCAST = 536 WM_DEVICECHANGE = 537 .topic 3056 WM_ MDI Constants WM_MDICREATE = 544 WM_MDIDESTROY = 545 WM_MDIACTIVATE = 546 WM_MDIRESTORE = 547 WM_MDINEXT = 548 WM_MDIMAXIMIZE = 549 WM_MDITILE = 550 WM_MDICASCADE = 551 WM_MDIICONARRANGE = 552 WM_MDIGETACTIVE = 553 WM_MDISETMENU = 560 WM_ENTERSIZEMOVE = 561 WM_EXITSIZEMOVE = 562 WM_DROPFILES = 563 WM_MDIREFRESHMENU = 564 .topic 3067 WM_ Clipboard Constants WM_CUT = 768 WM_COPY = 769 WM_PASTE = 770 WM_CLEAR = 771 WM_UNDO = 772 WM_RENDERFORMAT = 773 WM_RENDERALLFORMATS = 774 WM_DESTROYCLIPBOARD = 775 WM_DRAWCLIPBOARD = 776 WM_PAINTCLIPBOARD = 777 WM_VSCROLLCLIPBOARD = 778 WM_SIZECLIPBOARD = 779 WM_ASKCBFORMATNAME = 780 WM_CHANGECBCHAIN = 781 WM_HSCROLLCLIPBOARD = 782 .topic 3082 Constants WM_QUERYNEWPALETTE = 783 WM_PALETTEISCHANGING = 784 WM_PALETTECHANGED = 785 WM_HOTKEY = 786 WM_PRINT = 791 WM_PRINTCLIENT = 792 WM_HANDHELDFIRST = 856 WM_HANDHELDLAST = 863 WM_AFXFIRST = 864 WM_AFXLAST = 895 WM_PENWINFIRST = 896 WM_PENWINLAST = 911 WM_USER = 1024 WM_APP = 32768 .topic 3086 Constants HTERROR = -2 HTTRANSPARENT = -1 HTNOWHERE = 0 HTCLIENT = 1 HTCAPTION = 2 HTSYSMENU = 3 HTGROWBOX = 4 HTSIZE = 4 HTMENU = 5 HTHSCROLL = 6 HTVSCROLL = 7 HTREDUCE = 8 HTZOOM = 9 HTLEFT = 10 HTRIGHT = 11 HTTOP = 12 HTTOPLEFT = 13 HTTOPRIGHT = 14 HTBOTTOM = 15 HTBOTTOMLEFT = 16 HTBOTTOMRIGHT = 17 HTSIZEFIRST = 10 HTSIZELAST = 17 HTMINBUTTON = 8 HTMAXBUTTON = 9 HTOBJECT = 19 HTCLOSE = 20 HTHELP = 21 .topic 3109 Constants MA_ACTIVATE = 1 MA_ACTIVATEANDEAT = 2 MA_NOACTIVATE = 3 MA_NOACTIVATEANDEAT = 4 .topic 3112 Constants SIZENORMAL = 0 SIZEICONIC = 1 SIZEFULLSCREEN = 2 SIZEZOOMSHOW = 3 SIZEZOOMHIDE = 4 SIZE_RESTORED = 0 SIZE_MINIMIZED = 1 SIZE_MAXIMIZED = 2 SIZE_MAXSHOW = 3 SIZE_MAXHIDE = 4 .topic 3117 Constants MK_LBUTTON = 1 MK_RBUTTON = 2 MK_SHIFT = 4 MK_CONTROL = 8 MK_MBUTTON = 16 .topic 3122 Constants WS_OVERLAPPED = 0 WS_POPUP = 0x80000000 WS_CHILD = 0x40000000 WS_MINIMIZE = 0x20000000 WS_VISIBLE = 0x10000000 WS_DISABLED = 0x8000000 WS_CLIPSIBLINGS = 0x4000000 WS_CLIPCHILDREN = 0x2000000 WS_MAXIMIZE = 0x1000000 WS_CAPTION = 0xC00000 WS_BORDER = 0x800000 WS_DLGFRAME = 0x400000 WS_VSCROLL = 0x200000 WS_HSCROLL = 0x100000 WS_SYSMENU = 0x80000 WS_THICKFRAME = 0x40000 WS_GROUP = 0x20000 WS_TABSTOP = 0x10000 WS_MINIMIZEBOX = 0x20000 WS_MAXIMIZEBOX = 0x10000 WS_TILED = 0 WS_ICONIC = 0x20000000 WS_SIZEBOX = 0x40000 WS_OVERLAPPEDWINDOW = 0xCF0000 WS_POPUPWINDOW = 0x80880000 WS_CHILDWINDOW = 0x40000000 WS_TILEDWINDOW = 0xCF0000 .topic 3149 Constants WS_EX_DLGMODALFRAME = 1 WS_EX_NOPARENTNOTIFY = 4 WS_EX_TOPMOST = 8 WS_EX_ACCEPTFILES = 16 WS_EX_TRANSPARENT = 32 WS_EX_MDICHILD = 64 WS_EX_TOOLWINDOW = 128 WS_EX_WINDOWEDGE = 256 WS_EX_CLIENTEDGE = 512 WS_EX_CONTEXTHELP = 1024 WS_EX_RIGHT = 4096 WS_EX_LEFT = 0 WS_EX_RTLREADING = 8192 WS_EX_LTRREADING = 0 WS_EX_LEFTSCROLLBAR = 16384 WS_EX_RIGHTSCROLLBAR = 0 WS_EX_CONTROLPARENT = 0x10000 WS_EX_STATICEDGE = 0x20000 WS_EX_APPWINDOW = 0x40000 WS_EX_OVERLAPPEDWINDOW = 768 WS_EX_PALETTEWINDOW = 392 .topic 3151 Constants CS_VREDRAW = 1 CS_HREDRAW = 2 CS_KEYCVTWINDOW = 4 CS_DBLCLKS = 8 CS_OWNDC = 32 CS_CLASSDC = 64 CS_PARENTDC = 128 CS_NOKEYCVT = 256 CS_NOCLOSE = 512 CS_SAVEBITS = 2048 CS_BYTEALIGNCLIENT = 4096 CS_BYTEALIGNWINDOW = 8192 CS_GLOBALCLASS = 16384 CS_IME = 0x10000 .topic 3164 Clipboard Constants CF_TEXT = 1 CF_BITMAP = 2 CF_METAFILEPICT = 3 CF_SYLK = 4 CF_DIF = 5 CF_TIFF = 6 CF_OEMTEXT = 7 CF_DIB = 8 CF_PALETTE = 9 CF_PENDATA = 10 CF_RIFF = 11 CF_WAVE = 12 CF_UNICODETEXT = 13 CF_ENHMETAFILE = 14 CF_HDROP = 15 CF_LOCALE = 16 CF_MAX = 17 CF_OWNERDISPLAY = 128 CF_DSPTEXT = 129 CF_DSPBITMAP = 130 CF_DSPMETAFILEPICT = 131 CF_DSPENHMETAFILE = 142 CF_PRIVATEFIRST = 512 CF_PRIVATELAST = 767 CF_GDIOBJFIRST = 768 CF_GDIOBJLAST = 1023 CF_RTF = 49281 ($C081) CF_HTML = 49337 ($C0B9) .topic 3181 Constants ODT_MENU = 1 ODT_LISTBOX = 2 ODT_COMBOBOX = 3 ODT_BUTTON = 4 ODT_STATIC = 5 ODA_DRAWENTIRE = 1 ODA_SELECT = 2 ODA_FOCUS = 4 ODS_SELECTED = 1 ODS_GRAYED = 2 ODS_DISABLED = 4 ODS_CHECKED = 8 ODS_FOCUS = 16 ODS_DEFAULT = 32 ODS_COMBOBOXEDIT = 4096 .topic 3193 Constants PM_NOREMOVE = 0 PM_REMOVE = 1 PM_NOYIELD = 2 .topic 3199 Constants SWP_NOSIZE = 1 SWP_NOMOVE = 2 SWP_NOZORDER = 4 SWP_NOREDRAW = 8 SWP_NOACTIVATE = 16 SWP_DRAWFRAME = 32 SWP_SHOWWINDOW = 64 SWP_HIDEWINDOW = 128 SWP_NOCOPYBITS = 256 SWP_NOREPOSITION = 512 SWP_FRAMECHANGED = 32 SWP_NOOWNERZORDER = 512 SWP_NOSENDCHANGING = 1024 SWP_DEFERERASE = 8192 SWP_ASYNCWINDOWPOS = 16384 .topic 3209 Constants SM_CXSCREEN = 0 SM_CYSCREEN = 1 SM_CXVSCROLL = 2 SM_CYHSCROLL = 3 SM_CYCAPTION = 4 SM_CXBORDER = 5 SM_CYBORDER = 6 SM_CXDLGFRAME = 7 SM_CYDLGFRAME = 8 SM_CYVTHUMB = 9 SM_CXHTHUMB = 10 SM_CXICON = 11 SM_CYICON = 12 SM_CXCURSOR = 13 SM_CYCURSOR = 14 SM_CYMENU = 15 SM_CXFULLSCREEN = 16 SM_CYFULLSCREEN = 17 SM_CYKANJIWINDOW = 18 SM_MOUSEPRESENT = 19 SM_CYVSCROLL = 20 SM_CXHSCROLL = 21 SM_DEBUG = 22 SM_SWAPBUTTON = 23 SM_RESERVED1 = 24 SM_RESERVED2 = 25 SM_RESERVED3 = 26 SM_RESERVED4 = 27 SM_CXMIN = 28 SM_CYMIN = 29 SM_CXSIZE = 30 SM_CYSIZE = 31 SM_CXFRAME = 32 SM_CYFRAME = 33 SM_CXMINTRACK = 34 SM_CYMINTRACK = 35 SM_CXDOUBLECLK = 36 SM_CYDOUBLECLK = 37 SM_CXICONSPACING = 38 SM_CYICONSPACING = 39 SM_MENUDROPALIGNMENT = 40 SM_PENWINDOWS = 41 SM_DBCSENABLED = 42 SM_CMOUSEBUTTONS = 43 SM_CXFIXEDFRAME = 7 SM_CYFIXEDFRAME = 8 SM_CXSIZEFRAME = 32 SM_CYSIZEFRAME = 33 SM_SECURE = 44 SM_CXEDGE = 45 SM_CYEDGE = 46 SM_CXMINSPACING = 47 SM_CYMINSPACING = 48 SM_CXSMICON = 49 SM_CYSMICON = 50 SM_CYSMCAPTION = 51 SM_CXSMSIZE = 52 SM_CYSMSIZE = 53 SM_CXMENUSIZE = 54 SM_CYMENUSIZE = 55 SM_ARRANGE = 56 SM_CXMINIMIZED = 57 SM_CYMINIMIZED = 58 SM_CXMAXTRACK = 59 SM_CYMAXTRACK = 60 SM_CXMAXIMIZED = 61 SM_CYMAXIMIZED = 62 SM_NETWORK = 63 SM_CLEANBOOT = 67 SM_CXDRAG = 68 SM_CYDRAG = 69 SM_SHOWSOUNDS = 70 SM_CXMENUCHECK = 71 SM_CYMENUCHECK = 72 SM_SLOWMACHINE = 73 SM_MIDEASTENABLED = 74 SM_MOUSEWHEELPRESENT = 75 SM_CMETRICS = 76 .topic 3246 Constants MB_OK = 0 MB_OKCANCEL = 1 MB_ABORTRETRYIGNORE = 2 MB_YESNOCANCEL = 3 MB_YESNO = 4 MB_RETRYCANCEL = 5 MB_ICONHAND = 16 MB_ICONSTOP = 16 MB_ICONQUESTION = 32 MB_ICONEXCLAMATION = 48 MB_ICONASTERISK = 64 MB_ICONINFORMATION = 64 MB_USERICON = 128 MB_ICONWARNING = 48 MB_ICONERROR = 16 MB_DEFBUTTON1 = 0 MB_DEFBUTTON2 = 256 MB_DEFBUTTON3 = 512 MB_DEFBUTTON4 = 768 MB_APPLMODAL = 0 MB_SYSTEMMODAL = 4096 MB_TASKMODAL = 8192 MB_HELP = 16384 MB_NOFOCUS = 32768 MB_TYPEMASK = 15 MB_ICONMASK = 240 MB_DEFMASK = 3840 MB_MODEMASK = 12288 MB_MISCMASK = 0xC000 MB_SETFOREGROUND = 0x10000 MB_DEFAULT_DESKTOP_ONLY = 0x20000 MB_TOPMOST = 0x40000 MB_RIGHT = 0x80000 MB_RTLREADING = 0x100000 MB_SERVICE_NOTIFICATION = 0x200000 MB_SERVICE_NOTIFICATION_NT3X = 0x40000 .topic 3270 Constants CTLCOLOR_MSGBOX = 0 CTLCOLOR_EDIT = 1 CTLCOLOR_LISTBOX = 2 CTLCOLOR_BTN = 3 CTLCOLOR_DLG = 4 CTLCOLOR_SCROLLBAR = 5 CTLCOLOR_STATIC = 6 CTLCOLOR_MAX = 8 .topic 3278 Constants COLOR_SCROLLBAR = 0 COLOR_BACKGROUND = 1 COLOR_ACTIVECAPTION = 2 COLOR_INACTIVECAPTION = 3 COLOR_MENU = 4 COLOR_WINDOW = 5 COLOR_WINDOWFRAME = 6 COLOR_MENUTEXT = 7 COLOR_WINDOWTEXT = 8 COLOR_CAPTIONTEXT = 9 COLOR_ACTIVEBORDER = 10 COLOR_INACTIVEBORDER = 11 COLOR_APPWORKSPACE = 12 COLOR_HIGHLIGHT = 13 COLOR_HIGHLIGHTTEXT = 14 COLOR_BTNFACE = 15 COLOR_BTNSHADOW = 16 COLOR_GRAYTEXT = 17 COLOR_BTNTEXT = 18 COLOR_ENDCOLORS = 24 COLOR_INACTIVECAPTIONTEXT = 19 COLOR_BTNHIGHLIGHT = 20 COLOR_3DDKSHADOW = 21 COLOR_3DLIGHT = 22 COLOR_INFOTEXT = 23 COLOR_INFOBK = 24 COLOR_DESKTOP = 1 COLOR_3DFACE = 15 COLOR_3DSHADOW = 16 COLOR_3DHIGHLIGHT = 20 COLOR_3DHILIGHT = 20 COLOR_BTNHILIGHT = 20 .topic 3298 Constants GW_HWNDFIRST = 0 GW_HWNDLAST = 1 GW_HWNDNEXT = 2 GW_HWNDPREV = 3 GW_OWNER = 4 GW_CHILD = 5 GW_MAX = 5 .topic 3304 Menu Constants MF_BYCOMMAND = 0 MF_ENABLED = 0 MF_UNCHECKED = 0 MF_STRING = 0 MF_GRAYED = 1 MF_DISABLED = 2 MF_BITMAP = 4 MF_CHECKED = 8 MF_POPUP = 16 MF_MENUBARBREAK = 32 MF_MENUBREAK = 64 MF_OWNERDRAW = 256 MF_USECHECKBITMAPS = 512 MF_BYPOSITION = 1024 MF_SEPARATOR = 2048 MF_UNHILITE = 0 MF_HILITE = 128 MF_SYSMENU = 8192 MF_HELP = 16384 MF_MOUSESELECT = 32768 MF_END = 128 MF_DEFAULT = 4096 MF_RIGHTJUSTIFY = 16384 MENUITEMINFO.fState - Menu item state constants MFS_UNHILITE = 0 MFS_ENABLED = 0 MFS_UNCHECKED = 0 MFS_DISABLED = 3 MFS_GRAYED = 3 MFS_CHECKED = 8 MFS_HILITE = 128 MFS_DEFAULT = 4096 MENUITEMINFO.fType - Menu item type constants MFT_STRING = 0 MFT_BITMAP = 4 MFT_OWNERDRAW = 256 MFT_MENUBARBREAK = 32 MFT_MENUBREAK = 64 MFT_SEPARATOR = 2048 MFT_RIGHTJUSTIFY = 16384 MFT_RADIOCHECK = 512 MFT_RIGHTORDER = 8192 .topic 3330 Constants SC_SIZE = 0xF000 SC_MOVE = 0xF010 SC_MINIMIZE = 0xF020 SC_MAXIMIZE = 0xF030 SC_NEXTWINDOW = 0xF040 SC_PREVWINDOW = 0xF050 SC_CLOSE = 0xF060 SC_VSCROLL = 0xF070 SC_HSCROLL = 0xF080 SC_MOUSEMENU = 0xF090 SC_KEYMENU = 0xF100 SC_ARRANGE = 0xF110 SC_RESTORE = 0xF120 SC_TASKLIST = 0xF130 SC_ICON = 0xF020 SC_ZOOM = 0xF030 SC_SCREENSAVE = 0xF140 SC_HOTKEY = 0xF150 SC_DEFAULT = 0xF160 SC_MONITORPOWER = 0xF170 SC_CONTEXTHELP = 0xF180 SC_SEPARATOR = 0xF00F .topic 3346 Constants IDC_ARROW = 32512 IDC_IBEAM = 32513 IDC_WAIT = 32514 IDC_CROSS = 32515 IDC_UPARROW = 32516 IDC_SIZE = 32640 IDC_ICON = 32641 IDC_SIZENWSE = 32642 IDC_SIZENESW = 32643 IDC_SIZEWE = 32644 IDC_SIZENS = 32645 IDC_SIZEALL = 32646 IDC_NO = 32648 IDC_APPSTARTING = 32650 IDC_HELP = 32651 .topic 3357 Constant ORD_LANGDRIVER = 1 .topic 3358 Constants IDI_APPLICATION = 32512 IDI_HAND = 32513 IDI_QUESTION = 32514 IDI_EXCLAMATION = 32515 IDI_ASTERISK = 32516 IDI_WINLOGO = 32517 IDI_WARNING = 32515 IDI_ERROR = 32513 IDI_INFORMATION = 32516 .topic 3363 Constants CP_HWND = 0 CP_OPEN = 1 CP_DIRECT = 2 .topic 3366 Constants VK_KANA = 21 VK_ROMAJI = 22 VK_ZENKAKU = 23 VK_HIRAGANA = 24 VK_KANJI = 25 VK_CONVERT = 28 VK_NONCONVERT = 29 VK_ACCEPT = 30 VK_MODECHANGE = 31 .topic 3375 Constants KNJ_START = 1 KNJ_END = 2 KNJ_QUERY = 3 KNJ_LEARN_MODE = 16 KNJ_GETMODE = 17 KNJ_SETMODE = 18 KNJ_CODECONVERT = 32 KNJ_CONVERT = 33 KNJ_NEXT = 34 KNJ_PREVIOUS = 35 KNJ_ACCEPT = 36 KNJ_LEARN = 48 KNJ_REGISTER = 49 KNJ_REMOVE = 50 KNJ_CHANGE_UDIC = 51 KNJ_JIS1toJIS1KATAKANA = 20 KNJ_JIS1toSJIS2 = 19 KNJ_JIS1toSJIS2HIRAGANA = 21 KNJ_JIS1toSJIS2KATAKANA = 22 KNJ_JIS1toDEFAULT = 16 KNJ_JIS1toSJIS2OEM = 31 KNJ_JIS2toSJIS2 = 35 KNJ_SJIS2toJIS2 = 50 KNJ_MD_ALPHA = 1 KNJ_MD_HIRAGANA = 2 KNJ_MD_HALF = 4 KNJ_MD_JIS = 8 KNJ_MD_SPECIAL = 16 KNJ_CVT_NEXT = 1 KNJ_CVT_PREV = 2 KNJ_CVT_KATAKANA = 3 KNJ_CVT_HIRAGANA = 4 KNJ_CVT_JIS1 = 5 KNJ_CVT_SJIS2 = 6 KNJ_CVT_DEFAULT = 7 KNJ_CVT_TYPED = 8 .topic 3411 Constants IDOK = 1 IDCANCEL = 2 IDABORT = 3 IDRETRY = 4 IDIGNORE = 5 IDYES = 6 IDNO = 7 IDCLOSE = 8 IDHELP = 9 .topic 3418 Edit style Constants ES_LEFT = 0 ES_CENTER = 1 ES_RIGHT = 2 ES_MULTILINE = 4 ES_UPPERCASE = 8 ES_LOWERCASE = 16 ES_PASSWORD = 32 ES_AUTOVSCROLL = 64 ES_AUTOHSCROLL = 128 ES_NOHIDESEL = 256 ES_OEMCONVERT = 1024 ES_READONLY = 2048 ES_WANTRETURN = 4096 ES_NUMBER = 8192 .topic 3429 Edit notification messages Constants EN_SETFOCUS = 256 EN_KILLFOCUS = 512 EN_CHANGE = 768 EN_UPDATE = 1024 EN_ERRSPACE = 1280 EN_MAXTEXT = 1281 EN_HSCROLL = 1537 EN_VSCROLL = 1538 .topic 3437 Edit control messages Constants EM_GETSEL = 176 EM_SETSEL = 177 EM_GETRECT = 178 EM_SETRECT = 179 EM_SETRECTNP = 180 EM_SCROLL = 181 EM_LINESCROLL = 182 EM_SCROLLCARET = 183 EM_GETMODIFY = 184 EM_SETMODIFY = 185 EM_GETLINECOUNT = 186 EM_LINEINDEX = 187 EM_SETHANDLE = 188 EM_GETHANDLE = 189 EM_GETTHUMB = 190 EM_LINELENGTH = 193 EM_REPLACESEL = 194 EM_GETLINE = 196 EM_LIMITTEXT = 197 EM_CANUNDO = 198 EM_UNDO = 199 EM_FMTLINES = 200 EM_LINEFROMCHAR = 201 EM_SETTABSTOPS = 203 EM_SETPASSWORDCHAR = 204 EM_EMPTYUNDOBUFFER = 205 EM_GETFIRSTVISIBLELINE = 206 EM_SETREADONLY = 207 EM_SETWORDBREAKPROC = 208 EM_GETWORDBREAKPROC = 209 EM_GETPASSWORDCHAR = 210 EM_SETMARGINS = 211 EM_GETMARGINS = 212 EM_SETLIMITTEXT = 197 EM_GETLIMITTEXT = 213 EM_POSFROMCHAR = 214 EM_CHARFROMPOS = 215 .topic 3465 Button style Constants BS_PUSHBUTTON = 0 BS_DEFPUSHBUTTON = 1 BS_CHECKBOX = 2 BS_AUTOCHECKBOX = 3 BS_RADIOBUTTON = 4 BS_3STATE = 5 BS_AUTO3STATE = 6 BS_GROUPBOX = 7 BS_USERBUTTON = 8 BS_AUTORADIOBUTTON = 9 BS_PUSHBOX = 10 BS_OWNERDRAW = 11 BS_LEFTTEXT = 32 BS_TEXT = 0 BS_ICON = 64 BS_BITMAP = 128 BS_LEFT = 256 BS_RIGHT = 512 BS_CENTER = 768 BS_TOP = 1024 BS_BOTTOM = 2048 BS_VCENTER = 3072 BS_PUSHLIKE = 4096 BS_MULTILINE = 8192 BS_NOTIFY = 16384 BS_FLAT = 32768 BS_RIGHTBUTTON = 32 .topic 3478 Button notification messages Constants BN_CLICKED = 0 BN_PAINT = 1 BN_HILITE = 2 BN_UNHILITE = 3 BN_DISABLE = 4 BN_DOUBLECLICKED = 5 BN_PUSHED = 2 BN_UNPUSHED = 3 BN_DBLCLK = 5 BN_SETFOCUS = 6 BN_KILLFOCUS = 7 .topic 3484 Button messages Constants BM_GETCHECK = 240 BM_SETCHECK = 241 BM_GETSTATE = 242 BM_SETSTATE = 243 BM_SETSTYLE = 244 BM_CLICK = 245 BM_GETIMAGE = 246 BM_SETIMAGE = 247 .topic 3489 Static Style Constants SS_LEFT = 0 SS_CENTER = 1 SS_RIGHT = 2 SS_ICON = 3 SS_BLACKRECT = 4 SS_GRAYRECT = 5 SS_WHITERECT = 6 SS_BLACKFRAME = 7 SS_GRAYFRAME = 8 SS_WHITEFRAME = 9 SS_USERITEM = 10 SS_SIMPLE = 11 SS_LEFTNOWORDWRAP = 12 SS_NOPREFIX = 128 SS_OWNERDRAW = 13 SS_BITMAP = 14 SS_ENHMETAFILE = 15 SS_ETCHEDHORZ = 16 SS_ETCHEDVERT = 17 SS_ETCHEDFRAME = 18 SS_TYPEMASK = 31 SS_NOTIFY = 256 SS_CENTERIMAGE = 512 SS_RIGHTJUST = 1024 SS_REALSIZEIMAGE = 2048 SS_SUNKEN = 4096 SS_ENDELLIPSIS = 16384 SS_PATHELLIPSIS = 32768 SS_WORDELLIPSIS = 0xC000 SS_ELLIPSISMASK = 0xC000 .topic 3503 Dialog Style Constants DS_ABSALIGN = 1 DS_SYSMODAL = 2 DS_LOCALEDIT = 32 DS_SETFONT = 64 DS_MODALFRAME = 128 DS_NOIDLEMSG = 256 DS_SETFOREGROUND = 512 DS_3DLOOK = 4 DS_FIXEDSYS = 8 DS_NOFAILCREATE = 16 DS_CONTROL = 1024 DS_CENTER = 2048 DS_CENTERMOUSE = 4096 DS_CONTEXTHELP = 8192 .topic 3509 Constants DM_GETDEFID = 1024 DM_SETDEFID = 1025 DC_HASDEFID = 21323 DM_REPOSITION = 1026 PSM_PAGEINFO = 1124 PSM_SHEETINFO = 1125 PSI_SETACTIVE = 1 PSI_KILLACTIVE = 2 PSI_APPLY = 3 PSI_RESET = 4 PSI_HASHELP = 5 PSI_HELP = 6 PSI_CHANGED = 1 PSI_GUISTART = 2 PSI_REBOOT = 3 PSI_GETSIBLINGS = 4 .topic 3512 Constants DLGC_WANTARROWS = 1 DLGC_WANTTAB = 2 DLGC_WANTALLKEYS = 4 DLGC_WANTMESSAGE = 4 DLGC_HASSETSEL = 8 DLGC_DEFPUSHBUTTON = 16 DLGC_UNDEFPUSHBUTTON = 32 DLGC_RADIOBUTTON = 64 DLGC_WANTCHARS = 128 DLGC_STATIC = 256 DLGC_BUTTON = 8192 .topic 3523 Listbox Notification Messages Constants LB_CTLCODE = 0 LB_OKAY = 0 LB_ERR = -1 LB_ERRSPACE = -2 LBN_ERRSPACE = -2 LBN_SELCHANGE = 1 LBN_DBLCLK = 2 LBN_SELCANCEL = 3 LBN_SETFOCUS = 4 LBN_KILLFOCUS = 5 .topic 3533 Listbox messages Constants LB_ADDSTRING = 384 LB_INSERTSTRING = 385 LB_DELETESTRING = 386 LB_SELITEMRANGEEX = 387 LB_RESETCONTENT = 388 LB_SETSEL = 389 LB_SETCURSEL = 390 LB_GETSEL = 391 LB_GETCURSEL = 392 LB_GETTEXT = 393 LB_GETTEXTLEN = 394 LB_GETCOUNT = 395 LB_SELECTSTRING = 396 LB_DIR = 397 LB_GETTOPINDEX = 398 LB_FINDSTRING = 399 LB_GETSELCOUNT = 400 LB_GETSELITEMS = 401 LB_SETTABSTOPS = 402 LB_GETHORIZONTALEXTENT = 403 LB_SETHORIZONTALEXTENT = 404 LB_SETCOLUMNWIDTH = 405 LB_ADDFILE = 406 LB_SETTOPINDEX = 407 LB_GETITEMRECT = 408 LB_GETITEMDATA = 409 LB_SETITEMDATA = 410 LB_SELITEMRANGE = 411 LB_SETANCHORINDEX = 412 LB_GETANCHORINDEX = 413 LB_SETCARETINDEX = 414 LB_GETCARETINDEX = 415 LB_SETITEMHEIGHT = 416 LB_GETITEMHEIGHT = 417 LB_FINDSTRINGEXACT = 418 LB_SETLOCALE = 421 LB_GETLOCALE = 422 LB_SETCOUNT = 423 LB_INITSTORAGE = 424 LB_ITEMFROMPOINT = 425 LB_MSGMAX = 432 .topic 3560 Listbox style Constants LBS_NOTIFY = 1 LBS_SORT = 2 LBS_NOREDRAW = 4 LBS_MULTIPLESEL = 8 LBS_OWNERDRAWFIXED = 16 LBS_OWNERDRAWVARIABLE = 32 LBS_HASSTRINGS = 64 LBS_USETABSTOPS = 128 LBS_NOINTEGRALHEIGHT = 256 LBS_MULTICOLUMN = 512 LBS_WANTKEYBOARDINPUT = 1024 LBS_EXTENDEDSEL = 2048 LBS_DISABLENOSCROLL = 4096 LBS_NODATA = 8192 LBS_NOSEL = 16384 LBS_STANDARD = 0xA00003 .topic 3572 Constants CB_OKAY = 0 CB_ERR = -1 CB_ERRSPACE = -2 CBN_ERRSPACE = -1 CBN_SELCHANGE = 1 CBN_DBLCLK = 2 CBN_SETFOCUS = 3 CBN_KILLFOCUS = 4 CBN_EDITCHANGE = 5 CBN_EDITUPDATE = 6 CBN_DROPDOWN = 7 CBN_CLOSEUP = 8 CBN_SELENDOK = 9 CBN_SELENDCANCEL = 10 .topic 3583 Combobox Style Constants CBS_SIMPLE = 1 CBS_DROPDOWN = 2 CBS_DROPDOWNLIST = 3 CBS_OWNERDRAWFIXED = 16 CBS_OWNERDRAWVARIABLE = 32 CBS_AUTOHSCROLL = 64 CBS_OEMCONVERT = 128 CBS_SORT = 256 CBS_HASSTRINGS = 512 CBS_NOINTEGRALHEIGHT = 1024 CBS_DISABLENOSCROLL = 2048 CBS_UPPERCASE = 8192 CBS_LOWERCASE = 16384 .topic 3593 Combobox Constants CB_GETEDITSEL = 320 CB_LIMITTEXT = 321 CB_SETEDITSEL = 322 CB_ADDSTRING = 323 CB_DELETESTRING = 324 CB_DIR = 325 CB_GETCOUNT = 326 CB_GETCURSEL = 327 CB_GETLBTEXT = 328 CB_GETLBTEXTLEN = 329 CB_INSERTSTRING = 330 CB_RESETCONTENT = 331 CB_FINDSTRING = 332 CB_SELECTSTRING = 333 CB_SETCURSEL = 334 CB_SHOWDROPDOWN = 335 CB_GETITEMDATA = 336 CB_SETITEMDATA = 337 CB_GETDROPPEDCONTROLRECT = 338 CB_SETITEMHEIGHT = 339 CB_GETITEMHEIGHT = 340 CB_SETEXTENDEDUI = 341 CB_GETEXTENDEDUI = 342 CB_GETDROPPEDSTATE = 343 CB_FINDSTRINGEXACT = 344 CB_SETLOCALE = 345 CB_GETLOCALE = 346 CB_GETTOPINDEX = 347 CB_SETTOPINDEX = 348 CB_GETHORIZONTALEXTENT = 349 CB_SETHORIZONTALEXTENT = 350 CB_GETDROPPEDWIDTH = 351 CB_SETDROPPEDWIDTH = 352 CB_INITSTORAGE = 353 CB_MSGMAX = 354 .topic 3613 Constants SBS_HORZ = 0 SBS_VERT = 1 SBS_TOPALIGN = 2 SBS_LEFTALIGN = 2 SBS_BOTTOMALIGN = 4 SBS_RIGHTALIGN = 4 SBS_SIZEBOXTOPLEFTALIGN = 2 SBS_SIZEBOXBOTTOMRIGHTALIGN = 4 SBS_SIZEBOX = 8 SBS_SIZEGRIP = 16 .topic 3651 Constants NOPARITY = 0 ODDPARITY = 1 EVENPARITY = 2 MARKPARITY = 3 SPACEPARITY = 4 ONESTOPBIT = 0 ONE5STOPBITS = 1 TWOSTOPBITS = 2 IGNORE = 0 INFINITE = -1 .topic 3661 Constants CE_RXOVER = 1 CE_OVERRUN = 2 CE_RXPARITY = 4 CE_FRAME = 8 CE_BREAK = 16 CE_CTSTO = 32 CE_DSRTO = 64 CE_RLSDTO = 128 CE_TXFULL = 256 CE_PTO = 512 CE_IOE = 1024 CE_DNS = 2048 CE_OOP = 4096 CE_MODE = 32768 .topic 3675 Constants IE_BADID = -1 IE_OPEN = -2 IE_NOPEN = -3 IE_MEMORY = -4 IE_DEFAULT = -5 IE_HARDWARE = -10 IE_BYTESIZE = -11 IE_BAUDRATE = -12 .topic 3683 Constants EV_RXCHAR = 1 EV_RXFLAG = 2 EV_TXEMPTY = 4 EV_CTS = 8 EV_DSR = 16 EV_RLSD = 32 EV_BREAK = 64 EV_ERR = 128 EV_RING = 256 EV_PERR = 512 .topic 3693 Constants SETXOFF = 1 SETXON = 2 SETRTS = 3 CLRRTS = 4 SETDTR = 5 CLRDTR = 6 RESETDEV = 7 SETBREAK = 8 CLRBREAK = 9 .topic 3700 Constant LPTx = 128 .topic 3701 WinHelp parameter Constants HELP_CONTEXT = 1 HELP_QUIT = 2 HELP_INDEX = 3 HELP_CONTENTS = 3 HELP_HELPONHELP = 4 HELP_SETINDEX = 5 HELP_SETCONTENTS = 5 HELP_CONTEXTPOPUP = 8 HELP_FORCEFILE = 9 HELP_KEY = 257 HELP_COMMAND = 258 HELP_PARTIALKEY = 261 HELP_MULTIKEY = 513 HELP_SETWINPOS = 515 HELP_CONTEXTMENU = 103560 HELP_FINDER = 11 HELP_WM_HELP = 12 HELP_SETPOPUP_POS = 13 HELP_TCARD = 32768 HELP_TCARD_DATA = 16 HELP_TCARD_OTHER_CALLER = 17 .topic 3708 Constants WM_CTLCOLORMSGBOX = 306 WM_CTLCOLOREDIT = 307 WM_CTLCOLORLISTBOX = 308 WM_CTLCOLORBTN = 309 WM_CTLCOLORDLG = 310 WM_CTLCOLORSCROLLBAR = 311 WM_CTLCOLORSTATIC = 312 .topic 3721 DrawState() Constants DST_COMPLEX = 0 DST_TEXT = 1 DST_PREFIXTEXT = 2 DST_ICON = 3 DST_BITMAP = 4 DSS_NORMAL = 0 DSS_UNION = 16 DSS_DISABLED = 32 DSS_MONO = 128 DSS_RIGHT = 32768 .topic 3731 GetDCEx() Constants DCX_WINDOW = 1 DCX_CACHE = 2 DCX_NORESETATTRS = 4 DCX_CLIPCHILDREN = 8 DCX_CLIPSIBLINGS = 16 DCX_PARENTCLIP = 32 DCX_EXCLUDERGN = 64 DCX_INTERSECTRGN = 128 DCX_EXCLUDEUPDATE = 256 DCX_INTERSECTUPDATE = 512 DCX_LOCKWINDOWUPDATE = 1024 DCX_VALIDATE = 0x200000 .topic 3743 RedrawWindow() Constants RDW_INVALIDATE = 1 RDW_INTERNALPAINT = 2 RDW_ERASE = 4 RDW_VALIDATE = 8 RDW_NOINTERNALPAINT = 16 RDW_NOERASE = 32 RDW_NOCHILDREN = 64 RDW_ALLCHILDREN = 128 RDW_UPDATENOW = 256 RDW_ERASENOW = 512 RDW_FRAME = 1024 RDW_NOFRAME = 2048 .topic 3755 ScrollWindowEx() Constants SW_SCROLLCHILDREN = 1 SW_INVALIDATE = 2 SW_ERASE = 4 .topic 3764 EnableScrollBar() Constants ESB_ENABLE_BOTH = 0 ESB_DISABLE_BOTH = 3 ESB_DISABLE_LEFT = 1 ESB_DISABLE_RIGHT = 2 ESB_DISABLE_UP = 1 ESB_DISABLE_DOWN = 2 ESB_DISABLE_LTUP = 1 ESB_DISABLE_RTDN = 2 .topic 3774 Keystroke message lParam Constants KF_EXTENDED = 256 KF_DLGMODE = 2048 KF_MENUMODE = 4096 KF_ALTDOWN = 8192 KF_REPEAT = 16384 KF_UP = 32768 .topic 3827 ShellProc Hook Code Constants HSHELL_WINDOWCREATED = 1 HSHELL_WINDOWDESTROYED = 2 HSHELL_ACTIVATESHELLWINDOW = 3 HSHELL_WINDOWACTIVATED = 4 HSHELL_GETMINRECT = 5 HSHELL_REDRAW = 6 HSHELL_TASKMAN = 7 HSHELL_LANGUAGE = 8 .topic 3852 Constants WM_COPYDATA = 74 WM_CANCELJOURNAL = 75 WM_NOTIFY = 78 WM_INPUTLANGCHANGEREQUEST = 80 WM_INPUTLANGCHANGE = 81 WM_TCARD = 82 WM_HELP = 83 WM_USERCHANGED = 84 WM_NOTIFYFORMAT = 85 NFR_ANSI = 1 NFR_UNICODE = 2 NF_QUERY = 3 NF_REQUERY = 4 WM_CONTEXTMENU = 123 WM_STYLECHANGING = 124 WM_STYLECHANGED = 125 WM_DISPLAYCHANGE = 126 WM_GETICON = 127 WM_SETICON = 128 .topic 3892 Constants WM_IME_SETCONTEXT = 641 WM_IME_NOTIFY = 642 WM_IME_CONTROL = 643 WM_IME_COMPOSITIONFULL = 644 WM_IME_SELECT = 645 WM_IME_CHAR = 646 WM_IME_KEYDOWN = 656 WM_IME_KEYUP = 657 WM_MOUSEHOVER = 673 WM_MOUSELEAVE = 675 .topic 3912 Constants WMSZ_LEFT = 1 WMSZ_RIGHT = 2 WMSZ_TOP = 3 WMSZ_TOPLEFT = 4 WMSZ_TOPRIGHT = 5 WMSZ_BOTTOM = 6 WMSZ_BOTTOMLEFT = 7 WMSZ_BOTTOMRIGHT = 8 .topic 3920 Constants ST_BEGINSWP = 0 ST_ENDSWP = 1 .topic 3927 Constants SMTO_NORMAL = 0 SMTO_BLOCK = 1 SMTO_ABORTIFHUNG = 2 .topic 3931 Constants ICON_SMALL = 0 ICON_BIG = 1 .topic 3938 Constants WVR_ALIGNTOP = 16 WVR_ALIGNLEFT = 32 WVR_ALIGNBOTTOM = 64 WVR_ALIGNRIGHT = 128 WVR_HREDRAW = 256 WVR_VREDRAW = 512 WVR_REDRAW = 768 WVR_VALIDRECTS = 1024 .topic 3946 Constants TME_HOVER = 1 TME_LEAVE = 2 TME_QUERY = 0x40000000 TME_CANCEL = 0x80000000 .topic 3970 Constants PRF_CHECKVISIBLE = 1 PRF_NONCLIENT = 2 PRF_CLIENT = 4 PRF_ERASEBKGND = 8 PRF_CHILDREN = 16 PRF_OWNED = 32 .topic 3976 Constants BDR_RAISEDOUTER = 1 BDR_SUNKENOUTER = 2 BDR_RAISEDINNER = 4 BDR_SUNKENINNER = 8 BDR_OUTER = 3 BDR_INNER = 12 BDR_RAISED = 5 BDR_SUNKEN = 10 EDGE_RAISED = 5 EDGE_SUNKEN = 10 EDGE_ETCHED = 6 EDGE_BUMP = 9 BF_LEFT = 1 BF_TOP = 2 BF_RIGHT = 4 BF_BOTTOM = 8 BF_TOPLEFT = 3 BF_TOPRIGHT = 6 BF_BOTTOMLEFT = 9 BF_BOTTOMRIGHT = 10 BF_RECT = 15 BF_DIAGONAL = 16 BF_DIAGONAL_ENDTOPRIGHT = 22 BF_DIAGONAL_ENDTOPLEFT = 19 BF_DIAGONAL_ENDBOTTOMLEFT = 25 BF_DIAGONAL_ENDBOTTOMRIGHT = 26 BF_MIDDLE = 2048 BF_SOFT = 4096 BF_ADJUST = 8192 BF_FLAT = 16384 BF_MONO = 32768 .topic 4007 Constants DFC_CAPTION = 1 DFC_MENU = 2 DFC_SCROLL = 3 DFC_BUTTON = 4 .topic 4011 Constants DFCS_CAPTIONCLOSE = 0 DFCS_CAPTIONMIN = 1 DFCS_CAPTIONMAX = 2 DFCS_CAPTIONRESTORE = 3 DFCS_CAPTIONHELP = 4 DFCS_MENUARROW = 0 DFCS_MENUCHECK = 1 DFCS_MENUBULLET = 2 DFCS_MENUARROWRIGHT = 4 DFCS_SCROLLUP = 0 DFCS_SCROLLDOWN = 1 DFCS_SCROLLLEFT = 2 DFCS_SCROLLRIGHT = 3 DFCS_SCROLLCOMBOBOX = 5 DFCS_SCROLLSIZEGRIP = 8 DFCS_SCROLLSIZEGRIPRIGHT = 16 DFCS_BUTTONCHECK = 0 DFCS_BUTTONRADIOIMAGE = 1 DFCS_BUTTONRADIOMASK = 2 DFCS_BUTTONRADIO = 4 DFCS_BUTTON3STATE = 8 DFCS_BUTTONPUSH = 16 DFCS_INACTIVE = 256 DFCS_PUSHED = 512 DFCS_CHECKED = 1024 DFCS_ADJUSTRECT = 8192 DFCS_FLAT = 16384 DFCS_MONO = 32768 .topic 4039 Constants DC_ACTIVE = 1 DC_SMALLCAP = 2 DC_ICON = 4 DC_TEXT = 8 DC_INBUTTON = 16 .topic 4044 Constants IDANI_OPEN = 1 IDANI_CLOSE = 2 IDANI_CAPTION = 3 .topic 4056 Constants FVIRTKEY = 1 FNOINVERT = 2 FSHIFT = 4 FCONTROL = 8 FALT = 16 .topic 4061 Constants WPF_SETMINPOSITION = 1 WPF_RESTORETOMAXIMIZED = 2 .topic 4066 Constants MOD_ALT = 1 MOD_CONTROL = 2 MOD_SHIFT = 4 MOD_WIN = 8 .topic 4070 Constants IDHOT_SNAPWINDOW = -1 IDHOT_SNAPDESKTOP = -2 .topic 4072 Constants EW_RESTARTWINDOWS = 66 EW_REBOOTSYSTEM = 67 ENDSESSION_LOGOFF = 0x80000000 EWX_LOGOFF = 0 EWX_SHUTDOWN = 1 EWX_REBOOT = 2 EWX_FORCE = 4 EWX_POWEROFF = 8 .topic 4081 Constants BSM_ALLCOMPONENTS = 0 BSM_VXDS = 1 BSM_NETDRIVER = 2 BSM_INSTALLABLEDRIVERS = 4 BSM_APPLICATIONS = 8 BSM_ALLDESKTOPS = 16 BSF_QUERY = 1 BSF_IGNORECURRENTTASK = 2 BSF_FLUSHDISK = 4 BSF_NOHANG = 8 BSF_POSTMESSAGE = 16 BSF_FORCEIFHUNG = 32 BSF_NOTIMEOUTIFNOTHUNG = 64 BROADCAST_QUERY_DENY = 0x424D5144 HWND_BROADCAST = 0xFFFF .topic 4096 Constant CW_USEDEFAULT = 0x80000000 .topic 4102 Constants HWND_TOP = 0 HWND_BOTTOM = 1 HWND_TOPMOST = -1 HWND_NOTOPMOST = -2 .topic 4106 Constants KEYEVENTF_EXTENDEDKEY = 1 KEYEVENTF_KEYUP = 2 .topic 4108 Constants MOUSEEVENTF_MOVE = 1 MOUSEEVENTF_LEFTDOWN = 2 MOUSEEVENTF_LEFTUP = 4 MOUSEEVENTF_RIGHTDOWN = 8 MOUSEEVENTF_RIGHTUP = 16 MOUSEEVENTF_MIDDLEDOWN = 32 MOUSEEVENTF_MIDDLEUP = 64 MOUSEEVENTF_WHEEL = 2048 MOUSEEVENTF_ABSOLUTE = 32768 .topic 4117 Constants MWMO_WAITALL = 1 MWMO_ALERTABLE = 2 .topic 4119 Constants QS_KEY = 1 QS_MOUSEMOVE = 2 QS_MOUSEBUTTON = 4 QS_POSTMESSAGE = 8 QS_TIMER = 16 QS_PAINT = 32 QS_SENDMESSAGE = 64 QS_HOTKEY = 128 QS_ALLPOSTMESSAGE = 256 QS_MOUSE = 6 QS_INPUT = 7 QS_ALLEVENTS = 191 QS_ALLINPUT = 255 .topic 4173 Constants MNC_IGNORE = 0 MNC_CLOSE = 1 MNC_EXECUTE = 2 MNC_SELECT = 3 .topic 4177 Constants MIIM_STATE = 1 MIIM_ID = 2 MIIM_SUBMENU = 4 MIIM_CHECKMARKS = 8 MIIM_TYPE = 16 MIIM_DATA = 32 .topic 4183 Constants GMDI_USEDISABLED = 1 GMDI_GOINTOPOPUPS = 2 .topic 4185 Constants TPM_LEFTBUTTON = 0 TPM_RIGHTBUTTON = 2 TPM_LEFTALIGN = 0 TPM_CENTERALIGN = 4 TPM_RIGHTALIGN = 8 TPM_TOPALIGN = 0 TPM_VCENTERALIGN = 16 TPM_BOTTOMALIGN = 32 TPM_HORIZONTAL = 0 TPM_VERTICAL = 64 TPM_NONOTIFY = 128 TPM_RETURNCMD = 256 .topic 4197 Constants DOF_EXECUTABLE = 0x8001 DOF_DOCUMENT = 0x8002 DOF_DIRECTORY = 0x8003 DOF_MULTIPLE = 0x8004 DOF_PROGMAN = 1 DOF_SHELLDATA = 2 .topic 4203 Constants DO_DROPFILE = 0x454C4946 DO_PRINTFILE = 0x544E5250 .topic 4217 Constants CWP_ALL = 0 CWP_SKIPINVISIBLE = 1 CWP_SKIPDISABLED = 2 CWP_SKIPTRANSPARENT = 4 .topic 4263 Constants IMAGE_BITMAP = 0 IMAGE_ICON = 1 IMAGE_CURSOR = 2 IMAGE_ENHMETAFILE = 3 .topic 4267 Constants LR_DEFAULTCOLOR = 0 LR_MONOCHROME = 1 LR_COLOR = 2 LR_COPYRETURNORG = 4 LR_COPYDELETEORG = 8 LR_LOADFROMFILE = 16 LR_LOADTRANSPARENT = 32 LR_DEFAULTSIZE = 64 LR_VGACOLOR = 128 LR_LOADMAP3DCOLORS = 4096 LR_CREATEDIBSECTION = 8192 LR_COPYFROMRESOURCE = 16384 LR_SHARED = 32768 .topic 4280 Constants DI_MASK = 1 DI_IMAGE = 2 DI_NORMAL = 3 DI_COMPAT = 4 DI_DEFAULTSIZE = 8 .topic 4304 Constants EC_LEFTMARGIN = 1 EC_RIGHTMARGIN = 2 EC_USEFONTINFO = 0xFFFF .topic 4341 Constants BST_UNCHECKED = 0 BST_CHECKED = 1 BST_INDETERMINATE = 2 BST_PUSHED = 4 BST_FOCUS = 8 .topic 4362 Constants STM_SETICON = 368 STM_GETICON = 369 STM_SETIMAGE = 370 STM_GETIMAGE = 371 .topic 4366 Constants STN_CLICKED = 0 STN_DBLCLK = 1 STN_ENABLE = 2 STN_DISABLE = 3 STM_MSGMAX = 372 .topic 4371 Constant WC_DIALOG = 0x8002 .topic 4372 Constants DWL_MSGRESULT = 0 DWL_DLGPROC = 4 DWL_USER = 8 .topic 4375 Constants DDL_READWRITE = 0 DDL_READONLY = 1 DDL_HIDDEN = 2 DDL_SYSTEM = 4 DDL_DIRECTORY = 16 DDL_ARCHIVE = 32 DDL_POSTMSGS = 8192 DDL_DRIVES = 16384 DDL_EXCLUSIVE = 32768 .topic 4445 Constants SBM_SETPOS = 224 SBM_GETPOS = 225 SBM_SETRANGE = 226 SBM_SETRANGEREDRAW = 230 SBM_GETRANGE = 227 SBM_ENABLE_ARROWS = 228 SBM_SETSCROLLINFO = 233 SBM_GETSCROLLINFO = 234 SIF_RANGE = 1 SIF_PAGE = 2 SIF_POS = 4 SIF_DISABLENOSCROLL = 8 SIF_TRACKPOS = 16 SIF_ALL = 23 .topic 4459 Constants MDIS_ALLCHILDSTYLES = 1 MDITILE_VERTICAL = 0 MDITILE_HORIZONTAL = 1 MDITILE_SKIPDISABLED = 2 .topic 4477 WinHelp Macro Constants IDH_NO_HELP = 28440 IDH_MISSING_CONTEXT = 28441 IDH_GENERIC_HELP_BUTTON = 28442 IDH_OK = 28443 IDH_CANCEL = 28444 IDH_HELP = 28445 .topic 4483 SystemParametersInfo Parameter Constants SPI_GETBEEP = 1 SPI_SETBEEP = 2 SPI_GETMOUSE = 3 SPI_SETMOUSE = 4 SPI_GETBORDER = 5 SPI_SETBORDER = 6 SPI_GETKEYBOARDSPEED = 10 SPI_SETKEYBOARDSPEED = 11 SPI_LANGDRIVER = 12 SPI_ICONHORIZONTALSPACING = 13 SPI_GETSCREENSAVETIMEOUT = 14 SPI_SETSCREENSAVETIMEOUT = 15 SPI_GETSCREENSAVEACTIVE = 16 SPI_SETSCREENSAVEACTIVE = 17 SPI_GETGRIDGRANULARITY = 18 SPI_SETGRIDGRANULARITY = 19 SPI_SETDESKWALLPAPER = 20 SPI_SETDESKPATTERN = 21 SPI_GETKEYBOARDDELAY = 22 SPI_SETKEYBOARDDELAY = 23 SPI_ICONVERTICALSPACING = 24 SPI_GETICONTITLEWRAP = 25 SPI_SETICONTITLEWRAP = 26 SPI_GETMENUDROPALIGNMENT = 27 SPI_SETMENUDROPALIGNMENT = 28 SPI_SETDOUBLECLKWIDTH = 29 SPI_SETDOUBLECLKHEIGHT = 30 SPI_GETICONTITLELOGFONT = 31 SPI_SETDOUBLECLICKTIME = 32 SPI_SETMOUSEBUTTONSWAP = 33 SPI_SETICONTITLELOGFONT = 34 SPI_GETFASTTASKSWITCH = 35 SPI_SETFASTTASKSWITCH = 36 SPI_SETDRAGFULLWINDOWS = 37 SPI_GETDRAGFULLWINDOWS = 38 SPI_GETNONCLIENTMETRICS = 41 SPI_SETNONCLIENTMETRICS = 42 SPI_GETMINIMIZEDMETRICS = 43 SPI_SETMINIMIZEDMETRICS = 44 SPI_GETICONMETRICS = 45 SPI_SETICONMETRICS = 46 SPI_SETWORKAREA = 47 SPI_GETWORKAREA = 48 SPI_SETPENWINDOWS = 49 SPI_GETHIGHCONTRAST = 66 SPI_SETHIGHCONTRAST = 67 SPI_GETKEYBOARDPREF = 68 SPI_SETKEYBOARDPREF = 69 SPI_GETSCREENREADER = 70 SPI_SETSCREENREADER = 71 SPI_GETANIMATION = 72 SPI_SETANIMATION = 73 SPI_GETFONTSMOOTHING = 74 SPI_SETFONTSMOOTHING = 75 SPI_SETDRAGWIDTH = 76 SPI_SETDRAGHEIGHT = 77 SPI_SETHANDHELD = 78 SPI_GETLOWPOWERTIMEOUT = 79 SPI_GETPOWEROFFTIMEOUT = 80 SPI_SETLOWPOWERTIMEOUT = 81 SPI_SETPOWEROFFTIMEOUT = 82 SPI_GETLOWPOWERACTIVE = 83 SPI_GETPOWEROFFACTIVE = 84 SPI_SETLOWPOWERACTIVE = 85 SPI_SETPOWEROFFACTIVE = 86 SPI_SETCURSORS = 87 SPI_SETICONS = 88 SPI_GETDEFAULTINPUTLANG = 89 SPI_SETDEFAULTINPUTLANG = 90 SPI_SETLANGTOGGLE = 91 SPI_GETWINDOWSEXTENSION = 92 SPI_SETMOUSETRAILS = 93 SPI_GETMOUSETRAILS = 94 SPI_SCREENSAVERRUNNING = 97 SPI_GETFILTERKEYS = 50 SPI_SETFILTERKEYS = 51 SPI_GETTOGGLEKEYS = 52 SPI_SETTOGGLEKEYS = 53 SPI_GETMOUSEKEYS = 54 SPI_SETMOUSEKEYS = 55 SPI_GETSHOWSOUNDS = 56 SPI_SETSHOWSOUNDS = 57 SPI_GETSTICKYKEYS = 58 SPI_SETSTICKYKEYS = 59 SPI_GETACCESSTIMEOUT = 60 SPI_SETACCESSTIMEOUT = 61 SPI_GETSERIALKEYS = 62 SPI_SETSERIALKEYS = 63 SPI_GETSOUNDSENTRY = 64 SPI_SETSOUNDSENTRY = 65 SPI_GETSNAPTODEFBUTTON = 95 SPI_SETSNAPTODEFBUTTON = 96 SPI_GETMOUSEHOVERWIDTH = 98 SPI_SETMOUSEHOVERWIDTH = 99 SPI_GETMOUSEHOVERHEIGHT = 100 SPI_SETMOUSEHOVERHEIGHT = 101 SPI_GETMOUSEHOVERTIME = 102 SPI_SETMOUSEHOVERTIME = 103 SPI_GETWHEELSCROLLLINES = 104 SPI_SETWHEELSCROLLLINES = 105 SPIF_UPDATEINIFILE = 1 SPIF_SENDWININICHANGE = 2 SPIF_SENDCHANGE = 2 .topic 4586 Constant METRICS_USEDEFAULT = -1 .topic 4587 Constants SystemMetrics(SM_ARRANGE) Werte ARW_BOTTOMLEFT = 0 ARW_BOTTOMRIGHT = 1 ARW_TOPLEFT = 2 ARW_TOPRIGHT = 3 ARW_STARTMASK = 3 ARW_STARTRIGHT = 1 ARW_STARTTOP = 2 ARW_LEFT = 0 ARW_RIGHT = 0 ARW_UP = 4 ARW_DOWN = 4 ARW_HIDE = 8 ARW_VALID = 15 .topic 4600 Constants SERKF_SERIALKEYSON = 1 SERKF_AVAILABLE = 2 SERKF_INDICATOR = 4 .topic 4603 Constants HCF_HIGHCONTRASTON = 1 HCF_AVAILABLE = 2 HCF_HOTKEYACTIVE = 4 HCF_CONFIRMHOTKEY = 8 HCF_HOTKEYSOUND = 16 HCF_INDICATOR = 32 HCF_HOTKEYAVAILABLE = 64 .topic 4610 Constants CDS_UPDATEREGISTRY = 1 CDS_TEST = 2 CDS_FULLSCREEN = 4 CDS_GLOBAL = 8 CDS_SET_PRIMARY = 16 CDS_RESET = 0x40000000 CDS_SETRECT = 0x20000000 CDS_NORESET = 0x10000000 .topic 4618 Constants DISP_CHANGE_SUCCESSFUL = 0 DISP_CHANGE_RESTART = 1 DISP_CHANGE_FAILED = -1 DISP_CHANGE_BADMODE = -2 DISP_CHANGE_NOTUPDATED = -3 DISP_CHANGE_BADFLAGS = -4 DISP_CHANGE_BADPARAM = -5 .topic 4625 Constants ENUM_CURRENT_SETTINGS = -1 ENUM_REGISTRY_SETTINGS = -2 .topic 4627 Constants FKF_FILTERKEYSON = 1 FKF_AVAILABLE = 2 FKF_HOTKEYACTIVE = 4 FKF_CONFIRMHOTKEY = 8 FKF_HOTKEYSOUND = 16 FKF_INDICATOR = 32 FKF_CLICKON = 64 .topic 4634 Constants SKF_STICKYKEYSON = 1 SKF_AVAILABLE = 2 SKF_HOTKEYACTIVE = 4 SKF_CONFIRMHOTKEY = 8 SKF_HOTKEYSOUND = 16 SKF_INDICATOR = 32 SKF_AUDIBLEFEEDBACK = 64 SKF_TRISTATE = 128 SKF_TWOKEYSOFF = 256 .topic 4643 Constants MKF_MOUSEKEYSON = 1 MKF_AVAILABLE = 2 MKF_HOTKEYACTIVE = 4 MKF_CONFIRMHOTKEY = 8 MKF_HOTKEYSOUND = 16 MKF_INDICATOR = 32 MKF_MODIFIERS = 64 MKF_REPLACENUMBERS = 128 .topic 4651 Constants ATF_TIMEOUTON = 1 ATF_ONOFFFEEDBACK = 2 .topic 4653 Constants SSGF_NONE = 0 SSGF_DISPLAY = 3 SSTF_NONE = 0 SSTF_CHARS = 1 SSTF_BORDER = 2 SSTF_DISPLAY = 3 SSWF_NONE = 0 SSWF_TITLE = 1 SSWF_WINDOW = 2 SSWF_DISPLAY = 3 SSWF_CUSTOM = 4 SSF_SOUNDSENTRYON = 1 SSF_AVAILABLE = 2 SSF_INDICATOR = 4 .topic 4667 Constants TKF_TOGGLEKEYSON = 1 TKF_AVAILABLE = 2 TKF_HOTKEYACTIVE = 4 TKF_CONFIRMHOTKEY = 8 TKF_HOTKEYSOUND = 16 TKF_INDICATOR = 32 .topic 4673 Constants SLE_ERROR = 1 SLE_MINORERROR = 2 SLE_WARNING = 3 .topic 4676 Constants SND_SYNC = 0 SND_ASYNC = 1 SND_NODEFAULT = 2 SND_MEMORY = 4 SND_LOOP = 8 SND_NOSTOP = 16 SND_NOWAIT = 8192 SND_PURGE = 64 SND_APPLICATION = 128 .topic 4685 Object CommDlg ShowOpen/ShowSave Constants cdoReadOnly = 1 cdoOverWritePrompt = 2 cdoHideReadOnly = 4 cdoNoChangeDir = 8 cdoShowHelp = 16 cdoNoValidate = 256 cdoAllowMultiSelect = 512 cdoExtensionDifferent = 1024 cdoPathMustExist = 2048 cdoFileMustExist = 4096 cdoCreatePrompt = 8192 cdoNoReadOnlyReturn = 32768 cdoNoTestFileCreate = 0x10000 cdoNoNetworkButton = 0x20000 cdoNoLongNames = 0x40000 cdoExplorer = 0x80000 cdoNorefLinks = 0x100000 .topic 4701 CommDlg.ShowColor Flag property cdcRgbInit = 1 cdcFullOpen = 2 cdcPreventFullOpen = 4 cdcShowHelp = 8 cdcSolidColor = 128 cdcAnyColor = 256 .topic 4707 CommDlg.ShowFonts (in .Flags).Constants cdfScreenFonts = 1 cdfPrinterFonts = 2 cdfBoth = 3 cdfShowHelp = 4 cdfInitFont = 64 cdfUseStyle = 128 cdfEffects = 256 cdfApply = 512 cdfAnsiOnly = 1024 cdfScriptsOnly = 1024 cdfNoVector = 2048 cdfNoOEMFonts = 2048 cdfNoSimulations = 4096 cdfLimitSize = 8192 cdfFixedPitch = 16384 cdfWysiwyg = 0x8003 cdfForceFontExists = 0x10000 cdfScalabeOnly = 0x20000 cdfTTOnly = 0x40000 cdfNoFaceSel = 0x80000 cdfNoStyleSel = 0x100000 cdfNoSizeSel = 0x200000 cdfSelectScript = 0x400000 cdfNoScriptSel = 0x800000 cdfNoVertFonts = 0x1000000 .topic 4732 CommDlg.ShowPrint (in .Flags).Constants cdpAllPages = 0 cdpSelection = 1 cdpPageNums = 2 cdpNoSelection = 4 cdpNoPageNums = 8 cdpCollate = 16 cdpPrintToFile = 32 cdpPrintSetup = 64 cdpNoWarning = 128 cdpReturnDC = 256 cdpReturnIC = 512 cdpReturnDefault = 1024 cdpShowHelp = 2048 cdpUseDevmodeCopies = 0x40000 cdpDisablePrintToFile = 0x80000 cdpHidePrintToFile = 0x100000 cdpNoNetworkButton = 0x200000 .topic 4749 CommDlg.ShowPageSetup (in .Flags).Constants cdpsMinMargins = 1 cdpsMargins = 2 cdpsDisableMargins = 16 cdpsDisablePrinter = 32 cdpsNoWarning = 128 cdpsDisableOrientation = 256 cdpsReturnDefault = 1024 cdpsDisablePaper = 512 cdpsShowHelp = 2048 cdpsDisablePagePainting = 0x800000 cdpsNoNetworkButton = 0x200000 .topic 4760 CommDlg.ShowHelp (in .Flags).Constants cdhContext = 1 cdhFinder = 11 cdhForceFile = 9 cdhHelpOnHelp = 4 cdhIndex = 3 cdhContents = 3 cdhQuit = 2 cdhContextPopup = 8 cdhCommand = 258 cdhKey = 257 cdhPartialKey = 261 cdhSetContents = 5 cdhMultiKey = 513 cdhSetPopupPos = 13 .topic 4774 Command|Option|CheckBox.Align Constants basBsLeft = 256 basBsRight = 512 basBsCenter = 768 basBsTop = 1024 basBsBottom = 2048 basBsVCenter = 3072 .topic 4780 MenuItem.Flags.- Constants basmDisabled = 3 basmGrayed = 3 basmChecked = 8 basmHilite = 128 basmDefault = 4096 basmBarBreak = 32 basmBreak = 64 basmRadio = 512 basmRight = 16384 basmSeparator = 2048 .topic 4790 Constant basObjectError = 0x800A0000 .topic 4830 Constants HKEY_CLASSES_ROOT = 0x80000000 HKEY_CURRENT_USER = 0x80000001 HKEY_LOCAL_MACHINE = 0x80000002 HKEY_USERS = 0x80000003 HKEY_PERFORMANCE_DATA = 0x80000004 HKEY_CURRENT_CONFIG = 0x80000005 HKEY_DYN_DATA = 0x80000006 .topic 4831 Constants APPLICATION_ERROR_MASK = 0x20000000 ERROR_SEVERITY_SUCCESS = 0 ERROR_SEVERITY_INFORMATIONAL = 0x40000000 ERROR_SEVERITY_WARNING = 0x80000000 ERROR_SEVERITY_ERROR = 0xC0000000 .topic 4836 Constants STATUS_WAIT_0 = 0 STATUS_ABANDONED_WAIT_0 = 128 STATUS_USER_APC = 192 STATUS_TIMEOUT = 258 STATUS_PENDING = 259 STATUS_SEGMENT_NOTIFICATION = 0x40000005 STATUS_GUARD_PAGE_VIOLATION = 0x80000001 STATUS_DATATYPE_MISALIGNMENT = 0x80000002 STATUS_BREAKPOINT = 0x80000003 STATUS_SINGLE_STEP = 0x80000004 STATUS_ACCESS_VIOLATION = 0xC0000005 STATUS_IN_PAGE_ERROR = 0xC0000006 STATUS_INVALID_HANDLE = 0xC0000008 STATUS_NO_MEMORY = 0xC0000017 STATUS_ILLEGAL_INSTRUCTION = 0xC000001D STATUS_NONCONTINUABLE_EXCEPTION = 0xC0000025 STATUS_INVALID_DISPOSITION = 0xC0000026 STATUS_ARRAY_BOUNDS_EXCEEDED = 0xC000008C STATUS_FLOAT_DENORMAL_OPERAND = 0xC000008D STATUS_FLOAT_DIVIDE_BY_ZERO = 0xC000008E STATUS_FLOAT_INEXACT_RESULT = 0xC000008F STATUS_FLOAT_INVALID_OPERATION = 0xC0000090 STATUS_FLOAT_OVERFLOW = 0xC0000091 STATUS_FLOAT_STACK_CHECK = 0xC0000092 STATUS_FLOAT_UNDERFLOW = 0xC0000093 STATUS_INTEGER_DIVIDE_BY_ZERO = 0xC0000094 STATUS_INTEGER_OVERFLOW = 0xC0000095 STATUS_PRIVILEGED_INSTRUCTION = 0xC0000096 STATUS_STACK_OVERFLOW = 0xC00000FD STATUS_CONTROL_C_EXIT = 0xC000013A .topic 4866 Constants MAXIMUM_WAIT_OBJECTS = 64 MAXIMUM_SUSPEND_COUNT = 127 EVENT_ALL_ACCESS = 0x1F0003 MUTANT_QUERY_STATE = 1 MUTANT_ALL_ACCESS = 0x1F0001 SEMAPHORE_MODIFY_STATE = 2 SEMAPHORE_ALL_ACCESS = 0x1F0003 .topic 4873 Constants SECTION_QUERY = 1 SECTION_MAP_WRITE = 2 SECTION_MAP_READ = 4 SECTION_MAP_EXECUTE = 8 SECTION_EXTEND_SIZE = 16 SECTION_ALL_ACCESS = 0xF001F FILE_MAP_COPY = 1 FILE_MAP_WRITE = 2 FILE_MAP_READ = 4 FILE_MAP_ALL_ACCESS = 0xF001F .topic 4879 Constants PAGE_NOACCESS = 1 PAGE_READONLY = 2 PAGE_READWRITE = 4 PAGE_WRITECOPY = 8 PAGE_EXECUTE = 16 PAGE_EXECUTE_READ = 32 PAGE_EXECUTE_READWRITE = 64 PAGE_EXECUTE_WRITECOPY = 128 PAGE_GUARD = 256 PAGE_NOCACHE = 512 MEM_COMMIT = 4096 MEM_RESERVE = 8192 MEM_DECOMMIT = 16384 MEM_RELEASE = 32768 MEM_FREE = 0x10000 MEM_PRIVATE = 0x20000 MEM_MAPPED = 0x40000 MEM_RESET = 0x80000 MEM_TOP_DOWN = 0x100000 SEC_FILE = 0x800000 SEC_IMAGE = 0x1000000 SEC_RESERVE = 0x4000000 SEC_COMMIT = 0x8000000 SEC_NOCACHE = 0x10000000 MEM_IMAGE = 0x1000000 .topic 4904 Constants FILE_READ_DATA = 1 FILE_LIST_DIRECTORY = 1 FILE_WRITE_DATA = 2 FILE_ADD_FILE = 2 FILE_APPEND_DATA = 4 FILE_ADD_SUBDIRECTORY = 4 FILE_CREATE_PIPE_INSTANCE = 4 FILE_READ_EA = 8 FILE_WRITE_EA = 16 FILE_EXECUTE = 32 FILE_TRAVERSE = 32 FILE_DELETE_CHILD = 64 FILE_READ_ATTRIBUTES = 128 FILE_WRITE_ATTRIBUTES = 256 FILE_ALL_ACCESS = 0x1F01FF FILE_GENERIC_READ = 0x120089 FILE_GENERIC_WRITE = 0x120116 FILE_GENERIC_EXECUTE = 0x1200A0 FILE_SHARE_READ = 1 FILE_SHARE_WRITE = 2 FILE_SHARE_DELETE = 4 .topic 4925 Constants FILE_ATTRIBUTE_READONLY = 1 FILE_ATTRIBUTE_HIDDEN = 2 FILE_ATTRIBUTE_SYSTEM = 4 FILE_ATTRIBUTE_DIRECTORY = 16 FILE_ATTRIBUTE_ARCHIVE = 32 FILE_ATTRIBUTE_NORMAL = 128 FILE_ATTRIBUTE_TEMPORARY = 256 FILE_ATTRIBUTE_COMPRESSED = 2048 FILE_ATTRIBUTE_OFFLINE = 4096 FILE_FLAG_WRITE_THROUGH = 0x80000000 FILE_FLAG_OVERLAPPED = 0x40000000 FILE_FLAG_NO_BUFFERING = 0x20000000 FILE_FLAG_RANDOM_ACCESS = 0x10000000 FILE_FLAG_SEQUENTIAL_SCAN = 0x8000000 FILE_FLAG_DELETE_ON_CLOSE = 0x4000000 FILE_FLAG_BACKUP_SEMANTICS = 0x2000000 FILE_FLAG_POSIX_SEMANTICS = 0x1000000 .topic 4934 Constants FILE_NOTIFY_CHANGE_FILE_NAME = 1 FILE_NOTIFY_CHANGE_DIR_NAME = 2 FILE_NOTIFY_CHANGE_ATTRIBUTES = 4 FILE_NOTIFY_CHANGE_SIZE = 8 FILE_NOTIFY_CHANGE_LAST_WRITE = 16 FILE_NOTIFY_CHANGE_LAST_ACCESS = 32 FILE_NOTIFY_CHANGE_CREATION = 64 FILE_NOTIFY_CHANGE_SECURITY = 256 FILE_ACTION_ADDED = 1 FILE_ACTION_REMOVED = 2 FILE_ACTION_MODIFIED = 3 FILE_ACTION_RENAMED_OLD_NAME = 4 FILE_ACTION_RENAMED_NEW_NAME = 5 .topic 4947 Constants MAILSLOT_NO_MESSAGE = -1 MAILSLOT_WAIT_FOREVER = -1 .topic 4949 Constants FILE_CASE_SENSITIVE_SEARCH = 1 FILE_CASE_PRESERVED_NAMES = 2 FILE_UNICODE_ON_DISK = 4 FILE_PERSISTENT_ACLS = 8 FILE_FILE_COMPRESSION = 16 FILE_VOLUME_IS_COMPRESSED = 32768 IO_COMPLETION_MODIFY_STATE = 2 IO_COMPLETION_ALL_ACCESS = 0x1F0003 DUPLICATE_CLOSE_SOURCE = 1 DUPLICATE_SAME_ACCESS = 2 .topic 4959 Constants DELETE = 0x10000 READ_CONTROL = 0x20000 WRITE_DAC = 0x40000 WRITE_OWNER = 0x80000 SYNCHRONIZE = 0x100000 STANDARD_RIGHTS_REQUIRED = 0xF0000 STANDARD_RIGHTS_READ = 0x20000 STANDARD_RIGHTS_WRITE = 0x20000 STANDARD_RIGHTS_EXECUTE = 0x20000 STANDARD_RIGHTS_ALL = 0x1F0000 SPECIFIC_RIGHTS_ALL = 0xFFFF ACCESS_SYSTEM_SECURITY = 0x1000000 MAXIMUM_ALLOWED = 0x2000000 GENERIC_READ = 0x80000000 GENERIC_WRITE = 0x40000000 GENERIC_EXECUTE = 0x20000000 GENERIC_ALL = 0x10000000 .topic 4976 Heap Flags Constants HEAP_NO_SERIALIZE = 1 HEAP_GROWABLE = 2 HEAP_GENERATE_EXCEPTIONS = 4 HEAP_ZERO_MEMORY = 8 HEAP_REALLOC_IN_PLACE_ONLY = 16 HEAP_TAIL_CHECKING_ENABLED = 32 HEAP_FREE_CHECKING_ENABLED = 64 HEAP_DISABLE_COALESCE_ON_FREE = 128 HEAP_CREATE_ALIGN_16 = 0x10000 HEAP_CREATE_ENABLE_TRACING = 0x20000 HEAP_MAXIMUM_TAG = 4095 HEAP_PSEUDO_TAG_FLAG = 32768 HEAP_TAG_SHIFT = 16 .topic 4989 DllMain Parameter Constants DLL_PROCESS_ATTACH = 1 DLL_THREAD_ATTACH = 2 DLL_THREAD_DETACH = 3 DLL_PROCESS_DETACH = 0 .topic 5008 Registry Constants KEY_QUERY_VALUE = 1 KEY_SET_VALUE = 2 KEY_CREATE_SUB_KEY = 4 KEY_ENUMERATE_SUB_KEYS = 8 KEY_NOTIFY = 16 KEY_CREATE_LINK = 32 KEY_READ = 0x20019 KEY_WRITE = 0x20006 KEY_EXECUTE = 0x20019 KEY_ALL_ACCESS = 0xF003F REG_OPTION_RESERVED = 0 REG_OPTION_NON_VOLATILE = 0 REG_OPTION_VOLATILE = 1 REG_OPTION_CREATE_LINK = 2 REG_OPTION_BACKUP_RESTORE = 4 REG_OPTION_OPEN_LINK = 8 REG_LEGAL_OPTION = 15 REG_CREATED_NEW_KEY = 1 REG_OPENED_EXISTING_KEY = 2 REG_WHOLE_HIVE_VOLATILE = 1 REG_REFRESH_HIVE = 2 REG_NO_LAZY_FLUSH = 4 REG_NOTIFY_CHANGE_NAME = 1 REG_NOTIFY_CHANGE_ATTRIBUTES = 2 REG_NOTIFY_CHANGE_LAST_SET = 4 REG_NOTIFY_CHANGE_SECURITY = 8 REG_LEGAL_CHANGE_FILTER = 15 REG_NONE = 0 REG_SZ = 1 REG_EXPAND_SZ = 2 REG_BINARY = 3 REG_DWORD = 4 REG_DWORD_LITTLE_ENDIAN = 4 REG_DWORD_BIG_ENDIAN = 5 REG_LINK = 6 REG_MULTI_SZ = 7 REG_RESOURCE_LIST = 8 REG_FULL_RESOURCE_DESCRIPTOR = 9 REG_RESOURCE_REQUIREMENTS_LIST = 10 .topic 5047 Constants CREATE_NEW = 1 CREATE_ALWAYS = 2 OPEN_EXISTING = 3 OPEN_ALWAYS = 4 TRUNCATE_EXISTING = 5 .topic 5052 Constant INVALID_HANDLE_VALUE = -1 .topic 5053 Constant INVALID_FILE_SIZE = -1 .topic 5054 SetFilePointer Position Constants FILE_BEGIN = 0 FILE_CURRENT = 1 FILE_END = 2 _lseek FILE_BEGIN=SEEK_SET, FILE_CURRENT=SEEK_CUR und FILE_END=SEEK_END .topic 5069 Constants FILE_TYPE_UNKNOWN = 0 FILE_TYPE_DISK = 1 FILE_TYPE_CHAR = 2 FILE_TYPE_PIPE = 3 FILE_TYPE_REMOTE = 32768 .topic 5074 Constants STD_INPUT_HANDLE = -10 STD_OUTPUT_HANDLE = -11 STD_ERROR_HANDLE = -12 .topic 5079 Constants PurgeComm Parameter. PURGE_TXABORT = 1 PURGE_RXABORT = 2 PURGE_TXCLEAR = 4 PURGE_RXCLEAR = 8 GetCommModemStatus BitValues MS_CTS_ON = 16 MS_DSR_ON = 32 MS_RING_ON = 64 MS_RLSD_ON = 128 .topic 5091 SetErrorMode Parameter Constants SEM_FAILCRITICALERRORS = 1 SEM_NOGPFAULTERRORBOX = 2 SEM_NOALIGNMENTFAULTEXCEPT = 4 SEM_NOOPENFILEERRORBOX = 32768 .topic 5095 API-Functions InterlockedIncrement(lpAddend As Long) As Long InterlockedDecrement(lpAddend As Long) As Long InterlockedExchange(xTarget As Long, ByVal xValue As Long) As Long .topic 5098 API-Function FreeLibraryAndExitThread(ByVal hLibModule As Long, ByVal dwExitCode As Long) .topic 5099 API-Function DisableThreadLibraryCalls (ByVal hLibModule As Long) As Long .topic 5101 API-Function FlushInstructionCache(ByVal hProcess As Long, lpBaseAddress As Long, ByVal dwSize As Long) As Long .topic 5102 API-Functions VirtualAlloc(lpAddress As Long, ByVal dwSize As Long, ByVal flAllocationType As Long, ByVal flProtect As Long) As Long VirtualFree(lpAddress As Long, ByVal dwSize As Long, ByVal dwFreeType As Long) As Long VirtualProtect(lpAddress As Long, ByVal dwSize As Long, ByVal flNewProtect As Long, lpflOldProtect As Long) As Long VirtualProtectEx(ByVal hProcess As Long, lpAddress As Long, ByVal dwSize As Long, ByVal flNewProtect As Long, lpflOldProtect As Long) As Long VirtualQuery(lpAddress As Long, lpBuffer As MEMORY_BASIC_INFORMATION, ByVal dwLength As Long) As Long VirtualQueryEx(ByVal hProcess As Long, lpAddress As Long, lpBuffer As MEMORY_BASIC_INFORMATION, ByVal dwLength As Long) As Long VirtualLock(lpAddress As Long, ByVal dwSize As Long) As Long VirtualUnlock(lpAddress As Long, ByVal dwSize As Long) As Long .topic 5108 API-Functions HeapCreate(ByVal flOptions As Long, ByVal dwInitialSize As Long, ByVal dwMaximumSize As Long) As Long HeapDestroy(ByVal hHeap As Long) As Long HeapAlloc(ByVal hHeap As Long, ByVal dwFlags As Long, ByVal dwBytes As Long) As Long HeapReAlloc(ByVal hHeap As Long, ByVal dwFlags As Long, ByVal lpMem As Long, ByVal dwBytes As Long) As Long HeapFree(ByVal hHeap As Long, ByVal dwFlags As Long, ByVal lpMem As Long) As Long HeapSize(ByVal hHeap As Long, ByVal dwFlags As Long, ByVal lpMem As Long) As Long HeapValidate(ByVal hHeap As Long, ByVal dwFlags As Long, ByVal lpMem As Long) As Long HeapCompact(ByVal hHeap As Long, ByVal dwFlags As Long) As Long HeapLock(ByVal hHeap As Long) As Long HeapUnlock(ByVal hHeap As Long) As Long HeapWalk (ByVal hHeap As Long, ByRef lpEntry As PROCESS_HEAP_ENTRY) As Long GetProcessHeap() As Long .topic 5120 API-Function GetBinaryType(lpApplicationName As Long, lpBinaryType As Long) As Long .topic 5121 API-Function GetShortPathName(lpszLongPath As Long, lpszShortPath As Long, ByVal cchBuffer As Long) As Long .topic 5122 API-Functions GetProcessAffinityMask(ByVal hProcess As Long, lpProcessAffinityMask As Long, lpSystemAffinityMask As Long) As Long GetProcessTimes(ByVal hProcess As Long, lpCreationTime As FILETIME, lpExitTime As FILETIME, lpKernelTime As FILETIME, lpUserTime As FILETIME) As Long GetProcessWorkingSetSize(ByVal hProcess As Long, lpMinimumWorkingSetSize As Long, lpMaximumWorkingSetSize As Long) As Long SetProcessWorkingSetSize(ByVal hProcess As Long, ByVal dwMinimumWorkingSetSize As Long, ByVal dwMaximumWorkingSetSize As Long) As Long OpenProcess(ByVal dwDesiredAccess As Long, ByVal bInheritHandle As Long, ByVal dwProcessId As Long) As Long GetCurrentProcess() As Long GetCurrentProcessId() As Long ExitProcess(ByVal uExitCode As Long TerminateProcess(ByVal hProcess As Long, ByVal uExitCode As Long) As Long GetExitCodeProcess(ByVal hProcess As Long, lpExitCode As Long) As Long ReadProcessMemory(ByVal hProcess As Long, ByVal lpBaseAddress As Long, lpBuffer As Long, ByVal nSize As Long, lpNumberOfBytesWritten As Long) As Long WriteProcessMemory(ByVal hProcess As Long, lpBaseAddress As Long, lpBuffer As Long, ByVal nSize As Long, lpNumberOfBytesWritten As Long) As Long CreateThread(lpThreadAttributes As SECURITY_ATTRIBUTES, ByVal dwStackSize As Long, ByVal StartAddress As Long, ByVal lpParameter As Long, ByVal dwCreationFlags As Long, lpThreadId As Long) As Long CreateRemoteThread(ByVal hProcess As Long, lpThreadAttributes As SECURITY_ATTRIBUTES, ByVal dwStackSize As Long, ByVal lpStartAddress As Long, lpParameter As Long, ByVal dwCreationFlags As Long, lpThreadId As Long) As Long GetCurrentThread() As Long GetCurrentThreadId() As Long SetThreadAffinityMask(ByVal hThread As Long, ByVal dwThreadAffinityMask As Long) As Long SetThreadPriority(ByVal hThread As Long, ByVal nPriority As Long) As Long GetThreadPriority(ByVal hThread As Long) As Long GetThreadTimes(ByVal hThread As Long, lpCreationTime As FILETIME, lpExitTime As FILETIME, lpKernelTime As FILETIME, lpUserTime As FILETIME) As Long ExitThread(ByVal dwExitCode As Long TerminateThread(ByVal hThread As Long, ByVal dwExitCode As Long) As Long GetExitCodeThread(ByVal hThread As Long, lpExitCode As Long) As Long GetThreadSelectorEntry(ByVal hThread As Long, ByVal dwSelector As Long, lpSelectorEntry As LDT_ENTRY) As Long GetThreadContext(ByVal hThread As Long, lpContext As CONTEXT) As Long SetThreadContext(ByVal hThread As Long, lpContext As CONTEXT) As Long SuspendThread(ByVal hThread As Long) As Long ResumeThread(ByVal hThread As Long) As Long .topic 5132 API-Function GetEnvironmentStrings() As Long .topic 5133 API-Function FreeEnvironmentStrings(lpsz As Long) As Long .topic 5134 API-Function RaiseException(ByVal dwExceptionCode As Long, ByVal dwExceptionFlags As Long, ByVal nNumberOfArguments As Long, lpArguments As Long .topic 5135 API-Function UnhandledExceptionFilter(ExceptionInfo As EXCEPTION_POINTERS) As Long .topic 5136 API-Function SetUnhandledExceptionFilter(ByVal lpTopLevelExceptionFilter As Long) As Long .topic 5149 API-Function GetLastError() As Long .topic 5150 API-Function SetLastError(ByVal dwErrCode As Long .topic 5151 API-Function GetOverlappedResult(ByVal hFile As Long, lpOverlapped As OVERLAPPED, lpNumberOfBytesTransferred As Long, ByVal bWait As Long) As Long .topic 5152 API-Function CreateIoCompletionPort(ByVal FileHandle As Long, ByVal ExistingCompletionPort As Long, ByVal CompletionKey As Long, ByVal NumberOfConcurrentThreads As Long) As Long .topic 5153 API-Function GetQueuedCompletionStatus(ByVal CompletionPort As Long, lpNumberOfBytesTransferred As Long, lpCompletionKey As Long, lpOverlapped As Long, ByVal dwMilliseconds As Long) As Long .topic 5154 API-Function PostQueuedCompletionStatus (ByVal CompletionPort As Long, ByVal dwNumberOfBytesTransferred As Long, ByRef dwCompletionKey As Long, ByRef lpOverlapped As OVERLAPPED) As Long .topic 5161 API-Function WaitForDebugEvent(lpde As DEBUG_EVENT, ByVal dwTimeout As Long) As Long .topic 5162 API-Function ContinueDebugEvent(ByVal dwProcessId As Long, ByVal dwThreadId As Long, ByVal dwContinueStatus As Long) As Long .topic 5163 API-Function DebugActiveProcess(ByVal dwProcessId As Long) As Long .topic 5164 API-Functions InitializeCriticalSection(lpCriticalSection As CRITICAL_SECTION EnterCriticalSection(lpCriticalSection As CRITICAL_SECTION LeaveCriticalSection(lpCriticalSection As CRITICAL_SECTION DeleteCriticalSection(lpCriticalSection As CRITICAL_SECTION .topic 5168 API-Function SetEvent(ByVal hEvent As Long) As Long .topic 5169 API-Function ResetEvent(ByVal hEvent As Long) As Long .topic 5170 API-Function PulseEvent(ByVal hEvent As Long) As Long .topic 5171 API-Function ReleaseSemaphore(ByVal hSemaphore As Long, ByVal lReleaseCount As Long, lpPreviousCount As Long) As Long .topic 5172 API-Function ReleaseMutex(ByVal hMutex As Long) As Long .topic 5173 API-Function WaitForSingleObject(ByVal hHandle As Long, ByVal dwMilliseconds As Long) As Long .topic 5174 API-Function WaitForMultipleObjects(ByVal nCount As Long, lpHandles As Long, ByVal bWaitAll As Long, ByVal dwMilliseconds As Long) As Long .topic 5175 API-Functions Sleep() Note The Sleep n statement (without paranthesis) handles the application messages. Sleep(ByVal dwMilliseconds As Long) As Long SleepEx(ByVal dwMilliseconds As Long, ByVal bAlertable As Long) As Long .topic 5176 API-Function GetLogicalDrives() As Long .topic 5177 API-Functions LockFile(ByVal hFile As Long, ByVal dwFileOffsetLow As Long, ByVal dwFileOffsetHigh As Long, ByVal nNumberOfBytesToLockLow As Long, ByVal nNumberOfBytesToLockHigh As Long) As Long UnlockFile(ByVal hFile As Long, ByVal dwFileOffsetLow As Long, ByVal dwFileOffsetHigh As Long, ByVal nNumberOfBytesToUnlockLow As Long, ByVal nNumberOfBytesToUnlockHigh As Long) As Long LockFileEx(ByVal hFile As Long, ByVal dwFlags As Long, ByVal dwReserved As Long, ByVal nNumberOfBytesToLockLow As Long, ByVal nNumberOfBytesToLockHigh As Long, lpOverlapped As OVERLAPPED) As Long UnlockFileEx(ByVal hFile As Long, ByVal dwReserved As Long, ByVal nNumberOfBytesToUnlockLow As Long, ByVal nNumberOfBytesToUnlockHigh As Long, lpOverlapped As OVERLAPPED) As Long .topic 5181 API-Functions GetFileInformationByHandle(ByVal hFile As Long, lpFileInformation As BY_HANDLE_FILE_INFORMATION) As Long GetFileType(ByVal hFile As Long) As Long GetFileSize(ByVal hFile As Long, lpFileSizeHigh As Long) As Long GetStdHandle(ByVal nStdHandle As Long) As Long SetStdHandle(ByVal nStdHandle As Long, ByVal nHandle As Long) As Long FlushFileBuffers(ByVal hFile As Long) As Long DeviceIoControl(ByVal hDevice As Long, ByVal dwIoControlCode As Long, lpInBuffer As Long, ByVal nInBufferSize As Long, lpOutBuffer As Long, ByVal nOutBufferSize As Long, lpBytesReturned As Long, lpOverlapped As OVERLAPPED) As Long SetEndOfFile(ByVal hFile As Long) As Long SetFilePointer(ByVal hFile As Long, ByVal lDistanceToMove As Long, lpDistanceToMoveHigh As Long, ByVal dwMoveMethod As Long) As Long GetFileTime(ByVal hFile As Long, lpCreationTime As FILETIME, lpLastAccessTime As FILETIME, lpLastWriteTime As FILETIME) As Long SetFileTime(ByVal hFile As Long, lpCreationTime As FILETIME, lpLastAccessTime As FILETIME, lpLastWriteTime As FILETIME) As Long .topic 5186 API-Functions WriteFile(ByVal hFile As Long, lpBuffer As Long, ByVal nNumberOfBytesToWrite As Long, lpNumberOfBytesWritten As Long, lpOverlapped As OVERLAPPED) As Long ReadFile(ByVal hFile As Long, lpBuffer As Long, ByVal nNumberOfBytesToRead As Long, lpNumberOfBytesRead As Long, lpOverlapped As OVERLAPPED) As Long ReadFileEx(ByVal hFile As Long, lpBuffer As Long, ByVal nNumberOfBytesToRead As Long, lpOverlapped As OVERLAPPED, ByVal lpCompletionRoutine As Long) As Long WriteFileEx(ByVal hFile As Long, lpBuffer As Long, ByVal nNumberOfBytesToWrite As Long, lpOverlapped As OVERLAPPED, ByVal lpCompletionRoutine As Long) As Long .topic 5192 API-Function FindClose(ByVal hFindFile As Long) As Long .topic 5195 API-Function CloseHandle(ByVal hObject As Long) As Long .topic 5196 API-Function DuplicateHandle(ByVal hSourceProcessHandle As Long, ByVal hSourceHandle As Long, ByVal hTargetProcessHandle As Long, lpTargetHandle As Long, ByVal dwDesiredAccess As Long, ByVal bInheritHandle As Long, ByVal dwOptions As Long) As Long .topic 5197 API-Function GetHandleInformation(ByVal hObject As Long, lpdwFlags As Long) As Long .topic 5198 API-Function SetHandleInformation(ByVal hObject As Long, ByVal dwMask As Long, ByVal dwFlags As Long) As Long .topic 5211 API-Function SetTapePosition(ByVal hDevice As Long, ByVal dwPositionMethod As Long, ByVal dwPartition As Long, ByVal dwOffsetLow As Long, ByVal dwOffsetHigh As Long, ByVal bimmediate As Long) As Long .topic 5212 API-Function GetTapePosition(ByVal hDevice As Long, ByVal dwPositionType As Long, lpdwPartition As Long, lpdwOffsetLow As Long, lpdwOffsetHigh As Long) As Long .topic 5213 API-Function PrepareTape(ByVal hDevice As Long, ByVal dwOperation As Long, ByVal bimmediate As Long) As Long .topic 5214 API-Function EraseTape(ByVal hDevice As Long, ByVal dwEraseType As Long, ByVal bimmediate As Long) As Long .topic 5215 API-Function CreateTapePartition(ByVal hDevice As Long, ByVal dwPartitionMethod As Long, ByVal dwCount As Long, ByVal dwSize As Long) As Long .topic 5216 API-Function WriteTapemark(ByVal hDevice As Long, ByVal dwTapeMarkType As Long, ByVal dwTapeMarkCount As Long, ByVal bimmediate As Long) As Long .topic 5217 API-Function GetTapeStatus(ByVal hDevice As Long) As Long .topic 5218 API-Function GetTapeParameters(ByVal hDevice As Long, ByVal dwOperation As Long, lpdwSize As Long, lpTapeInformation As Long) As Long .topic 5219 API-Function SetTapeParameters(ByVal hDevice As Long, ByVal dwOperation As Long, lpTapeInformation As Long) As Long .topic 5220 API-Function Beep (ByVal dwFreq As Long, ByVal dwDuration As Long) As Long .topic 5221 API-Function GetSystemTime(lpSystemTime As SYSTEMTIME .topic 5222 API-Function GetSystemTimeAsFileTime(lpFileTime As FILETIME .topic 5223 API-Function SetSystemTime(lpSystemTime As SYSTEMTIME) As Long .topic 5224 API-Function GetLocalTime(lpSystemTime As SYSTEMTIME .topic 5225 API-Function SetLocalTime(lpSystemTime As SYSTEMTIME) As Long .topic 5226 API-Function GetSystemInfo(lpSystemInfo As SYSTEM_INFO .topic 5227 API-Function GetTimeZoneInformation(lpTimeZoneInformation As TIME_ZONE_INFORMATION) As Long .topic 5228 API-Function SetTimeZoneInformation(lpTimeZoneInformation As TIME_ZONE_INFORMATION) As Long .topic 5229 API-Function SystemTimeToFileTime(lpSystemTime As SYSTEMTIME, lpFileTime As FILETIME) As Long .topic 5230 API-Function FileTimeToLocalFileTime(lpFileTime As FILETIME, lpLocalFileTime As FILETIME) As Long .topic 5231 API-Function LocalFileTimeToFileTime(lpLocalFileTime As FILETIME, lpFileTime As FILETIME) As Long .topic 5232 API-Function FileTimeToSystemTime(lpFileTime As FILETIME, lpSystemTime As SYSTEMTIME) As Long .topic 5233 API-Function CompareFileTime(lpFileTime1 As FILETIME, lpFileTime2 As FILETIME) As Long .topic 5234 API-Function FileTimeToDosDateTime(lpFileTime As FILETIME, lpFatDate As Word, lpFatTime As Word) As Long .topic 5235 API-Function DosDateTimeToFileTime(ByVal wFatDate As Word, ByVal wFatTime As Word, lpFileTime As FILETIME) As Long .topic 5236 API-Function SetSystemTimeAdjustment(ByVal dwTimeAdjustment As Long, ByVal bTimeAdjustmentDisabled As Long) As Long .topic 5237 API-Function GetSystemTimeAdjustment(lpTimeAdjustment As Long, lpTimeIncrement As Long, lpTimeAdjustmentDisabled As Long) As Long .topic 5238 API-Function FormatMessage(ByVal dwFlags As Long, lpSource As Long, ByVal dwMessageId As Long, ByVal dwLanguageId As Long, lpBuffer As Long, ByVal nSize As Long, Arguments As Long) As Long .topic 5239 API-Function CreatePipe(phReadPipe As Long, phWritePipe As Long, lpPipeAttributes As SECURITY_ATTRIBUTES, ByVal nSize As Long) As Long .topic 5240 API-Function ConnectNamedPipe(ByVal hNamedPipe As Long, lpOverlapped As OVERLAPPED) As Long .topic 5241 API-Function DisconnectNamedPipe(ByVal hNamedPipe As Long) As Long .topic 5242 API-Function SetNamedPipeHandleState(ByVal hNamedPipe As Long, lpMode As Long, lpMaxCollectionCount As Long, lpCollectDataTimeout As Long) As Long .topic 5243 API-Function GetNamedPipeInfo(ByVal hNamedPipe As Long, lpFlags As Long, lpOutBufferSize As Long, lpInBufferSize As Long, lpMaxInstances As Long) As Long .topic 5244 API-Function PeekNamedPipe(ByVal hNamedPipe As Long, lpBuffer As Long, ByVal nBufferSize As Long, lpBytesRead As Long, lpTotalBytesAvail As Long, lpBytesLeftThisMessage As Long) As Long .topic 5245 API-Function TransactNamedPipe(ByVal hNamedPipe As Long, lpInBuffer As Long, ByVal nInBufferSize As Long, lpOutBuffer As Long, ByVal nOutBufferSize As Long, lpBytesRead As Long, lpOverlapped As OVERLAPPED) As Long .topic 5246 API-Function CreateMailslot(lpName As Long, ByVal nMaxMessageSize As Long, ByVal lReadTimeout As Long, lpSecurityAttributes As SECURITY_ATTRIBUTES) As Long .topic 5247 API-Function GetMailslotInfo(ByVal hMailSlot As Long, lpMaxMessageSize As Long, lpNextSize As Long, lpMessageCount As Long, lpReadTimeout As Long) As Long .topic 5248 API-Function SetMailslotInfo(ByVal hMailslot As Long, ByVal lReadTimeout As Long) As Long .topic 5249 API-Function MapViewOfFile(ByVal hFileMappingObject As Long, ByVal dwDesiredAccess As Long, ByVal dwFileOffsetHigh As Long, ByVal dwFileOffsetLow As Long, ByVal dwNumberOfBytesToMap As Long) As Long .topic 5250 API-Function FlushViewOfFile(lpBaseAddress As Long, ByVal dwNumberOfBytesToFlush As Long) As Long .topic 5251 API-Function UnmapViewOfFile(ByVal lpBaseAddress As Long) As Long .topic 5254 API-Function TlsAlloc() As Long .topic 5255 API-Function TlsGetValue(ByVal dwTlsIndex As Long) As Long .topic 5256 API-Function TlsSetValue(ByVal dwTlsIndex As Long, lpTlsValue As Long) As Long .topic 5257 API-Function TlsFree(ByVal dwTlsIndex As Long) As Long .topic 5259 API-Function WaitForSingleObjectEx(ByVal hHandle As Long, ByVal dwMilliseconds As Long, ByVal bAlertable As Long) As Long .topic 5260 API-Function WaitForMultipleObjectsEx(ByVal nCount As Long, lpHandles As Long, ByVal bWaitAll As Long, ByVal dwMilliseconds As Long, ByVal bAlertable As Long) As Long .topic 5263 API-Function BackupRead(ByVal hFile As Long, lpBuffer As Byte, ByVal nNumberOfBytesToRead As Long, lpNumberOfBytesRead As Long, ByVal bAbort As Long, ByVal bProcessSecurity As Long, lpContext As Long) As Long .topic 5264 API-Function BackupSeek(ByVal hFile As Long, ByVal dwLowBytesToSeek As Long, ByVal dwHighBytesToSeek As Long, lpdwLowByteSeeked As Long, lpdwHighByteSeeked As Long, lpContext As Long) As Long .topic 5265 API-Function BackupWrite(ByVal hFile As Long, lpBuffer As Byte, ByVal nNumberOfBytesToWrite As Long, lpNumberOfBytesWritten As Long, ByVal bAbort As Long, ByVal bProcessSecurity As Long, lpContext As Long) As Long .topic 5266 API-Function CreateMutex(lpMutexAttributes As SECURITY_ATTRIBUTES, ByVal bInitialOwner As Long, lpName As Long) As Long .topic 5267 API-Function OpenMutex(ByVal dwDesiredAccess As Long, ByVal bInheritHandle As Long, lpName As Long) As Long .topic 5268 API-Function CreateEvent(lpEventAttributes As SECURITY_ATTRIBUTES, ByVal bManualReset As Long, ByVal bInitialState As Long, lpName As Long) As Long .topic 5269 API-Function OpenEvent(ByVal dwDesiredAccess As Long, ByVal bInheritHandle As Long, lpName As Long) As Long .topic 5270 API-Function CreateSemaphore(lpSemaphoreAttributes As SECURITY_ATTRIBUTES, ByVal lInitialCount As Long, ByVal lMaximumCount As Long, lpName As Long) As Long .topic 5271 API-Function OpenSemaphore(ByVal dwDesiredAccess As Long, ByVal bInheritHandle As Long, lpName As Long) As Long .topic 5272 API-Function CreateFileMapping(ByVal hFile As Long, lpFileMappigAttributes As SECURITY_ATTRIBUTES, ByVal flProtect As Long, ByVal dwMaximumSizeHigh As Long, ByVal dwMaximumSizeLow As Long, lpName As Long) As Long .topic 5273 API-Function OpenFileMapping(ByVal dwDesiredAccess As Long, ByVal bInheritHandle As Long, lpName As Long) As Long .topic 5274 API-Function GetLogicalDriveStrings(ByVal nBufferLength As Long, lpBuffer As Long) As Long .topic 5275 API-Function LoadLibraryEx(ByVal lpLibFileName As Long, ByVal hFile As Long, ByVal dwFlags As Long) As Long .topic 5276 API-Function CreateProcess(lpApplicationName As Long, lpCommandLine As Long, lpProcessAttributes As SECURITY_ATTRIBUTES, lpThreadAttributes As SECURITY_ATTRIBUTES, ByVal bInheritHandles As Long, ByVal dwCreationFlags As Long, lpEnvironment As Long, lpCurrentDirectory As Long, lpStartupInfo As STARTUPINFO, lpProcessInformation As PROCESS_INFORMATION) As Long .topic 5277 API-Function SetProcessShutdownParameters(ByVal dwLevel As Long, ByVal dwFlags As Long) As Long .topic 5278 API-Function GetProcessShutdownParameters(lpdwLevel As Long, lpdwFlags As Long) As Long .topic 5279 API-Function GetProcessVersion(ByVal hProcess As Long) As Long .topic 5280 API-Function FatalAppExit(ByVal uAction As Long, lpMessageText As Long .topic 5281 API-Function GetStartupInfo(lpStartupInfo As STARTUPINFO .topic 5282 API-Function GetEnvironmentVariable(lpName As Long, lpBuffer As Long, ByVal nSize As Long) As Long .topic 5283 API-Function SetEnvironmentVariable(lpName As Long, lpValue As Long) As Long .topic 5284 API-Function ExpandEnvironmentStrings(lpSrc As Long, lpDst As Long, ByVal nSize As Long) As Long .topic 5285 API-Function FindResourceEx(ByVal hModule As Long, lpType As Long, lpName As Long, ByVal wLanguage As Word) As Long .topic 5286 API-Function EnumResourceTypes(ByVal hModule As Long, ByVal lpEnumFunc As Long, ByVal lParam As Long) As Long .topic 5287 API-Function EnumResourceNames(ByVal hModule As Long, lpType As Long, ByVal lpEnumFunc As Long, ByVal lParam As Long) As Long .topic 5288 API-Function EnumResourceLanguages(ByVal hModule As Long, lpType As Long, lpName As Long, ByVal lpEnumFunc As Long, ByVal lParam As Long) As Long .topic 5289 API-Function BeginUpdateResource(pFileName As Long, ByVal bDeleteExistingResources As Long) As Long .topic 5290 API-Function UpdateResource(ByVal hUpdate As Long, lpType As Long, lpName As Long, ByVal wLanguage As Word, lpData As Long, ByVal cbData As Long) As Long .topic 5291 API-Function EndUpdateResource(ByVal hUpdate As Long, ByVal fDiscard As Long) As Long .topic 5292 API-Function GetProfileSection(lpAppName As Long, lpReturnedString As Long, ByVal nSize As Long) As Long .topic 5293 API-Function GetPrivateProfileSection(lpAppName As Long, lpReturnedString As Long, ByVal nSize As Long, lpFileName As Long) As Long .topic 5294 API-Function WritePrivateProfileSection(lpAppName As Long, lpString As Long, lpFileName As Long) As Long .topic 5295 API-Function GetPrivateProfileSectionNames(lpszReturnBuffer As Long, ByVal nSize As Long, lpFileName As Long) As Long .topic 5296 API-Function GetPrivateProfileStruct(lpApplicationName As Long, lpKeyName As Long, lpStruct As Long, ByVal nSize As Long, lpFileName As Long) As Long .topic 5297 API-Function WritePrivateProfileStruct(lpApplicationName As Long, lpKeyName As Long, lpStruct As Long, ByVal uSizeStruct As Long, lpFileName As Long) As Long .topic 5298 API-Function GetTempPath(ByVal nBufferLength As Long, lpBuffer As Long) As Long .topic 5299 API-Functions SetCurrentDirectory(lpPathName As Long) As Long GetCurrentDirectory(ByVal nBufferLength As Long, lpBuffer As Long) As Long CreateDirectory(lpPathName As Long, lpSecurityAttributes As SECURITY_ATTRIBUTES) As Long CreateDirectoryEx(lpTemplateDirectory As Long, lpNewDirectory As Long, lpSecurityAttributes As SECURITY_ATTRIBUTES) As Long RemoveDirectory(lpPathName As Long) As Long .topic 5301 API-Functions GetDiskFreeSpace(lpRootPathName As Long, lpSectorsPerCluster As Long, lpBytesPerSector As Long, lpNumberOfFreeClusters As Long, lpTotalNumberOfClusters As Long) As Long GetDiskFreeSpaceEx(lpPathName As Long, lpFreeBytesAvailableToCaller As QUAD, lpTotalNumberOfBytes As QUAD, lpTotalNumberOfFreeBytes As QUAD) As Long .topic 5306 API-Function GetFullPathName(lpFileName As Long, ByVal nBufferLength As Long, lpBuffer As Long, lpFilePart As Long) As Long .topic 5307 API-Function DefineDosDevice(ByVal dwFlags As Long, lpDeviceName As Long, lpTargetPath As Long) As Long .topic 5308 API-Function QueryDosDevice(lpDeviceName As Long, lpTargetPath As Long, ByVal ucchMax As Long) As Long .topic 5309 API-Function hdl = CreateFile(lpFileName As Long, ByVal dwDesiredAccess As Long, ByVal dwShareMode As Long, lpSecurityAttributes As SECURITY_ATTRIBUTES, ByVal dwCreationDisposition As Long, ByVal dwFlagsAndAttributes As Long, ByVal hTemplateFile As Long) As Long .topic 5310 API-Function SetFileAttributes(lpFileName As Long, ByVal dwFileAttributes As Long) As Long .topic 5311 API-Function GetFileAttributes(lpFileName As Long) As Long .topic 5312 API-Function DeleteFile(lpFileName As Long) As Long .topic 5313 API-Function FindFirstFile(lpFileName As Long, lpFindFileData As WIN32_FIND_DATA) As Long .topic 5314 API-Function FindNextFile(ByVal hFindFile As Long, lpFindFileData As WIN32_FIND_DATA) As Long .topic 5315 API-Function SearchPath(lpPath As Long, lpFileName As Long, lpExtension As Long, ByVal nBufferLength As Long, lpBuffer As Long, lpFilePart As Long) As Long .topic 5316 API-Function CopyFile(lpExistingFileName As Long, lpNewFileName As Long, ByVal bFailIfExists As Long) As Long .topic 5317 API-Function MoveFile(lpExistingFileName As Long, lpNewFileName As Long) As Long .topic 5318 API-Function MoveFileEx(lpExistingFileName As Long, lpNewFileName As Long, ByVal dwFlags As Long) As Long .topic 5319 API-Function CreateNamedPipe(lpName As Long, ByVal dwOpenMode As Long, ByVal dwPipeMode As Long, ByVal nMaxInstances As Long, ByVal nOutBufferSize As Long, ByVal nInBufferSize As Long, ByVal nDefaultTimeOut As Long, lpSecurityAttributes As SECURITY_ATTRIBUTES) As Long .topic 5320 API-Function GetNamedPipeHandleState(ByVal hNamedPipe As Long, lpState As Long, lpCurInstances As Long, lpMaxCollectionCount As Long, lpCollectDataTimeout As Long, lpUserName As Long, ByVal nMaxUserNameSize As Long) As Long .topic 5321 API-Function CallNamedPipe(lpNamedPipeName As Long, lpInBuffer As Long, ByVal nInBufferSize As Long, lpOutBuffer As Long, ByVal nOutBufferSize As Long, lpBytesRead As Long, ByVal nTimeOut As Long) As Long .topic 5322 API-Function WaitNamedPipe(lpNamedPipeName As Long, ByVal nTimeOut As Long) As Long .topic 5323 API-Function SetVolumeLabel(lpRootPathName As Long, lpVolumeName As Long) As Long .topic 5324 API-Function SetFileApisToOEM() .topic 5325 API-Function SetFileApisToANSI() .topic 5326 API-Function AreFileApisANSI() as Long .topic 5327 API-Function GetVolumeInformation(lpRootPathName As Long, lpVolumeNameBuffer As Long, ByVal nVolumeNameSize As Long, lpVolumeSerialNumber As Long, lpMaximumComponentLength As Long, lpFileSystemFlags As Long, lpFileSystemNameBuffer As Long, ByVal nFileSystemNameSize As Long) As Long .topic 5328 API-Function FindFirstChangeNotification(lpPathName As Long, ByVal bWatchSubtree As Long, ByVal dwNotifyFilter As Long) As Long .topic 5329 API-Function FindNextChangeNotification(ByVal hChangeHandle As Long) As Long .topic 5330 API-Function FindCloseChangeNotification(ByVal hChangeHandle As Long) As Long .topic 5333 API-Function MapViewOfFileEx(ByVal hFileMappingObject As Long, ByVal dwDesiredAccess As Long, ByVal dwFileOffsetHigh As Long, ByVal dwFileOffsetLow As Long, ByVal dwNumberOfBytesToMap As Long, lpBaseAddress As Long) As Long .topic 5334 API-Function SetPriorityClass(ByVal hProcess As Long, ByVal dwPriorityClass As Long) As Long .topic 5335 API-Function GetPriorityClass(ByVal hProcess As Long) As Long .topic 5336 API-Functions IsBadReadPtr(ByVal lp As Long, ByVal ucb As Long) As Long IsBadWritePtr(ByVal lp As Long, ByVal ucb As Long) As Long IsBadHugeReadPtr(ByVal lp As Long, ByVal ucb As Long) As Long IsBadHugeWritePtr(ByVal lp As Long, ByVal ucb As Long) As Long IsBadCodePtr(ByVal lpfn As Long) As Long IsBadStringPtr(lpsz As Long, ByVal ucchMax As Long) As Long .topic 5346 API-Function GetComputerName(lpBuffer As Long, nSize As Long) As Long .topic 5347 API-Function SetComputerName(lpComputerName As Long) As Long .topic 5348 API-Function QueryPerformanceCounter(lpPerformanceCount As QUAD) As Long .topic 5349 API-Function QueryPerformanceFrequency(lpFrequency As QUAD) As Long .topic 5350 API-Function GetVersionEx(lpVersionInformation As Long) As Long .topic 5351 API-Function GdiSetBatchLimit(ByVal dwLimit As Long) As Long .topic 5353 API-Function GetGlyphOutline(ByVal hdc As Long, ByVal uChar As Long, ByVal ufFormat As Long, lpgm As GLYPHMETRICS, ByVal cbBuffer As Long, lpBuffer As Long, lpmat2 As MAT2) As Long .topic 5354 API-Function SetBoundsRect(ByVal hdc As Long, lprcBounds As RECT, ByVal flags As Long) As Long .topic 5358 API-Function GetCharacterPlacement(ByVal hdc As Long, lpsz As Long, ByVal n1 As Long, ByVal n2 As Long, lpGcpResults As GCP_RESULTS, ByVal dw As Long) As Long .topic 5360 API-Function ResetDC(ByVal hdc As Long, lpInitData As DEVMODE) As Long .topic 5363 API-Function GetFontData(ByVal hdc As Long, ByVal dwTable As Long, ByVal dwOffset As Long, lpvBuffer As Long, ByVal cbData As Long) As Long .topic 5364 API-Function GetArcDirection(ByVal hdc As Long) As Long .topic 5366 API-Function GetOutlineTextMetrics(ByVal hdc As Long, ByVal cbData As Long, lpotm As OUTLINETEXTMETRIC) As Long .topic 5368 API-Function GetRegionData(ByVal hRgn As Long, ByVal dwCount As Long, lpRgnData As RgnData) As Long .topic 5369 API-Function SetArcDirection(ByVal hdc As Long, ByVal ArcDirection As Long) As Long .topic 5370 API-Function SetPixelV(ByVal hdc As Long, ByVal x As Long, ByVal y As Long, ByVal crColor As Long) As Long .topic 5371 API-Function GetFontLanguageInfo(ByVal hdc As Long) As Long .topic 5372 API-Function PolyBezierTo(ByVal hdc As Long, lppt As POINTAPI, ByVal cCount As Long) As Long .topic 5373 API-Functions StartPage(ByVal hdc As Long) As Long EndPage(ByVal hdc As Long) As Long StartDoc(ByVal hdc As Long, lpdi As DOCINFO) As Long EndDoc(ByVal hdc As Long) As Long AbortDoc(ByVal hdc As Long) As Long SetAbortProc(ByVal hDC As Long, ByVal lpAbortProc As Long) As Long .topic 5378 API-Function CreateDIBSection(ByVal hdc As Long, pbmi As BITMAPINFO, ByVal dwUsage As Long, ByVal ppvBits As Long, ByVal hSection As Long, ByVal dwOffset As Long) As Long .topic 5380 API-Function ExtSelectClipRgn(ByVal hdc As Long, ByVal hRgn As Long, ByVal fnMode As Long) As Long .topic 5382 API-Functions BeginPath(ByVal hdc As Long) As Long AbortPath(ByVal hdc As Long) As Long StrokePath(ByVal hdc As Long) As Long FillPath(ByVal hdc As Long) As Long StrokeAndFillPath(ByVal hdc As Long) As Long FlattenPath(ByVal hdc As Long) As Long WidenPath(ByVal hdc As Long) As Long GetPath(ByVal hdc As Long, lpPoint As POINTAPI, lpTypes As Byte, ByVal nSize As Long) As Long EndPath(ByVal hdc As Long) As Long SelectClipPath(ByVal hdc As Long, ByVal iMode As Long) As Long .topic 5385 API-Function SetColorAdjustment(ByVal hdc As Long, lpca As COLORADJUSTMENT) As Long .topic 5387 API-Function GetCharABCWidthsFloat(ByVal hdc As Long, ByVal dFirstChar As Long, ByVal dLastChar As Long, lpABCF As ABCFLOAT) As Long .topic 5388 API-Function PolylineTo(ByVal hdc As Long, lppt As POINTAPI, ByVal cCount As Long) As Long .topic 5391 API-Function SetPixelFormat(ByVal hDC As Long, ByVal n As Long, pcPixelFormatDescriptor As PIXELFORMATDESCRIPTOR) As Long .topic 5392 API-Function CloseFigure(ByVal hdc As Long) As Long .topic 5395 API-Functions GetMiterLimit(ByVal hdc As Long, peLimit As Single) As Long SetMiterLimit(ByVal hdc As Long, ByVal eNewLimit As Single, peOldLimit As Single) As Long .topic 5397 API-Function SetDIBColorTable(ByVal hDC As Long, ByVal uStartIndex As Long, ByVal cEntries As Long, pcRGBQuad As RGBQUAD) As Long .topic 5398 API-Functions GetWorldTransform(ByVal hdc As Long, lpXform As XFORM) As Long SetWorldTransform(ByVal hdc As Long, lpXform As XFORM) As Long ModifyWorldTransform(ByVal hdc As Long, lpXform As xform, ByVal dwMode As Long) As Long CombineTransform(lpXFORMResult As XFORM, lpXFORM1 As XFORM, lpXFORM2 As XFORM) As Long .topic 5400 API-Function CreateDIBPatternBrushPt(lpPackedDIB As Long, ByVal iUsage As Long) As Long .topic 5402 API-Function SetBitmapDimensionEx(ByVal hbm As Long, ByVal nX As Long, ByVal nY As Long, lpSize As SIZEL) As Long .topic 5409 API-Function GetCharWidthFloat(ByVal hdc As Long, ByVal dFirstChar As Long, ByVal dLastChar As Long, pxBuffer As Long) As Long .topic 5410 API-Function GetCurrentPositionEx(ByVal hdc As Long, lpPoint As POINTAPI) As Long .topic 5412 API-Function GetObjectType(ByVal hgdiobj As Long) As Long .topic 5414 API-Function DrawEscape(ByVal hdc As Long, ByVal nEscape As Long, ByVal cbInput As Long, lpszInData As Long) As Long .topic 5415 API-Function ExtEscape(ByVal hdc As Long, ByVal nEscape As Long, ByVal cbInput As Long, lpszInData As Long, ByVal cbOutput As Long, lpszOutData As Long) As Long .topic 5419 API-Function CreateScalableFontResource(ByVal fHidden As Long, lpszResourceFile As Long, lpszFontFile As Long, lpszCurrentPath As Long) As Long .topic 5420 API-Function GetKerningPairs(ByVal hdc As Long, ByVal cPairs As Long, lpkrnpair As KERNINGPAIR) As Long .topic 5423 API-Function GetRasterizerCaps(lpraststat As RASTERIZER_STATUS, ByVal cb As Long) As Long .topic 5424 API-Function PolyDraw(ByVal hdc As Long, lppt As POINTAPI, lpbTypes As Byte, ByVal cCount As Long) As Long .topic 5428 API-Function GetCharABCWidths(ByVal hdc As Long, ByVal dFirstChar As Long, ByVal dLastChar As Long, lpabc As ABC) As Long .topic 5430 API-Function GetTextCharsetInfo(ByVal hdc As Long, lpSig As FONTSIGNATURE, ByVal dwFlags As Long) As Long .topic 5432 API-Function GetCharWidth32(ByVal hdc As Long, ByVal dFirstChar As Long, ByVal dLastChar As Long, lpBuffer As Long) As Long .topic 5433 API-Function PolyBezier(ByVal hdc As Long, lppt As POINTAPI, ByVal cPoints As Long) As Long .topic 5434 API-Function GdiComment(ByVal hdc As Long, ByVal cbSize As Long, lpData As Byte) As Long .topic 5435 API-Function ExtCreatePen(ByVal dwPenStyle As Long, ByVal dwWidth As Long, lplb As LOGBRUSH, ByVal dwStyleCount As Long, lpStyle As Long) As Long .topic 5436 API-Function ExtCreateRegion(lpXform As xform, ByVal nCount As Long, lpRgnData As Long) As Long .topic 5437 API-Function ChoosePixelFormat(ByVal hDC As Long, pPixelFormatDescriptor As PIXELFORMATDESCRIPTOR) As Long .topic 5438 API-Function DescribePixelFormat(ByVal hDC As Long, ByVal iPixelFormat As Long, ByVal nBytes As Long, ppfd As PIXELFORMATDESCRIPTOR) As Long .topic 5440 API-Function MaskBlt(ByVal hdcDest As Long, ByVal nXDest As Long, ByVal nYDest As Long, ByVal nWidth As Long, ByVal nHeight As Long, ByVal hdcSrc As Long, ByVal nXSrc As Long, ByVal nYSrc As Long, ByVal hbmMask As Long, ByVal xMask As Long, ByVal yMask As Long, ByVal dwRop As Long) As Long .topic 5441 API-Function PathToRegion(ByVal hdc As Long) As Long .topic 5442 API-Function GetGraphicsMode(ByVal hdc As Long) As Long .topic 5445 API-Function GetColorAdjustment(ByVal hdc As Long, lpca As COLORADJUSTMENT) As Long .topic 5447 API-Function SetGraphicsMode(ByVal hdc As Long, ByVal iMode As Long) As Long .topic 5448 API-Function GetAspectRatioFilterEx(ByVal hdc As Long, lpAspectRatio As SIZEL) As Long .topic 5449 API-Function TranslateCharsetInfo(lpSrc As Long, lpcs As CHARSETINFO, ByVal dwFlags As Long) As Long .topic 5451 API-Function GetPixelFormat(ByVal hDC As Long) As Long .topic 5452 API-Function CancelDC(ByVal hdc As Long) As Long .topic 5456 API-Function GetClipRgn(ByVal hdc As Long, ByVal hRgn As Long) As Long .topic 5460 API-Function GetDIBColorTable(ByVal hDC As Long, ByVal uStartIndex As Long, ByVal cEntries As Long, pRGBQuad As RGBQUAD) As Long .topic 5461 API-Function GetCurrentObject(ByVal hdc As Long, ByVal uObjectType As Long) As Long .topic 5463 API-Function GetBitmapDimensionEx(ByVal hBitmap As Long, lpDimension As SIZEL) As Long .topic 5466 API-Function PlgBlt(ByVal hdcDest As Long, lpPoint As POINTAPI, ByVal hdcSrc As Long, ByVal nXSrc As Long, ByVal nYSrc As Long, ByVal nWidth As Long, ByVal nHeight As Long, ByVal hbmMask As Long, ByVal xMask As Long, ByVal yMask As Long) As Long .topic 5467 API-Function GetBrushOrgEx(ByVal hDC As Long, lpPoint As POINTAPI) As Long .topic 5468 API-Function GetTextCharset(ByVal hdc As Long) As Long .topic 5469 API-Function PolyPolyline(ByVal hdc As Long, lppt As POINTAPI, lpdwPolyPoints As Long, ByVal cCount As Long) As Long .topic 5470 API-Function FixBrushOrgEx(ByVal hDC As Long, ByVal n1 As Long, ByVal n2 As Long, lpPoint As POINTAPI) As Long .topic 5471 API-Function GdiGetBatchLimit() As Long .topic 5474 API-Function SetBrushOrgEx(ByVal hdc As Long, ByVal nXOrg As Long, ByVal nYOrg As Long, lppt As POINTAPI) As Long .topic 5475 API-Function GdiFlush() As Long .topic 5476 API-Function GetBoundsRect(ByVal hdc As Long, lprcBounds As RECT, ByVal flags As Long) As Long .topic 5478 API-Function CreateAcceleratorTable(lpaccl As ACCELAPI, ByVal cEntries As Long) As Long .topic 5479 API-Function SetWindowsHookEx(ByVal idHook As Long, ByVal lpfn As Long, ByVal hMod As Long, ByVal dwThreadId As Long) As Long .topic 5481 API-Function SetScrollInfo(ByVal hWnd As Long, ByVal fnBar As Long, lpcScrollInfo As SCROLLINFO, ByVal fRedraw As Long) As Long .topic 5483 API-Function GetKeyboardLayoutList(ByVal nBuff As Long, lpList As Long) As Long .topic 5487 API-Function DrawAnimatedRects(ByVal hWnd As Long, ByVal idAni As Long, lprcFrom As RECT, lprcTo As RECT) As Long .topic 5488 API-Function LookupIconIdFromDirectoryEx(presbits As Byte, ByVal fIcon As Long, ByVal cxDesired As Long, ByVal cyDesired As Long, ByVal Flags As Long) As Long .topic 5489 API-Function ShowWindowAsync(ByVal hWnd As Long, ByVal nCmdShow As Long) As Long .topic 5491 API-Function GetClassInfoEx(ByVal hInst As Long, lpszClass As Long, lpWndClass As WNDCLASSEX) As Long .topic 5492 API-Function GetSysColorBrush(ByVal nIndex As Long) As Long .topic 5493 API-Function ChangeDisplaySettings(lpDevMode As DEVMODE, ByVal dwFlags As Long) As Long .topic 5494 API-Function SetSystemCursor(ByVal hCur As Long, ByVal id As Long) As Long .topic 5495 API-Function DrawState(ByVal hDC As Long, ByVal hBrush As Long, ByVal lpDrawStateProc As Long, ByVal lParam As Long, ByVal wParam As Long, ByVal x As Long, ByVal y As Long, ByVal cx As Long, ByVal cy As Long, ByVal fuFlags As Long) As Long .topic 5496 API-Function LoadKeyboardLayout(pwszKLID As Long, ByVal flags As Long) As Long .topic 5498 API-Function GetMenuItemInfo(ByVal hMenu As Long, ByVal uItem As Long, ByVal fByPosition As Long, lpMenuItemInfo As MENUITEMINFO) As Long .topic 5499 API-Function DragObject(ByVal hwnd1 As Long, ByVal hwnd2 As Long, ByVal ui As Long, ByVal ui2 As Long, ByVal hCursor As Long) As Long .topic 5500 API-Function SubtractRect(lprcDst As RECT, lprcSrc1 As RECT, lprcSrc2 As RECT) As Long .topic 5502 API-Function RegisterClassEx(pcWndClassEx As WNDCLASSEX) As Word .topic 5503 API-Function InsertMenuItem(ByVal hMenu As Long, ByVal uItem As Long, ByVal fByPosition As Long, lpcMenuItemInfo As MENUITEMINFO) As Long .topic 5504 API-Function MsgWaitForMultipleObjects(ByVal nCount As Long, pHandles As Long, ByVal fWaitAll As Long, ByVal dwMilliseconds As Long, ByVal dwWakeMask As Long) As Long .topic 5505 API-Function DrawFrameControl(ByVal hDC As Long, lpRect As RECT, ByVal un1 As Long, ByVal un2 As Long) As Long .topic 5506 API-Function SetMenuItemInfo(ByVal hMenu As Long, ByVal uItem As Long, ByVal fByPosition As Long, lpcMenuItemInfo As MENUITEMINFO) As Long .topic 5507 API-Function DrawCaption(ByVal hWnd As Long, ByVal hDC As Long, pcRect As RECT, ByVal uFlags As Long) As Long .topic 5508 API-Function LoadImage(ByVal hInst As Long, lpsz As Long, ByVal uType As Long, ByVal cxDesired As Long, ByVal cyDesired As Long, ByVal fuLoad As Long) As Long .topic 5509 API-Function WaitForInputIdle(ByVal hProcess As Long, ByVal dwMilliseconds As Long) As Long .topic 5510 API-Function CascadeWindows(ByVal hwndParent As Long, ByVal uHow As Long, lpRect As RECT, ByVal cKids As Long, lpkids As Long) As Word .topic 5511 API-Function CreateIconIndirect(piconinfo As ICONINFO) As Long .topic 5512 API-Function CheckMenuRadioItem(ByVal hMenu As Long, ByVal idFirst As Long, ByVal idLast As Long, ByVal idCheck As Long, ByVal uFlags As Long) As Long .topic 5514 API-Function MapWindowPoints(ByVal hWndFrom As Long, ByVal hWndTo As Long, lppt As Long, ByVal cPoints As Long) As Long .topic 5516 API-Function DrawIconEx(ByVal hDC As Long, ByVal xLeft As Long, ByVal yTop As Long, ByVal hIcon As Long, ByVal cxWidth As Long, ByVal cyWidth As Long, ByVal istepIfAniCur As Long, ByVal hbrFlickerFreeDraw As Long, ByVal diFlags As Long) As Long .topic 5517 API-Function PaintDesktop(ByVal hDC As Long) As Long .topic 5518 API-Function ChildWindowFromPointEx(ByVal hWnd As Long, ByVal x As Long, ByVal y As Long, ByVal uFlags As Long) As Long .topic 5519 API-Function AttachThreadInput(ByVal idAttach As Long, ByVal idAttachTo As Long, ByVal fAttach As Long) As Long .topic 5520 API-Function ActivateKeyboardLayout(ByVal HKL As Long, ByVal flags As Long) As Long .topic 5521 API-Function MenuItemFromPoint(ByVal hWnd As Long, ByVal hMenu As Long, ByVal x As Long, ByVal y As Long) As Long .topic 5523 API-Function keybd_event(ByVal bVk As Byte, ByVal bScan As Byte, ByVal dwFlags As Long, ByVal dwExtraInfo As Long) .topic 5524 API-Function mouse_event(ByVal dwFlags As Long, ByVal dx As Long, ByVal dy As Long, ByVal cButtons As Long, ByVal dwExtraInfo As Long .topic 5525 API-Function GetMenuContextHelpId(ByVal hMenu As Long) As Long .topic 5526 API-Function UnloadKeyboardLayout(ByVal HKL As Long) As Long .topic 5527 API-Function SetMenuDefaultItem(ByVal hMenu As Long, ByVal uItem As Long, ByVal fByPos As Long) As Long .topic 5529 API-Function LookupIconIdFromDirectory(presbits As Byte, ByVal fIcon As Long) As Long .topic 5531 API-Function CharNextExA(ByVal CodePage As Integer, ByVal lpCurrentChar As Long, ByVal dwFlags As Long) As Long .topic 5532 API-Function RedrawWindow(ByVal hWnd As Long, lprcUpdate As RECT, ByVal hRgnUpdate As Long, ByVal fuRedraw As Long) As Long .topic 5535 API-Function CopyIcon(ByVal hIcon As Long) As Long .topic 5536 API-Function GetClipCursor(lprc As RECT) As Long .topic 5537 API-Function CallNextHookEx(ByVal hHook As Long, ByVal ncode As Long, ByVal wParam As Long, lParam As Long) As Long .topic 5538 API-Function GetForegroundWindow() As Long .topic 5539 API-Function SetDebugErrorLevel(ByVal dwLevel As Long .topic 5540 API-Function FindWindowEx(ByVal hWnd1 As Long, ByVal hWnd2 As Long, lpsz1 As Long, lpsz2 As Long) As Long .topic 5541 API-Function CreateIconFromResourceEx(presbits As Byte, PTR, ByVal dwResSize As Long, ByVal fIcon As Long, ByVal dwVer As Long, ByVal cxDesired As Long, ByVal cyDesired As Long, ByVal uFlags As Long) As Long .topic 5542 API-Function DestroyAcceleratorTable(ByVal hAccel As Long) As Long .topic 5543 API-Function DragDetect(ByVal hWnd As Long, pt As POINTAPI) As Long .topic 5544 API-Function CharPrevExA(ByVal CodePage As Integer, ByVal lpStart As Long, ByVal lpCurrentChar As Long, ByVal dwFlags As Long) As Long .topic 5547 API-Function UnregisterHotKey(ByVal hWnd As Long, ByVal id As Long) As Long .topic 5549 API-Function SetForegroundWindow(ByVal hWnd As Long) As Long .topic 5550 API-Function GetDCEx(ByVal hWnd As Long, ByVal hRgnClip As Long, ByVal fdwOptions As Long) As Long .topic 5551 API-Function ScrollWindowEx(ByVal hWnd As Long, ByVal dx As Long, ByVal dy As Long, lprcScroll As RECT, lprcClip As RECT, ByVal hRgnUpdate As Long, lprcUpdate As RECT, ByVal fuScroll As Long) As Long .topic 5552 API-Function CopyAcceleratorTable(ByVal hAccelSrc As Long, lpAccelDst As ACCELAPI, ByVal cAccelEntries As Long) As Long .topic 5553 API-Function MessageBoxEx(ByVal hWnd As Long, lpText As Long, lpCaption As Long, ByVal uType As Long, ByVal wLanguageId As Long) As Long .topic 5554 API-Function UnhookWindowsHookEx(ByVal hHook As Long) As Long .topic 5555 API-Function WindowFromDC(ByVal hDC As Long) As Long .topic 5557 API-Function GetIconInfo(ByVal hIcon As Long, piconinfo As ICONINFO) As Long .topic 5558 API-Function GetCursor() As Long .topic 5559 API-Function CopyImage(ByVal hImage As Long, ByVal uType As Long, ByVal cxDesired As Long, ByVal cyDesired As Long, ByVal fuFlags As Long) As Long .topic 5560 API-Function MessageBoxIndirect(lpMsgBoxParams As MSGBOXPARAMS) As Long .topic 5562 API-Function SystemParametersInfo(ByVal uAction As Long, ByVal uParam As Long, lpvParam As Long, ByVal fuWinIni As Long) As Long .topic 5563 API-Function SetLastErrorEx(ByVal dwErrCode As Long, ByVal dwType As Long .topic 5564 API-Function EnableScrollBar(ByVal hWnd As Long, ByVal uSBflags As Long, ByVal uArrows As Long) As Long .topic 5565 API-Function GetKeyboardLayout(ByVal dwLayout As Long) As Long .topic 5566 API-Function LoadCursorFromFile(lpFileName As Long) As Long .topic 5567 API-Function RegisterHotKey(ByVal hWnd As Long, ByVal id As Long, ByVal fsModifiers As Long, ByVal vk As Long) As Long .topic 5570 API-Function DrawEdge(ByVal hDC As Long, qrc As RECT, ByVal edge As Long, ByVal grfFlags As Long) As Long .topic 5571 API-Function LockWindowUpdate(ByVal hWndLock As Long) As Long .topic 5573 API-Function CreateMDIWindow(lpClassName As Long, lpWindowName As Long, ByVal dwStyle As Long, ByVal x As Long, ByVal y As Long, ByVal nWidth As Long, ByVal nHeight As Long, ByVal hwndParent As Long, ByVal hInstance As Long, ByVal lParam As Long) As Long .topic 5574 API-Function SetUserObjectInformation(ByVal hObj As Long, ByVal nIndex As Long, pvInfo As Long, ByVal nLength As Long) As Long .topic 5575 API-Function GetQueueStatus(ByVal fuFlags As Long) As Long .topic 5576 API-Function ToAsciiEx(ByVal uVirtKey As Long, ByVal uScanCode As Long, lpKeyState As Long, lpChar As Long, ByVal uFlags As Long, ByVal dwHKL As Long) As Long .topic 5577 API-Function GetMenuDefaultItem(ByVal hMenu As Long, ByVal fByPos As Long, ByVal gmdiFlags As Long) As Long .topic 5578 API-Function MapVirtualKeyEx(ByVal uCode As Long, ByVal uMapType As Long, ByVal dwHKL As Long) As Long .topic 5579 API-Function GetKeyboardLayoutName(pwszKLID As Long) As Long .topic 5580 API-Function GetMenuItemRect(ByVal hWnd As Long, ByVal hMenu As Long, ByVal uItem As Long, lprcItem As RECT) As Long .topic 5581 API-Function CreateIconFromResource(presbits As Byte, PTR, ByVal dwResSize As Long, ByVal fIcon As Long, ByVal dwVer As Long) As Long .topic 5582 API-Function TileWindows(ByVal hwndParent As Long, ByVal dwHow As Long, lpRect As RECT, ByVal cKids As Long, lpKids As Long) As Word .topic 5583 API-Function IsWindowUnicode(ByVal hWnd As Long) As Long .topic 5584 API-Function GetScrollInfo(ByVal hWnd As Long, ByVal n As Long, lpScrollInfo As SCROLLINFO) As Long .topic 5585 API-Function SetMenuContextHelpId(ByVal hMenu As Long, ByVal dw As Long) As Long .topic 5587 Low-Level Registry API-Functions RegCloseKey(ByVal hKey As Long) As Long RegConnectRegistry(lpMachineName As Long, ByVal hKey As Long, phkResult As Long) As Long RegCreateKey(ByVal hKey As Long, lpSubKey As Long, phkResult As Long) As Long RegCreateKeyEx(ByVal hKey As Long, lpSubKey As Long, ByVal Reserved As Long, lpClass As Long, ByVal dwOptions As Long, ByVal samDesired As Long, lpSecurityAttributes As SECURITY_ATTRIBUTES, phkResult As Long, lpdwDisposition As Long) As Long RegDeleteKey(ByVal hKey As Long, lpSubKey As Long) As Long RegDeleteValue(ByVal hKey As Long, lpValueName As Long) As Long RegEnumKey(ByVal hKey As Long, ByVal dwIndex As Long, lpName As Long, ByVal cbName As Long) As Long RegEnumKeyEx(ByVal hKey As Long, ByVal dwIndex As Long, lpName As Long, lpcbName As Long, ByVal lpReserved As Long, lpClass As Long, lpcbClass As Long, lpftLastWriteTime As FILETIME) As Long RegEnumValue(ByVal hKey As Long, ByVal dwIndex As Long, lpValueName As Long, lpcbValueName As Long, lpReserved As Long, lpType As Long, lpData As Long, lpcbData As Long) As Long RegFlushKey(ByVal hKey As Long) As Long RegGetKeySecurity(ByVal hKey As Long, ByVal SecurityInformation As Long, pSecurityDescriptor As SECURITY_DESCRIPTOR, lpcbSecurityDescriptor As Long) As Long RegLoadKey(ByVal hKey As Long, lpSubKey As Long, lpFile As Long) As Long RegNotifyChangeKeyValue(ByVal hKey As Long, ByVal bWatchSubtree As Long, ByVal dwNotifyFilter As Long, ByVal hEvent As Long, ByVal fAsynchronus As Long) As Long RegOpenKey(ByVal hKey As Long, lpSubKey As Long, phkResult As Long) As Long RegOpenKeyEx(ByVal hKey As Long, lpSubKey As Long, ByVal ulOptions As Long, ByVal samDesired As Long, phkResult As Long) As Long RegQueryInfoKey(ByVal hKey As Long, lpClass As Long, lpcbClass As Long, lpReserved As Long, lpcSubKeys As Long, lpcbMaxSubKeyLen As Long, lpcbMaxClassLen As Long, lpcValues As Long, lpcbMaxValueNameLen As Long, lpcbMaxValueLen As Long, lpcbSecurityDescriptor As Long, lpftLastWriteTime As FILETIME) As Long RegQueryValue(ByVal hKey As Long, lpSubKey As Long, lpValue As Long, lpcbValue As Long) As Long RegQueryMultipleValues(ByVal hKey As Long, pvallist As VALENT, PTR, ByVal numvals As Long, lpValueBuf As Long, pdwTotSize As Long) As Long RegQueryValueEx(ByVal hKey As Long, lpValueName As Long, ByVal lpReserved As Long, lpType As Long, lpData As Long, lpcbData As Long) As Long RegReplaceKey(ByVal hKey As Long, lpSubKey As Long, lpNewFile As Long, lpOldFile As Long) As Long RegRestoreKey(ByVal hKey As Long, lpFile As Long, ByVal dwFlags As Long) As Long RegSaveKey(ByVal hKey As Long, lpFile As Long, lpSecurityAttributes As SECURITY_ATTRIBUTES) As Long RegSetKeySecurity(ByVal hKey As Long, ByVal SecurityInformation As Long, pSecurityDescriptor As SECURITY_DESCRIPTOR) As Long RegSetValue(ByVal hKey As Long, lpSubKey As Long, ByVal dwType As Long, lpData As Long, ByVal cbData As Long) As Long RegSetValueEx(ByVal hKey As Long, lpValueName As Long, ByVal dwReserved As Long, ByVal dwType As Long, lpData As Long, ByVal cbData As Long) As Long RegUnLoadKey(ByVal hKey As Long, lpSubKey As Long) As Long .topic 5613 API-Function InitiateSystemShutdown(lpMachineName As Long, lpMessage As Long, ByVal dwTimeout As Long, ByVal bForceAppsClosed As Long, ByVal bRebootAfterShutdown As Long) As Long .topic 5614 API-Function AbortSystemShutdown(ByVal lpMachineName As Long) As Long .topic 5615 [Printer.]StartDoc name [, o] - Starts a new task on the Printer object. .topic 5616 [Printer.]EndDoc - Marks the end of a task on the Printer object. .topic 5617 [Printer.]AbortDoc - Aborts the current action of the Printer object. .topic 5618 [Printer.]StartPage - Starts a new page in the Printer task. .topic 5619 [Printer.]EndPage - Marks the end of a page in a Printer task. .topic 5620 [Printer.]NewFrame - Ends a page, then starts a new one in a Printer task. .topic 5621 $ = _Name$ $ = App.ComputerName - Returns the name of the computer. .topic 5622 $ = MemToMiMe (addr, len) - Encodes a block of memory in MIME based64 format and returns a string. .topic 5623 len% = MiMeToMem(str$, addr%) - Decodes a string in MIME based64 format to a memory block starting at address addr% and returns the blovk length. .topic 5624 API-Functions CoTaskMemAlloc(ByVal cbSize As Long) As Long CoTaskMemFree(ByVal pMem As Long CoTaskMemRealloc(ByVal pMem As Long, ByVal cbSize As Long) As Long CoCreateGuid(pGuid As GUIDAPI) As Long .topic 5628 OLE Error Constants NOERROR = 0 S_OK = 0 .topic 5629 ToolHelp32 API-Functions CreateToolhelp32Snapshot(ByVal dwFlags As Int, th32ProcessID As Int) As Long Heap32ListFirst(ByVal hSnapshot As Handle, lphl As tagHEAPLIST32) As Boolean Heap32ListNext(ByVal hSnapshot As Handle, lphl As tagHEAPLIST32) As Boolean Heap32First(lphe As tagHEAPENTRY32, ByVal th32ProcessID As Int, ByVal th32HeapID As Int) As Boolean Heap32Next(lphe As tagHEAPENTRY32) As Boolean Toolhelp32ReadProcessMemory(ByVal th32ProcessID As Int, ByVal lpBaseAddress As Long, lpBuffer As Long, ByVal cbRead As Int, lpNumberOfBytesRead As Int) As Boolean Process32First(ByVal hSnapshot As Handle, lppe As tagPROCESSENTRY32) As Boolean Process32Next(ByVal hSnapshot As Handle,lppe As tagPROCESSENTRY32) As Boolean Thread32First(ByVal hSnapshot As Handle, lpte As tagTHREADENTRY32) As Boolean Thread32Next(ByVal hSnapshot As Handle, lpte As tagTHREADENTRY32) As Boolean Module32First(ByVal hSnapshot As Handle, lpme As tagMODULEENTRY32) As Boolean Module32Next(ByVal hSnapshot As Handle, lpme As tagMODULEENTRY32) As Boolean .topic 5630 ShowW w, stat% - Displays a window in a specified state. .topic 5631 EnableW wh% - Enables mouse and keyboard input for the specified window. .topic 5632 DisableW wh% - Disables mouse and keyboard input in the specified window. .topic 5633 TopW wh - Activates the specified window and shows it above other windows on the screen. .topic 5634 ShowDialog id% - Shows a Dialog structure on the screen. .topic 5635 CloseDialog id% - Closes the specified Dialog structure. .topic 5636 value = MENU(index) - An array containing window events. Implemented for compatibility with GFA-BASIC 16. Should not be used in GFA-BASIC 32 with OCX controls. .topic 5637 PeekEvent Peek_Event - Monitors menu and window events .topic 5638 GetEvent Get_Event - Monitors menu and window events .topic 5640 MoveW #n, x, y - Moves the specified window to the given coordinates. .topic 5641 SizeW [#]n, w, h - Changes the dimensions of the specified window. .topic 5642 DlgBase Pixel DlgBase Unit DlgBase InSide DlgBase OutSide - Control the measurement units and diameter of a Dialog Box. DlgBase Font font$ DlgBase Bold DlgBase Bold Off - Control the font attributes of a Dialog Box. .topic 5646 ShowM - Displays the mouse pointer on the screen. .topic 5647 HideM - Hides the mouse pointer. .topic 5648 ArrangeIcons wh% - Arranges iconized MDI Child windows (minimized Child windows) within a given window in rows. .topic 5649 AdjustW wh, w, h Form.Adjust w, h - Adjusts the window/Form size based on the given window client area. .topic 5650 GetWinRect wh%, x%, y%, w%, h% - Returns the origin as well as the width and height of a window including its border. .topic 5651 Set form = Form(wh%) Set form = Form(win_no) - Returns a Form object for a given window handle or window number. .topic 5652 Set co = OCX( hWnd ) - Returns a Control object for a given window handle. .topic 5653 Form [options] fname [= [title$],[x],[y],[ w, h] ] Form [options] MdiParent fname [= [title$],[x],[y],[ w, h] ] Form [options] MdiChild Parent form, fname [= [title$],[x],[y],[ w, h] ] Form [options] Owner form, fname [= [title$],[x],[y],[ w, h] ] - Create a form of name fname. .topic 5654 Delete x(m) - Clears an element from a one-dimensional array and moves the remainder of the elements down one. .topic 5655 Insert x(m) [=y] - Inserts an element into a one-dimensional array. .topic 5656 Win n - Selects a window for output. .topic 5657 OLE system color constants for the ForeColor and BackColor properties of OCX controls colScrollBar = $80000000 colBackGround = $80000001 colDesktop = $80000001 colActiveCaption = $80000002 colInactiveCaption = $80000003 colMenu = $80000004 colWindow = $80000005 colWindowFrame = $80000006 colMenuText = $80000007 colWindowText = $80000008 colCaptionText = $80000009 colActiveBorder = $8000000A colInactiveBorder = $8000000B colAppWorkSpace = $8000000C colHighLight = $8000000D colHighLightText = $8000000E col3DFace = $8000000F colBtnFace = $8000000F col3DShadow = $80000010 colBtnShadow = $80000010 colGrayText = $80000011 colBtnText = $80000012 colInactiveCaptionText = $80000013 colBtnHighLight = $80000014 colBtnHiLight = $80000014 col3DHighLight = $80000014 col3DHiLight = $80000014 col3DDkShadow = $80000015 col3DLight = $80000016 colInfoText = $80000017 colInfoBk = $80000018 .topic 5689 code$ = MiMeEncode(original$) encodes (binary) data to MiMe-Base64 encoded data (7-bit ascii codes). .topic 5690 original$ = MiMeDecode(code$) decodes MiMe-Base64 encoded data (7-bit ascii codes) to its original format. .topic 5691 $ = MemToUU (addr, len) - Encodes a memory block to UUE format and returns a string. .topic 5692 len% = UUToMem(string, addr%) - Decodes a UUE format string to a memory block and returns the length of that block. .topic 5693 code$ = uuencode(original$) encodes (binary) data to uuencode data (7-bit ascii codes) .topic 5694 original$ = uudecode(code$) decodes Uuencode data to binary data. .topic 5695 SetCheck dlg, item, flag - Sets the specified checkbox in a Dialog structure. .topic 5696 SendMessage hWnd, Mess, wParam, lParam [,RetVal] - Sends a message to one or more windows. .topic 5697 PostMessage hWnd, Msg, wParam, lParam - Posts a message to the message queue of an application program (window). .topic 5698 a%=Check?(Dlg, item) - Returns the value of the specified checkbox within a Dialog Box. .topic 5699 [Form.]OcxScale [= True | False] - Determines whether an OCX control takes the scale set by ScaleMode or not; if not, they revert to pixels. .topic 5700 bool? = IsExe - Determines whether the program is running as a stand-alone .exe program or from within the IDE. .topic 5701 _Swab src, dst, cnt _SwabL src, dst, cnt _Swab8 src, dst, cnt Swaps the bytes of a 16 bit integer, a32 bit Long, and a 8 byte data type. Useful with network programming. .topic 5704 Val(strg), ValInt(strg), ValLarge(strg), ValCur(strg), ValDbl(strg), ValDate(strg), ValD(strg) Val converts a string into a number. The return value is a Double. The same is true for ValDbl. The conversion of the result can be avoided by using ValInt (returns a 32-bit integer), ValLarge (a 64 bit integer), or ValCur (Currency). The latter two allow full 19 decimal digits, instead of the 16 possible digits format of a Double. ValDate and ValD convert a string in a Date format, the string should not contain #. .topic 5708 ValDate($) or ValD($) work like Val(). ValDate is not the same as DateValue or CDate, which are OLE functions, and thus isn't dependent by the country setting of Windows. The order 'day.month.year', or 'month/day/year', or 'year-month-tag', is only dependent by the separators. For a double-digit annual representation see Mode BaseYear. .topic 5710 Val?(str) returns the number of contiguous characters in a string that belong to a number. .topic 5711 DateValue(str) converts a String into a Date. TimeValue(str) returns only the decimal part (time) of a date. CDate(value) returns both. ValueDate, TimeValue, and CDate use OLE routines, Val and ValDate use a GFA-BASIC internal routine. .topic 5713 variant = Empty - The Empty keyword is used to indicate an uninitialized Variant variable. This is not the same thing as Null. .topic 5714 variant = Missing - Sets the status of a variant to Missing. .topic 5715 bool? = IsEmpty(variant) - Returns TRUE if the status of the variant is Empty. .topic 5716 bool? = IsMissing(variant) - Returns TRUE if the status of the variant is Missing. .topic 5717 bool? = IsNull(variant) - Returns TRUE if the value of the variant is Null. .topic 5718 bool? = IsNumeric(value) - Returns TRUE is the tested variable is numeric. .topic 5719 bool? = IsDate(value) - Returns TRUE is the tested variable is a valid date. .topic 5720 bool? = IsObject(value) - Returns TRUE is the tested variable is an object. .topic 5721 bool? = IsArray(value) - Returns TRUE is the tested variable holds an array. .topic 5722 $ = Typename[$](variable) - Returns the name of the variable type. .topic 5723 bool? = IsError(variant) - Returns TRUE if the variant holds the VT_ERROR value. .topic 5724 bool? = IsNothing(object) - Returns TRUE if the object is disassociated from a variable. .topic 5725 date = Date - Returns the current date. .topic 5726 date = Time - Returns the current time. .topic 5727 date = Now - Returns the current date and time. .topic 5728 d$ = Date$[(date)] - Returns the specified date as a string. .topic 5729 $ = Time$[(date]) - Returns a string of the specified date. .topic 5730 d$ = DateTime$[(date)] d$ = Now$[(date)] - Returns the specified date and time as a string. .topic 5732 SetCapture wh% - Redirects all mouse events to a specific window. .topic 5733 ReleaseCapture - Releases the exclusive mouse input which was limited to a specific window with SetCapture. .topic 5734 Mode BaseYear "1930" Mode BaseYear sets the year used as base for dates entered with ValD and ValDate. The default (1930) defines annual numbers between "30" and "99" and the values are interpreted as being from 1930 to 1999. The values between "00" and "29" are according to the years 2000 to 2029. d = ValD("10/10/29") ' 10.10.2029 Mode BaseYear "1920" d = ValD("10/10/29")' 10.10.1929 The same applies to CDate() and DateValue(); the base year, at least for Windows 98, is also 1930. Since this is OLE dependent, located in oleaut32.dll, it cannot be adjusted. .topic 5735 Trace$ - Returns the command line to be executed next. .topic 5736 % = TraceLnr - Returns the line number of the command line to be executed next. .topic 5737 $ = SrcCode$(line) - Returns the source code of the specified line number. .topic 5739 % = ProcLnr(procname) - Returns the number of the first command line within the specified subroutine. .topic 5740 % = ProcLineCnt(procname) - Returns the number of lines within a subroutine. .topic 5741 EdShowLine n% - Displays an error at the front of the specified command line. .topic 5742 addr% = TraceReg - Returns the address of the memory block containing the processor register values. TraceReg(reg) = value value = TraceReg(reg) - Returns and sets the processor register values. .topic 5743 Option Base [an] [, rb] - Sets the number of the first element in an array and/or a random access file to either 0 or 1. .topic 5744 Atom Add string, atom% - Adds a character string to the global atom table and returns a unique value (an atom) identifying the string. Atom Delete x% - Decrements the reference count of a global string atom. Atom Find "name", atom% - Searches the global atom table for the specified character string and retrieves the atom associated with that string. .topic 5745 $ = _Atom$(id) - Returns the global name of a given atom. .topic 5748 int = _time [(V: x%)] - Returns the system time as an integer $ = _ctime [(V: x%)] - Returns the system time as string These functions are implemented for compatibility reasons with C and are restricted to dates between 1970 and 2038. .topic 5749 Auto This statement means that undefined global variables names are collected and declared here using Auto. At each program start, the list of names is newly generated. .topic 5750 % = _Drive - Returns the current drive letter as an ASCII code. .topic 5751 Chdrive n Chdrive n$ - Changes the current drive. .topic 5752 $ = _Dir$(n) - Returns the current directory without the drive letter. .topic 5753 v! = DllVersion([filename]) - Returns the version number of the .dll file. v$ = DllVersion$([filename]) - Returns the extended version number as a string. .topic 5754 [Debug].Assert boolexp - A debugging command which ends the program is the associated boolean expression is FALSE. .topic 5755 [Debug].Trace exp - A debugging command used to show the value of variables and expression during program operation. .topic 5756 $AutoPostfixOff or $NoAutoPostfix disables automatic recognision of variable names without postfix. Local i% : i = 1; i is not the same as i%. .topic 5758 Run [filename$] - Either restarts the current program or runs the program specified by filename$. .topic 5759 Chain filename$ - Loads a .G32 file and runs it. .topic 5761 Pointer p = addr% addr% = Pointer(p) - Sets and returns the value of a pointer. .topic 5762 x% = GetFiberData() - Reads the fiber data (data value) associated with the current fiber. .topic 5763 addr% = GetCurrentFiber() - Returns the address of for the current running fiber. .topic 5764 x% = GetTIB() - Returns the linear address of a thread information block. .topic 5765 long = cAlloc( num, size ) - Allocates an array in memory with elements initialized to 0. (Implemented for C-source compatibility). .topic 5766 API-Functions OleInitialize(x) OleUninitialize() .topic 5768 ParentW [options] [#]n [, x, y, w, h][, style] - Creates a MDI parent window using API style flags to configure the window. .topic 5769 ChildW [options] n, ph [,x, y, w, h, style] ChildW [options] Owner form, n [,x, y, w, h, style] ChildW [options] Parent form, n [,x, y, w, h, style] - Creates a MDI Child window within a MDI parent window. .topic 5770 Resume [Next | 0 | label ] - Resumes the execution of a program after an error at the specified location. .topic 5772 Label.Alignment Constants basLeftJustify = 0 basRightJustify = 1 basCenter = 2 .topic 5773 Constants .Orientation basHorizO = 0 basVertO = 1 .topic 5774 MonthView.HitTest Returnvalue Constants mvwCalendarBack = 0 mvwCalendarDate = 1 mvwCalendarDateNext = 2 mvwCalendarDatePrev = 3 mvwCalendarDay = 4 mvwCalendarWeekNum = 5 mvwNoWhere = 6 mvwTitleBack = 7 mvwTitleBtnNext = 8 mvwTitleBtnPrev = 9 mvwTitleMonth = 10 mvwTitleYear = 11 mvwTodayLink = 12 .topic 5775 Clip x, y, w, h Clip x1,y1 To x2,y2 - Sets the bounds for graphic output. Clip Off - Removes the bounds set by a previous command. .topic 5776 System "file$ [parameters]" [, options] ret_large = System("file$ [parameters]") - Loads and runs a program. .topic 5778 LoadForm frm [options] [, x, y] - Loads a form designed in the Form Editor, which initiates a Load event. .topic 5779 biCompression field constants DIB (BMP file BI_RGB = 0 BI_RLE8 = 1 BI_RLE4 = 2 BI_BITFIELDS = 3 .topic 5783 TabStrip.TabWidthStyle constants tabJustified = 0 tabNonJustified = 1 tabFixed = 2 TabStrip.Style constants tabTabs = 0 tabButtons = 1 tabFlatButtons = 2 .topic 5784 Constants WM_DDE_INITIATE = 992 WM_DDE_TERMINATE = 993 WM_DDE_ADVISE = 994 WM_DDE_UNADVISE = 995 WM_DDE_ACK = 996 WM_DDE_DATA = 997 WM_DDE_REQUEST = 998 WM_DDE_POKE = 999 WM_DDE_EXECUTE = 1000 .topic 5785 API-Functions PackDDElParam(ByVal msg As Long, ByVal uiLo As Long, ByVal uiHi As Long) As Long UnpackDDElParam(ByVal msg As Long, ByVal lParam As Long, puiLo As Long, puiHi As Long) As Long FreeDDElParam(ByVal msg As Long, ByVal lParam As Long) As Long ReuseDDElParam(ByVal lParam As Long, ByVal msgIn As Long, ByVal msgOut As Long, ByVal uiLo As Long, ByVal uiHi As Long) As Long .topic 5786 Store #n, a$() [,m] - Fast save of a string array as a text file. .topic 5787 Recall #n,a$(),m,j - Fast load of text files saved using Store. .topic 5788 n = reMatch(sexp, pattern [, hash[] | address% ]) n = reMatch(array$(), pattern ,from ,to [, hash[]]) - Searches a string expression or string array for occurrence of a substring using regular expressions. .topic 5789 x$ = preMatch(pattern$) - Compiles a regular expression into an internal format. .topic 5790 Split hs[] = sexp, pattern [, max] - Splits a string into a Hash String (array of strings) by separating the string into substrings using regular expressions. .topic 5791 Join strvar = hashvar[], delimiter - Returns a string created by joining a number of substrings contained in a hash (array). .topic 5792 n = reSub(strvar, pattern, subst [, max]) reSub strvar, pattern, subst [, max] n = reSub(array$(), pattern, subst, from, to [, hi[] [, max]]) reSub array$(), pattern, subst, from, to [, hi[] [, max]] - Replaces a specified substring with another substring in a string. .topic 5793 reStop - Ends a thread that is performing a regular expression operation (used in a Try/Catch structure) .topic 5794 RichEdit Constants Find Option rtfUp = 1 rtfWholeWord = 2 rtfMatchCase = 4 rtfFindNext = 8 SaveFile/LoadFiile rtfRTF = 0 rtfText = 1 .topic 5795 TreeView relationship Constants tvwFirst = 0 tvwLast = 1 tvwNext = 2 tvwPrevious = 3 tvwChild = 4 TreeView LineStyle tvwTreeLines = 0 tvwRootLines = 1 TreeView Style tvwTextOnly = 0 tvwPictureText = 1 tvwPlusMinusText = 2 tvwPlusPictureText = 3 tvwTreelinesText = 4 tvwTreelinesPictureText = 5 tvwTreelinesPlusMinusText = 6 tvwTreelinesPlusMinusPictureText (7 .topic 5796 $ = CallTree [(start% [,end%])] - Returns a string containing previously called subroutines. .topic 5797 Shl&(m, n) Shl(m, n) Shl%(m, n) Shl|(m, n) Shl8(m, n) m << n m Shl n m Shl8 n - Shifts the value m by n bits to the left and returns the value in m. <<, Shl & Shl% operate on 32-bit integers, Shl& on 16-bit, Shl| on 8-bit and Shl8 on 64-bit integers Shl v, n - Shifts the value v by n bits to the left and returns the value in v. The variable v can be any integer variable type. .topic 5798 Shr&(m, n) Shr(m, n) Shr%(m, n) Shr|(m, n) Shr8(m, n) m >> n m Shr n m Shr8 n - Shifts the value m by n bits to the right and returns the value in m. <<, Shr & Shr% operate on 32-bit integers, Shr& on 16-bit, Shr| on 8-bit and Shr8 on 64-bit integers Shr v, n - Shifts the value v by n bits to the right and returns the value in v. The variable v can be any integer variable type. .topic 5799 Rol&(m, n) Rol(m, n) Rol%(m, n) Rol|(m, n) Rol8(m, n) m Rol n m Rol8 n - Rotates the value m by n bits to the left and returns the value in m, wrapping the displaced bits. <<, Rol & Rol% operate on 32-bit integers, Rol& on 16-bit, Rol| on 8-bit and Rol8 on 64-bit integers Rol v, n - Rotates the value v by n bits to the left and returns the value in v, wrapping the displaced bits.. The variable v can be any integer variable type. .topic 5800 Ror&(m, n) Ror(m, n) Ror%(m, n) Ror|(m, n) Ror8(m, n) m Ror n m Ror8 n - Rotates the value m by n bits to the right and returns the value in m, wrapping the displaced bits. <<, Ror & Ror% operate on 32-bit integers, Ror& on 16-bit, Ror| on 8-bit and Ror8 on 64-bit integers Ror v, n - Rotates the value v by n bits to the right and returns the value in v, wrapping the displaced bits.. The variable v can be any integer variable type. .topic 5801 Sar&(m, n) Sar(m, n) Sar%(m, n) Sar|(m, n) Sar8(m, n) m Sar n m Sar8 n - Shifts the value m by n bits to the right in which the highest bit is copied (and not replaced with zero like with Shr) and returns the value in m. <<, Sar & Sar% operate on 32-bit integers, Sar& on 16-bit, Sar| on 8-bit and Sar8 on 64-bit integers Sar v, n - Shifts the value v by n bits to the right in which the highest bit is copied (and not replaced with zero like with Shr) and returns the value in v. The variable v can be any integer variable type. .topic 5802 # = Eval(exp) # = Eval(exp, hash[]) # = Eval(exp, [ hash[]] , function) - Evaluates a string expression and returns the result as a Double. .topic 5803 int = _Bottom(Ocx-Name) int = _Left(Ocx-Name) int = _Right(Ocx-Name) int = _Top(Ocx-Name) int = _Width(Ocx-Name) int = _Height(Ocx-Name) - Return the relevant screen coordinates of the specified Ocx object. .topic 5804 SetMouse x%, y% - Positions the mouse at the specified coordinates. .topic 5805 CenterMouse ocx - Centres the mouse pointer in the specified OCX control. .topic 5806 GFA Editor Extension functions Gfa_LineGfa_ColGfa_SelLineGfa_SelColGfa_Text Gfa_LineCntGfa_TopLineGfa_ProcGfa_ProcLineGfa_ProcLineCnt Gfa_MarkGfa_BookMarkGfa_NextBookMark Gfa_ErrorGfa_Changed Gfa_Dirty Gfa_IsFoldGfa_IsSelectionGfa_Selection Gfa_FindTextGfa_ReplaceText Gfa_StatusTextGfa_KeyGetGfa_InlFileName Gfa_BasicNameGfa_BasicPathGfa_ExeNameGfa_FileNameGfa_ExeTimeGfa_FileTime Gfa_MenuTextGfa_AddMenuGfa_MenuDescGfa_MenuCheckGfa_MenuEnableGfa_MenuDefault Gfa_SettingGfa_IntSettingGfa_BinSettingGfa_LenSetting Gfa_RecordHoldGfa_RecordingGfa_PlayingGfa_Record$Gfa_Record Gfa_hWndGfa_hWndEdGfa_IsRunGfa_Key Gfa_VarsGfa_Globals Gfa_TypesGfa_DebMenu Gfa_Vars0Gfa_Vars1Gfa_Vars2Gfa_Vars3Gfa_Vars4 Gfa_Vars5Gfa_Vars6Gfa_Vars7Gfa_Vars8Gfa_Vars9 .topic 5807 Constants Form.WindowState basNormal = 0 basMinimized = 1 basMaximized = 2 .topic 5808 DirPush - Pushes the actual Dir() settings on the Dir() stack. .topic 5810 Code4 Code4Exit Code4Init Code4InitUndo - Control commands and functions relating to the CodeBase database. See relevant help documentation for more information .topic 5816 A CodeBase Database function Please refer to the relevant help document for more information .topic 5820 Set p = CreatePicture(hBmp, Owner) - Creates a picture object from a bitmap handle. .topic 5821 a# = [Object.]HimetstoPixelX(b#) a# = [Object.]HimetstoPixelY(b#) a# = [Object.]PixelstoHimetX(b#) a# = [Object.]PixelstoHimetY(b#) a# = [Object.]TwipstoPixelX(b#) a# = [Object.]TwipstoPixelY(b#) a# = [Object.]PixelstoTwipX(b#) a# = [Object.]PixelstoTwipY(b#) - Converts between Twips, Himets and Pixels within an object, or globally if the object is omitted. .topic 5822 Array ar() = string - Initialise an array from a string. .topic 5823 Variant Type Constants VT_EMPTY = 0 VT_NULL = 1 VT_I2 = 2 VT_I4 = 3 VT_R4 = 4 VT_R8 = 5 VT_CY = 6 VT_DATE = 7 VT_BSTR = 8 VT_DISPATCH = 9 VT_ERROR = 10 VT_BOOL = 11 VT_VARIANT = 12 VT_DEC = 14 VT_UI1 = 17 VT_UI2 = 18 VT_I8 = 20 VT_BYREF = 16384 VT_ARRAY = 8192 .topic 5824 ShellExec file$ [, parameters$][, directory$] ShellExec [operation$][, file$][, parameters$][, directory$] [,show%] x% = ShellExec(file$ [, parameters$][, directory$]) x% = ShellExec([operation$][, file$][, parameters$][, directory$] [,show%]) - Opens, explores, or prints a specified file or folder. .topic 5825 SaveSetting hkey$, [subkey$], name$, [Int | Bin | Str,] value - Saves or creates an application entry in the Windows registry. vbSaveSetting appName$, [section$], key$, value - Saves or creates an application entry in the Windows registry entry using a VB compatible registry command. .topic 5826 DeleteSetting hkey$, [subkey$] [,value$] - Deletes a subkey or a value in the Registry. vbDeleteSetting appName$, [section$] [, key$] - Deletes a section or a key setting from an entry in the Windows registry using VB compatible registry commands. .topic 5827 $ = GetSetting(hkey$, [subkey$], [name$] [, Str | Int | Bin] [,default]) - Returns a key setting value from an entry in the Windows registry. $ = vbGetSetting(appName$, [section$], key$ [, ,default$]) - Returns a key setting value from an entry in the Windows registry using VB compatible registry commands. .topic 5828 % = GetSettingType(hkey$, [subkey$], [name$]) - Returns a key setting type from an entry in the Windows registry. % = vbGetSettingType(appName$, [section$], [key$]) - Returns a key setting type from an entry in the Windows registry using VB compatible registry commands. .topic 5829 hkey$ = CreateRegKey(key$[, subkey$]) - Creates a new registry key. .topic 5830 hkey$ = OpenRegKey(key$[, subkey$]) - Opens a new registry key. .topic 5831 r% = CloseRegKey(hkey$) CloseRegKey hkey$ - Closes a registry key opened with CreateRegKey or OpenRegKey. .topic 5832 $ = GetRegSubKey(hkey$, idx%) - Returns the value of a subkey using enumeration. .topic 5833 $ = GetRegValName(hkey$, idx%) - Returns the value name of a subkey using enumeration. .topic 5834 % = GetRegSubKeyCount(hkey$) - Returns the number of subkeys associated with the specified registry key. .topic 5835 % = GetRegValNameCount(hkey$) - Returns the number of values associated with the specified registry key. .topic 5836 $ = GetRegVal(hkey$, idx% [, Int | Bin | Str]) - Returns the value of a subkey using enumeration. .topic 5837 % = GetRegValType(hkey$, idx%) - Returns the value type of a subkey using enumeration. .topic 5838 IsWinNT True, when running under Windows NT/2000/XP/Vista. False, when otherwise (Windows 95/98/Me) .topic 5839 GfaEdExt commands Gfa_NewGfa_DoNew Gfa_SendMailGfa_CleanupGfa_PropertiesGfa_Print Gfa_LoadGfa_LoadMRUGfa_LoadFileGfa_MergeFileGfa_Save Gfa_SaveAsGfa_SaveFileGfa_SaveRtfFileGfa_SavePreFileGfa_Exit Gfa_DoExit Gfa_LeftGfa_RightGfa_DownGfa_UpGfa_Goto Gfa_LineGfa_ColGfa_SelLineGfa_SelColGfa_SelectAll Gfa_PageDownGfa_PageUpGfa_TopLineGfa_Fold Gfa_FileSelGfa_SaveRtfGfa_CopyFile Gfa_MarkGfa_BookMarkGfa_NextBookMark Gfa_CutGfa_CopyGfa_CopyPre Gfa_CopyRtfGfa_Insert Gfa_PasteGfa_UndoGfa_InsertLinesGfa_DeleteLines Gfa_CommentBlockGfa_UnCommentBlockGfa_NextErrorGfa_PrevError Gfa_FindDlgGfa_FindNextGfa_FindPrevGfa_ReplaceDlgGfa_ReplaceNext Gfa_TextGfa_ReplaceGfa_ReplaceAllGfa_FindTextGfa_ReplaceText Gfa_UpdateGfa_ErrorGfa_ChangedGfa_DirtyGfa_Refresh Gfa_CtrlYGfa_CtrlUGfa_CtrlOGfa_CtrlPGfa_CtrlN Gfa_CtrlKGfa_CtrlQGfa_CompileGfa_DoCompile Gfa_Run Gfa_AboutGfa_HelpGfa_StatusText Gfa_AddMenuGfa_MenuTextGfa_MenuDescGfa_MenuCheckGfa_MenuEnableGfa_MenuDefault Gfa_SettingGfa_IntSettingGfa_BinSettingGfa_KillSetting Gfa_RecordingGfa_RecordHoldGfa_NoRecordThisGfa_PlayGfa_RecordGfa_RecordOff Gfa_TronGfa_TroffGfa_TronBookGfa_TroffBook Gfa_DebOnGfa_DebMenuGfa_DbStepGfa_DbOnGfa_DbOff .topic 5840 $Export "libname" $Export type name "description" [, name ["description"]] - Used to export elements from a LG32 library. .topic 5842 $ = TempFileName(prefix$ [, extension$]) - Creates a name for a temporary file. .topic 5843 KillTempFile path$ - Deletes a temporary file generated with TempFileName() .topic 5902 SendKeys string [,flag] - Sends one or more keystrokes to the active window as if typed at the keyboard. .topic 5903 FreeDll filename$ - Releases a DLL (dynamic link library). .topic 5904 $lg32 .topic 5905 Clipboard.method = value value = Clipboard.method - Allows access to the System Clipboard. The following methods are available: Clear, GetFormat, GetData, SetData, GetPict, SetPict, GetText, SetText .topic 5908 Let var = n – Assigns a value to a variable .topic 5909 Mid[$](txt$, pos% [,len%]) = newtxt$ Moves a string expression of specified length to the chosen place in a character string. .topic 5910 On Error [Goto label | Resume Next | Goto 0] On n Call proc1, proc2, ... On n Gosub label1, label2, ... On n Goto label1, label2, ... .topic 5911 InitGraph [Function obsolete and/or unknown] .topic 5912 Len - Determines the length of a character string or the size of a user defined type. .topic 5913 Asc - Determines the ASCII (or ANSI) value of a character in a string. .topic 5914 Cv1(str$ [,offset]) - converts 1 letter of a string (starting from offset) to a byte value based on the character's ASCII code. .topic 5915 Cv2(str$ [,offset]) Cvw(str$ [,offset]) - converts 2 letters of a string (starting from offset) to a word (or short) value based on the characters' ASCII code. .topic 5916 Cv3(str$ [,offset]) - converts 3 letters of a string (starting from offset) to a 32-bit integer (or long) value based on the characters' ASCII code. .topic 5917 Cv4(str$ [,offset]) Cvi(str$ [,offset]) Cvl(str$ [,offset]) - converts 4 letters of a string (starting from offset) to a 32-bit integer (or long) value based on the characters' ASCII code. .topic 5918 Cv5(str$ [,offset]) - converts 5 letters of a string (starting from offset) to a large (or 64-bit integer) value based on the characters' ASCII code. .topic 5919 Cv6(str$ [,offset]) - converts 6 letters of a string (starting from offset) to a large (or 64-bit integer) value based on the characters' ASCII code. .topic 5920 Cv7(str$ [,offset]) - converts 7 letters of a string (starting from offset) to a large (or 64-bit integer) value based on the characters' ASCII code. .topic 5921 Cv8(str$ [,offset]) CvLarge(str$ [,offset]) - converts 8 letters of a string (starting from offset) to a large (or 64-bit integer) value based on the characters' ASCII code. .topic 5922 CvCur(str$ [,offset]) - converts 8 letters of a string (starting from offset) to a 64-bit Currency value based on the characters' ASCII code. .topic 5923 Cvs(str$ [,offset]) - converts 4 letters of a string (starting from offset) from binary to a IEEE format Single value CvsMbf(str$ [,offset]) - converts 4 letters of a string (starting from offset) from Microsoft binary format to a IEEE format Single value .topic 5924 Cvd(str$ [,offset]) - converts 8 letters of a string (starting from offset) from binary to a IEEE format Double value CvdMbf(str$ [,offset]) - converts 8 letters of a string (starting from offset) from Microsoft binary format to a IEEE format Double value .topic 5925 Mk1[$](val1 [,val2,…]) - converts one or more byte values into a string Mk1$ is synonymous with Chr[$] .topic 5926 Mk2[$](val1 [,val2,…]) Mkw[$](val1 [,val2,…]) - converts one or more word (or 16-bit integer) values into a string .topic 5927 Mk3[$](val1 [,val2,…]) - converts one or more 3-byte (or 24-bit) values into a string .topic 5928 Mk4[$](val1 [,val2,…]) Mki[$](val1 [,val2,…]) Mkl[$](val1 [,val2,…]) - converts one or more long (or 4-byte/32-bit) values into a string .topic 5929 Mk5[$](val1 [,val2,…]) - converts one or more 5-byte (or 40-bit) values into a string .topic 5930 Mk6[$](val1 [,val2,…]) - converts one or more 6-byte (or 48-bit) values into a string .topic 5931 Mk7[$](val1 [,val2,…]) - converts one or more 7-byte (or 56-bit) values into a string .topic 5932 Mk8[$](val1 [,val2,…]) MkLarge[$](val1 [,val2,…]) - converts one or more large (or 8-byte/64-bit) values into a string .topic 5933 MkCur[$](val1 [,val2,…]) - converts one or more 64-bit Currency values into a string .topic 5934 Mks[$](val1 [,val2,…]) - converts one or more 32-bit Single values into a string MksMbf[$](val1 [,val2,…]) - converts one or more 32-bit Single values in Microsoft binary format into a string .topic 5935 Mkd[$](val1 [,val2,…]) - converts one or more 64-bit Double values into a string MkdMbf[$](val1 [,val2,…]) - converts one or more 64-bit Double values in Microsoft binary format into a string .topic 5936 Dlg_n.property (where n is a number between 0 and 31) Allows the setting of properties and calling of methods of an open dialog box allocated the number n. E.g. Dlg_1.BackColor = $8000000f sets the dialog box's back colour, while Dlg_1.Hide makes it invisible. .topic 5937 var = Dlg_n.property (where n is a number between 0 and 31) Returns the value of properties pertaining to a dialog box allocated the number n. E.g. a? = Dlg_1.Visible will set a? to TRUE if Dialog Box 1 is visible or FALSE if not. .topic 5938 Dialog hd%,x%,y%,w%,h%,tit$ [,flag% [,height%,font$] ] … EndDialog Creates and defines a form or dialog box .topic 5939 Control text$, id%, class$, x, y, w, h[, style%] Create a control in a form, window or dialog box Available values for class$ are: AutoCheckBox, AnimateCtrl, AutoRadioButton, CheckBox, ComboBox, CText, Dialog, DefPushButton, EditText, GroupBox, HeaderCtrl, ListBox, ListViewCtrl, LText, ProgressCtrl, PushButton, RadioButton, RichEditCtrl, RText, ScrollBar, StatusCtrl, TabCtrl, ToolBarCtrl, TrackBarCtrl, TreeViewCtrl, UpDownCtrl .topic 5940 DefPushButton text$,ID%,x%,y%,w%,h%[,style%] - Creates a non-OCX Default Push Button control PushButton text$,ID%,x%,y%,w%,h%[,style%]- Creates a non-OCX Normal Push Button control .topic 5941 AutoCheckBox text$,ID%,x%,y%,w%,h%[,style%] - Creates a non-OCX Automated CheckBox control CheckBox text$,ID%,x%,y%,w%,h%[,style%]- Creates a non-OCX non-Automated CheckBox control .topic 5942 AutoRadioButton text$,ID%,x%,y%,w%,h%[,style%] - Creates a non-OCX Automated RadioButton control RadioButton text$,ID%,x%,y%,w%,h%[,style%]- Creates a non-OCX non-Automated RadioButton control .topic 5943 CText text$, id%, x, y, width, height[, style%] - Creates a Centred Static Label/Text control LText text$, id%, x, y, width, height[, style%] - Creates a Left-Aligned Static Label/Text control RText text$, id%, x, y, width, height[, style%] - Creates a Right-Aligned Static Label/Text control .topic 5944 EditText text$, id%, x, y, width, height[, style%] - Creates an editable non-OCX Text control .topic 5945 ComboBox text$, id%, x, y, width, height[, style%] - Creates a non-OCX ComboBox control .topic 5946 ListBox text$, id%, x, y, width, height[, style%] - Creates a non-OCX ListBox control .topic 5947 GroupBox text$, id%, x, y, width, height[, style%] - Creates a non-OCX GroupBox/Frame control .topic 5948 ScrollBar text$, id%, x, y, width, height[, style%] - Creates a non-OCX ScrollBar control .topic 5949 AnimateCtrl text$, id%, x, y, width, height[, style%] - Creates a non-OCX Animation control .topic 5950 HeaderCtrl text$, id%, x, y, width, height[, style%] - Creates a non-OCX Column Header control .topic 5951 ListViewCtrl text$, id%, x, y, width, height[, style%] - Creates a non-OCX ListView control .topic 5952 ProgressCtrl text$, id%, x, y, width, height[, style%] - Creates a non-OCX Progress Bar control .topic 5953 RichEditCtrl text$, id%, x, y, width, height[, style%] - Creates a non-OCX Rich Text Edit control .topic 5954 StatusCtrl text$, id%, x, y, width, height[, style%] - Creates a non-OCX Status Bar control .topic 5955 TabCtrl text$, id%, x, y, width, height[, style%] - Creates a non-OCX Tab control .topic 5956 TrackBarCtrl text$, id%, x, y, width, height[, style%] - Creates a non-OCX Track Bar control .topic 5957 TreeViewCtrl text$, id%, x, y, width, height[, style%] - Creates a non-OCX TreeView control .topic 5958 UpDownCtrl text$, id%, x, y, width, height[, style%] - Creates a non-OCX UpDown control .topic 5959 ToolBarCtrl text$, id%, x, y, width, height[, style%] - Creates a non-OCX ToolBar control .topic 5960 Wrapxxx id%, V: varocxtype, name$ - Wraps a Control in an OCX wrapper where xxx can have the following values: CheckBox, Command, Image, Label, ListView, Option, Progress, RichEd, Scroll, Slider, TextBox, ToolBar, TreeView .topic 5961 Hash Array/Table commands: Hash Add name[[key$]] [Before | After idx] , element - Adds an element. Hash Erase name[] - Erases the entire Array. Hash Input name[] , file$ | #n - Loads a Hash Array from an ASCII file. Hash Load name[] , file$ | #n - Loads a Hash Array from an file saved with Hash Save. Hash Remove name[ key$ | % idx ] - Removes/Deletes an element. Hash Save name[] , file$ | #n - Saves a hash table in a file in a fast binary format. Hash Sort name[] , [Asc | Desc] [, compmode] - Sorts a Hash Array. Hash Write name[] , file$ | #n - Saves a hash table as an ASCII file. .topic 5962 Error n - Triggers the error whose number is n .topic 5963 Quit - Terminates a GFA-BASIC program and returns back to the calling program. .topic 5964 Stop - Terminates a GFA-BASIC program. .topic 5965 Swap x,y Swap x(),y() - Swaps the value(s) of two variables or arrays of the same type. .topic 5966 WindGet x, a[,b[,c...]] a = Wind_Get(x) GFA-BASIC16 Command - Included for compatibility purposes only (not fully functional in GFA-BASIC32). Reads attribute(s) - specified by x - for a specific window. .topic 5967 WindSet x, a[,b[,c...]] GFA-BASIC16 Command - Included for compatibility purposes only. Sets parameter(s) - specified by x - in a specific window. .topic 5968 _ADAP _MD - No function. Reserved word. Used with GFA-BASIC for MS-DOS (Returns 0) .topic 5969 string = Input[$](count, #n) string = Input?[$](count, #n) string = Input[$]?(count, #n) - Reads a string 'count' bytes long from a previously opened file; the inclusion of the '?' prevents an overflow error. .topic 5970 _C - Contains the number of colors supported by the graphic adapter installed under Windows. .topic 5971 a = _CY - Returns the current state of the Carry flag. .topic 5972 h = _Dc([w%]) - Returns the handle of the Device Context for a window area. h = _Dc2([w%]) - Returns the handle of the Device Context for the AutoRedraw window area. .topic 5973 x = _File(n%) - Returns the MS-DOS or MS-Windows file handle of the opened file #n. .topic 5974 $ = _CmdLine[$] - Returns the Command Line .topic 5975 code$ = _MiMeEncode(original$) - Converts binary data into a MiMe format [Exact format not known; does not produce the same result as MiMeEncode; paired with _MimeDecode] .topic 5976 original$ = _MiMeEncode(code$) - Decodes a previous encoded MiMe string to a string [Exact format not known; does not produce the same result as MiMeDecode; paired with _MimeEncode] .topic 5977 EndSub - Marks the end of a Sub routine. .topic 5978 a| = Byte{addr%} - Returns 1 byte from addr% as an unsigned Byte variable. .topic 5979 a% = Sbyte{addr%} - Returns 1 byte from addr% as a signed Byte variable. .topic 5980 a& = Short{addr%} a& = Word{addr%} - Returns 2 bytes from addr% as a signed Word (16-bit Integer) variable. .topic 5981 a% = {addr%} a% = Int{addr%} a% = Long{addr%} - Returns 4 bytes from addr% as a signed Long (32-bit Integer) variable. .topic 5982 a = Card{addr%} a = UShort{addr%} a = UWord{addr%} - Returns 2 bytes from addr% as a unsigned Card (16-bit Integer) variable. .topic 5983 a# = Double{addr%} - Returns 8 bytes from addr% as an IEEE format Double variable. .topic 5984 a! = Single{addr%} - Returns 4 bytes from addr% as a Single variable. .topic 5985 a = Large{addr%} - Returns 8 bytes from addr% as a signed Large (64-bit Integer) variable. .topic 5986 a@ = Cur{addr%} - Returns 8 bytes from addr% as a Currency variable. .topic 5987 a$ = Char{addr%} - Returns a string of characters terminated with Chr(0). .topic 5988 a| = Peek(addr%) - Returns 1 byte from addr% as an unsigned Byte variable. .topic 5989 a& = DPeek(addr%) - Returns 2 bytes from addr% as a signed Word (16-bit Integer) variable. .topic 5990 a = CPeek(addr%) - Returns 2 bytes from addr% as a unsigned Card (16-bit Integer) variable. .topic 5991 a% = LPeek(addr%) - Returns 4 bytes from addr% as a signed Long (32-bit Integer) variable. .topic 5992 a = Peek8(addr%) - Returns 8 bytes from addr% as a signed Large (64-bit Integer) variable. .topic 5993 a@ = CurPeek(addr%) - Returns 8 bytes from addr% as a Currency variable. .topic 5994 a! = SngPeek(addr%) - Returns 4 bytes from addr% as a Single variable. .topic 5995 a# = DblPeek(addr%) - Returns 8 bytes from addr% as an IEEE format Double variable. .topic 5996 a$ = Peek$(addr%) a$ = StrPeek(addr%) a$ = CharPeek(addr%) - Returns a string of characters terminated with Chr(0). .topic 5997 a# = Min(n1 [,n2…]) - Returns the minimum value in Double format a$ = Min$(n1$, [n2$]) - Returns the minimum value as a String a@ = MinCur(n1 [,n2…]) - Returns the minimum value in Currency format a% = MinI(n1 [,n2…]) - Returns the minimum value in 32-bit Integer format a% = iMin(n1 [,n2…]) - Returns the minimum value in 32-bit Integer format a = MinLarge(n1 [,n2…]) - Returns the minimum value in Large (64-bit Integer) format .topic 5998 a# = Max(n1 [,n2…]) - Returns the maximum value in Double format a$ = Max$(n1$, [n2$]) - Returns the maximum value as a String a@ = MaxCur(n1 [,n2…]) - Returns the maximum value in Currency format a% = MaxI(n1 [,n2…]) - Returns the maximum value in 32-bit Integer format a% = iMax(n1 [,n2…]) - Returns the maximum value in 32-bit Integer format a = MaxLarge(n1 [,n2…]) - Returns the maximum value in Large (64-bit Integer) format .topic 5999 $ = DblToHex[$](x) - Converts a Double variable into hexadecimal format. .topic 6000 $ = SngToHex[$](x) - Converts a Single variable into hexadecimal format. .topic 6001 $ = CurToHex[$](x) - Converts a Currency variable into hexadecimal format. .topic 6002 $ = Oct[$](m[,n]) - Converts variable m into Octal representation. .topic 6003 $ = Bin[$](m[,n]) - Converts variable m into Binary representation. .topic 6004 $ = Dec[$](m[,n]) - Converts variable m into Decimal representation. .topic 6005 $ = Hex[$](m[,n]) - Converts variable m into Hexadecimal representation. .topic 6006 string = Base[$](value [, :] radix) string = Base$(& radix : value, newradix) - Returns a string representing a number using a specific base. .topic 6007 x = P:(addr)([parameters]) x = PasCall(addr)([parameters]) - Executes a subroutine at a specified address and returns a Long value. .topic 6008 x = LP:(addr)([parameters]) x = LPasCall(addr)([parameters]) - Executes a subroutine at a specified address and returns a Large value. .topic 6009 x = C:(addr)([parameters]) x = CCall(addr)([parameters]) - Executes a subroutine at a specified address and returns a 32-bit Integer value. .topic 6010 x = LC:(addr)([parameters]) x = LCCall(addr)([parameters]) - Executes a subroutine at a specified address and returns a Large value. .topic 6011 x = StdCall(addr)([parameters]) - Executes a subroutine at a specified address and returns a Long value. .topic 6012 x = LStdCall(addr)([parameters]) - Executes a subroutine at a specified address and returns a Large value. .topic 6013 a% = VarPtr(var) a% = V:var - Returns the address of a variable or an array element. .topic 6014 a$ = VarPtr$(var) - Returns a string describing the variable var. [Note: Does not work with Card, Large or Variant types]. .topic 6015 h = Dlg(DialogID) h = Dlg(DialogID,ItemID) h = DlgItem(DialogID,ItemID) - Returns the handle of a Dialog or an item within it. .topic 6016 hWnd = Win([n]) - Returns the handle of the specified window. .topic 6017 % = ArrPtr(x) - Returns the address of a variable of any type except in arrays and strings where it returns the addresses of array and string descriptors respectively. .topic 6018 LBound(array[, dimension]) - Returns the smallest available subscript for the indicated dimension of an array. .topic 6019 UBound(array[, dimension]) - Returns the largest available subscript for the indicated dimension of an array. .topic 6020 x = ArrayAddr(array()) - Returns the memory address of an array. .topic 6021 x = IndexCount(array()) - Returns the number of array dimensions. .topic 6022 x = Dim?(x()) - Returns the total number of elements in an array. .topic 6023 x% = ArraySize(array()) - Returns the size of the array in bytes. .topic 6024 $ = GUID$(addr%) - Converts a binary GUID into a string. .topic 6025 x% = Stick(n) - Reads joystick or touch screen position. b? = Strig(n) - Reads joystick buttons or other multi-media input devices. .topic 6026 x = Day(date) - Returns a number between 1 and 31 representing the day of the month. x = DayNo(date) - Returns a number between 1 and 266 representing the day of the year. x = WeekDay(date) - Returns a number between 1 and 7 representing the day of the week. .topic 6027 x = Month(date) - Returns a number between 1 and 12 representing the month. .topic 6028 x = Year(date) - Returns a whole number representing the year. .topic 6029 x = Week(date) - Returns a number between 1 and 52 representing the week of the year (the 53rd week is returned as 1). .topic 6030 x = Hour({date|time}) - Returns a number between 0 and 23 representing the hour of the day. .topic 6031 x = Minute({date|time}) - Returns a number between 0 and 59 representing the minute of that particular hour. .topic 6032 x = Second({date|time}) - Returns a number between 0 and 59 representing the second of that particular minute. .topic 6033 date = DmyToDate(day, month, year) date = DateSerial(year, month, day) - Returns the date value for the given day, month and year. .topic 6034 time = HmsToTime(hour, minute, second) time = TimeSerial(hour, minute, second) - Returns the date or time value for the given hour, minute and second. .topic 6035 date = DmyHmsToDate(d, m, y, h, m, s) - Returns the date or time value for the given year, month, day, hour, minute and second. .topic 6036 DatePart(interval, date) - Returns an integer containing the specified part of a given date. .topic 6037 DateDiff(interval, date1, date2) - Returns a Long specifying the number of time intervals between two specified dates. .topic 6038 DateAdd(interval, number, date) - Returns a Date containing a date to which a specified time interval has been added. .topic 6039 i = InStr(a$, b$ [,m%] [, compmode]) i = InStr([m%], a$, b$ [, compmode]) - Finds the first instance of b$ inside a$ (starting at position m%) moving left to right. .topic 6040 i = RInStr(a$, b$ [,m%] [, compmode]) i = RInStr([m%], a$, b$ [, compmode]) - Finds the first instance of b$ inside a$ (starting at position m%) moving right to left. .topic 6041 x% = Succ(n) - Calculates the first natural number greater than an integer expression. x$ = Succ[$](a$) - Returns a character whose ASCII value is one greater than the first character of a string expression. .topic 6042 x% = Pred(n) - Calculates the first natural number smaller than an integer expression. x$ = Pred[$](a$) - Returns a character whose ASCII value is one less than the first character of a string expression. .topic 6043 % = StrCmp(string1, string2) % = StrCmpI(string1, string2) - Compare two stings returning -1, 0 or 1 depending on the result using the current Mode Compare settings. .topic 6044 % = StrComp(string1, string2 [, mode]) - Compare two stings returning -1, 0 or 1 depending on the result using the specified (or current if excluded) Mode Compare setting. .topic 6045 %= LStrCmp(string1, string2) %= LStrCmpI(string1, string2) - Compare two stings returning -1, 0 or 1 depending on the result using the current Windows Regional settings. .topic 6046 $ = Chr[$](m [,m1,…]) - Converts one or more byte values into a string. .topic 6047 $ = Str[$](x [,m, n]) - Converts a value into a string [of length m, and to n decimal spaces] .topic 6048 a$ = Space[$](m%) - Creates a string consisting of a specified number of spaces. .topic 6049 $ = String[$](m, a$) - Creates a string consisting of m repititions of a$. $ = String[$](m, n) - Creates a string consisting of m repititions of chr(n). .topic 6050 a$ = LTrim[$](x$) - Removes all leading spaces. .topic 6051 a$ = RTrim[$](x$) - Removes all trailing spaces. .topic 6052 a$ = Trim[$](x$) - Removes all leading and trailing spaces. .topic 6053 $ = ZTrim[$](a$) - Copies a string until the first null byte or the end of the string is reached. .topic 6054 $ = Upper[$](a$) - Converts all lower case letters of a string expression including all PC umlauts (IBM character set) to capital letters. $ = UCase[$](a$) - Converts all lower case letters of a string expression to capital letters, with the exception of PC umlauts (US character table). .topic 6055 $ = Lower[$](a$) - Converts all capital letters of a string expression including all PC umlauts (IBM character set) to lower case letters. $ = LCase[$](a$) - Converts all capital letters of a string expression to lower case letters, with the exception of PC umlauts (US character table). .topic 6056 $ = Left[$](a$ [,m [,fillchar]]) - Returns a specified number of characters starting from the beginning of a string; if specified, any unfilled characters are filled with fillchar. .topic 6057 $ = Right[$](a$ [,m [,fillchar]]) - Returns a specified number of characters starting from the end of a string; if specified, any unfilled characters are filled with fillchar. .topic 6058 $ = Mid[$](a$, p% [,m% ]) - Returns m% characters from a string, starting at position p%. $ = SubStr[$](a$, p% [,m% [,char$]]) - Returns m% characters from a string, starting at position p%; if specified, any unfilled characters are filled with fillchar. .topic 6059 $ = Mirror$(a$) - Returns a mirror image of the given string. .topic 6060 a% = LabelAddr(name) - Returns the memory address of a label. .topic 6061 a% = LabelAddr(procname) - Returns the memory address of a procedure, function or sub. .topic 6062 a% = BitSizeOf(var) - Returns the size in BITS of a variable or a user-defined type. a% = SizeOf(var) - Returns the size in BYTES of a variable or a user-defined type. .topic 6063 a% = BitOffsetOf(Type.Member) - Retrieves the offset in BITS of a member from the beginning of its parent structure. a% = OffsetOf(Type.Member) - Retrieves the offset in BYTES of a member from the beginning of its parent structure. .topic 6064 large = Loc(#n) % = Loc%(#n) - Returns the current position of the file data pointer. .topic 6065 large = Lof(#n) % = Lof%(#n) - Returns the length of the file. .topic 6066 large = RecordLOF(#n) % = RecordLOF%(#n) - Returns the number of records in a random-access file, or the number of bytes in a sequential file. .topic 6067 bool? = EOF(#n) - Tests if the end of file has been reached. bool? = TextEOF(#n) - Tests if the end of file or ASCII character 26 has been reached (used with internal files). .topic 6068 % = FileAttr(#file, attr) - Returns the GFA-BASIC 32 file mode settings for files opened using the Open statement. .topic 6069 $ = Xlate[$](a$, mi()) $ = Xlate[$](a$, m$()) $ = Xlate[$](a$, addr) - Replaces all characters of a string expression with values from a table. .topic 6070 % = CrsCol % = CrsLin - Returns the line and column numbers of the current cursor position. .topic 6071 % = Pos(0) - Returns the number of characters printed since the last carriage return. .topic 6072 % = Lpos(0) - Returns the virtual column position during printing. .topic 6073 % = _X - Returns the width of the screen in pixels. % = _Y - Returns the height of the screen in pixels. .topic 6074 bool? = Enabled?(handle) - Tests whether a window or Ocx object is enabled. .topic 6075 bool? = Iconic?(handle) - Tests whether a window is iconized. .topic 6076 bool? = Visible?(handle) - Tests whether a window or Ocx object is visible. .topic 6077 bool? = Zoomed?(handle) - Tests whether a window is maximized. .topic 6078 $ = Err$ [(e)] $ = Error$ [(e)] - Returns either a string describing error number e OR if e is omiited, the last error called. .topic 6079 PrinterDC() - Is automatically replaced by Printer.hdc by the GFA IDE. .topic 6080 OcxOcx parocx[(c_idx)] ocxtype name[(idx)] [[= text$] [,ID][, x, y, w, h] [, style]] - Creates an OCX control within a previously created parent OCX control. .topic 6081 DirPop - Gets back the last, with DirPush saved, Dir() settings. .topic 6082 DirPopAll - Clears the Dir() stack. .topic 9999 Command/Function no longer valid in GFA-BASIC32 .topic 10000 The optimization of branch statements (BranchOpt) provides for a slightly smaller program size and increases the performance a little bit. However, compile time increases, and therefore this option can disabled partially or completely. Suggestion: Disable (None) .topic 10001 The time consuming process of optimizing the branch statements can be enebaled for the creation of stand-alone EXEs only. Compiling in memory in the IDE will not result in branch optimization. Suggestion: Disable .topic 10002 Here you can adjust how much code the BASIC must generate, to the avoid the multiplication statement of the 80x86 processor when a value is multiplied by a constant. GFA-BASIC 32 replaces the code through a series of Shl, Add, Sub and Lea statements. This requires more code. However, modern processors are already optimized. The slider setting 1 = left allows only very short replacement codes (10 bytes). This is the setting when you need a smaller program. A slightly higher performance is obtained with the second setting (up to 20 bytes increase) on a Pentium 100. The third setting (up to 30 bytes) is on a Pentium a little slower and the program a little larger, however for a 486 bit this setting results in faster execution. (The Pentium is, of course, still faster than the 486, but slower than the same Pentium with setting2). The fourth setting inserts sequences to 40 bytes. The settings: 1 = space, 2 = optimization for Pentium, 3 = optimization for 486, 4 = especially suitable for programs that are often used on 486's. Here with Pentium all Pentiums are meant, except the old Pentium 60/66 Conventions, as well as the i486-DX4. These processors have built-in the rapid multiplication. This setting affects only on programs that are so using integer multiplications (many) with constants. Suggestion: Disable .topic 10003 Options to optimize floating-point calculations. .topic 10005 Like the optimization option for floating-point additions and substractions, there is an optimization for multiplication. Negative effects for this optimization should be even less than that of the addition/sunstraction, because the multiplication is more insensitive to magnitude differences. Suggestion: Enable .topic 10006 This option optimizes floating-point division. Division by a constant is replaced by a multiplication of the reciprocal of the constant. For example: a = a / 10 becomes a= a * 0.1 However, since the number of digits of a Double data type is limited, and the computer works with binary values, the value 0.1 cannot not accurately be represented, so that the division by 10 and multiplying it by 0.1 returns slightly different results (deviation around 1E-16). A reciprocal of division of values of the power of two results in an exact floating-point value (like /8 and *0125). The reason for this optimization is, as almost always, the speed. Suggestion: Disable .topic 10007 The Intel processors (Pentium, 486, 387th ..) have built-in functions for sine, cosine and tangent. The values of these functions is to +- 2^63. Greater values (> 1E18) don't result in an error message of the processor, and the return is 0. A program must test this explicitly. Using this setting uses the processor functions ofe Sin / Cos / Tan, which are minimal faster (and minimally shorter), but without this test. A value range overrun for Tan leads then to a floating-point stack error. In case of Sin / Cos mostly to completely absurd errors, because the argument is returned unchanged (Sin (1E40) = 1E40?) Suggestion: Disable .topic 10008 Directive $ArrayCheckOff / $ArrayCheckOn Turns off error checking for valid array indexes and the correct number of dimensions of the array. Use $ArrayCheckOff/$ArrayCheckOn to turn of the checking for a piece of the code when running from the IDE. The directive has no influence on compiled EXEs. By default GFA-BASIC32 makes a check on every access to an array to determine if the index is within the range of the array. If the index is outside the bounds of the array, an error is returned. Selecting this option will turn off this error checking and reduces the overhead when accessing an element (17 code bytes) and increases speed. However, if your program accesses an array with an index that is out of bounds, invalid memory locations may be accessed without warning. This can cause unexpected behavior or program crashes. .topic 10009 When selected the ' (comment) character is converted to a ` (a space character). When not selected the ' character is interpreted as a comment .topic 10010 Selection of the side edges and of a printer for printing the source code of a program from the IDE. You can select print resolution, paper size, etc. of the corresponding printer, regardless of the settings of the default printer. .topic 10012 Select font for printing. Displays the selected font name. When selecting a printer font first select a printer. .topic 10014 Settings for a page header of the print job. .topic 10016 Settings for a page footer of the print job. .topic 10019 Setting for printing line number. .topic 10020 Settings for printing in color. In color mode the printing is a bit slower, and requires usually more space to spool. On monochrome printers BASIC statements and function are printed bold, comments in italics, error lines bold-underlined, and declared DLL-Functions underlined. .topic 10021 Two column printing. Useful with (mainly) short lines of code (or possibly small fonts) .topic 10022 Enables fast printing. The result is, depending on the printer and driver, usually a little faster than usual, and it produces smaller spooling files. In this mode, the color and two-column modes are disabled. Page and footer options are allowed. .topic 10030 Select a font for the code editor. The selection and the point size is displayed. .topic 10032 Enables Syntax coloring .topic 10033 Select a code element like keyword or comment .topic 10034 Set the foreground color of the text of a code element. .topic 10035 Set the background color of the text of a code element. .topic 10036 Determines whether Assert, Trace or Debug.Print code is inserted. "Only in IDE": only when the program is compiled in memory in the IDE. "Never": No insertion of Assert / Trace / Debug.Print code at all. "In IDE and in Exe": Inserts code for Assert / Trace / Debug.Print in both the IDE and in the EXE/GLL/LG32 output file. .topic 10040 Switches the language in the IDE. .topic 10042 When selected the cursor position isn't stored in the file when it is saved. .topic 10043 When the option is selected the old version of the file isn't deleted when you save a program file. The existing file will be renamed (the extension. "bak") before the file is saved. An already existing .Bak file will be deleted. Suggestion: Enable .topic 10050 This option is for the rare case that a program uses the Bswap function and the program is run on a 80386 computer. Normally, the processor is able to execute the Bswap statement (the exchange of the four byte in an integer) very quickly. However, for these the Bswap is emulated using xchg al, ah : . rol eax, 16 : . xchg al, ah. Not only is this emulation longer in code size, but also significantly slower. Note that 80386-computers running Windows NT or Windows 95 are not very likely to find. Suggestion: Disable .topic 10051 When selected the cursor also stops at the end of a word. .topic 10052 When selected the cursor doesn't stop at the end of a line. .topic 10053 This option is for the not so rare case that a programmer wants some more control over Type conversions. In the past BASICs have always been converting between different numeric formats automatically (Double <-> Int etc.). VBA introduces an automatic conversion of string values to numeric (an OLE internal Val) and vice versa. This automatic conversion leads to difficult to find bugs, and is in conflict with prior versions of GFA-BASIC. With this option the automatic conversion of strings in numbers is disabled. This does not apply to operations with Variants or Objects. Suggestion: Enable .topic 10054 This option results in a small increase of the size and program execution time. If checked, the compiler generates the fwait assembly statement, in particularly with a conversion of floating-point values to integer values. A floating-point error is not reported before the next floating-point statement or in a fwait. The impact of this is the option is that an (overflow) error is reported a little earlier. Only in extreme cases, the activation of this option is useful for finished programs. Suggestion: Disable .topic 10055 Use to set the flat style for the Editor Toolbar. .topic 10056 This option prevents that comment lines at the end of a procedure are folded with the subroutine. Lines, with ' or / at the start of a line, immediately before the start of the next subroutine, are then not folded. They remain visible between the folded procedures. These comment lines are then used to optically separate subroutines. .topic 10057 Puts a bookmarks on the lines that contain the text to search for. .topic 10058 The Improve Float Consistency option improves the consistency of floating-point tests for equality and inequality by disabling optimizations that could change the precision of floating-point calculations. By default, the compiler uses the coprocessor’s 80-bit registers to hold the intermediate results of floating-point calculations. This increases program speed and decreases program size. However, because the calculation involves floating-point data types that are represented in memory by less than 80 bits, carrying the extra bits of precision (80 bits minus the number of bits in a smaller floating-point type) through a lengthy calculation can produce inconsistent results. With this option the compiler loads data from memory prior to each floating-point operation and, if assignment occurs, writes the results back to memory upon completion. Loading the data prior to each operation guarantees that the data does not retain any significance greater than the capacity of its type. When some other floatingpoint instruction is executed before the IF clause, the equality test is correct, though. To force a reload you could use: ~0‘ some instruction .topic 10059 Syntax error Message Box When selected a Syntax Error Message Box is displayed when a code line contains a syntax error. The code must be repaired before the line can be left. The cursor is placed at the character that causes the error. When not selected a line can be left even when it contains syntax errors. The code line is then displayed using the error foreground color. Afterwards a line with a syntax error can be located by pressing (Shift+) F4. .topic 10060 Registers the document types .g32 and .lg32 for the currently running GFA-BASIC 32 IDE instance. Icons for g32 and lg32 file types are registered that are displayed in front of GFA-BASIC 32 files. Windows provides file associations so that an application can register the type of documents it supports. The benefit of doing this is that it allows the user to double-click or select a document in the Explorer to edit it. Registering the file associations is one step procedure performed by the user; GFA-BASIC 32 doesn't register the document types itself. .topic 10061 Registers the document types .g32 and .lg32 for the currently running GFA-BASIC 32 IDE instance. Icons for g32 and lg32 file types are registered that are displayed in front of GFA-BASIC 32 files. Windows provides file associations so that an application can register the type of documents it supports. The benefit of doing this is that it allows the user to double-click or select a document in the Explorer to edit it. Registering the file associations is one step procedure performed by the user; GFA-BASIC 32 doesn't register the document types itself. .topic 10062 Error with registering the document types .g32 und .lg32. Possible error is the lack of administrator rights. Please set the proper rights and try again. When a file asociation isn't registered GFA-BASIC 32 source code cannot be loaded automaticaaly by double clicking a GFA-BASIC 32 document. .topic 10063 Shows the name of the LG32 filename when an imported name is clicked with the right Mouse button (in the editor). The name of the lg32 file can be displayed above or below the imported name. .topic 10090 The inline :Files Window This window is used to manage inline files. Rather than using external files GFA-BASIC 32 allows you to include files (or any other data) as binary data in the program. The inline data is accessed using file I/O statements to open and read the data. In addition, some GFA-BASIC 32 functions can read inline data directly, like LoadPicture(), RichEdit.LoadFile, and PlaySound(). To identify the inline files the "file name" must always start with a ":", for instance PlaySound ":Ring"; Open ":file" For Input As # 1, or Set p = LoadPicture(":btnOk"). With a right click on the empty area, a context menu opens to load a file and convert into an inline file. To delete or rename an entry right-click it. Pressing the tab key will return to the editor. .topic 10100 ProductName Specifies the name of the product with which the file is distributed. .topic 10101 ProductVersion Specifies the version of the product with which the file is distributed, for example, "3.10.10.31". .topic 10102 Fileversion Specifies the version number of the file, for example, "3.10.10.3". .topic 10103 FileDescription Specifies a file description to be presented to users. This string may be displayed in a list box when the user is choosing files to install,, for example, "Keyboard Driver for AT-Style Keyboards". .topic 10104 Comments Specifies additional information that should be displayed for diagnostic purposes. .topic 10105 Company Specifies the company that produced the file, for example, "Microsoft Corporation" or "Standard Microsystems Corporation, Inc. .topic 10106 Copyright Specifies all copyright notices that apply to the file. This should include the full text of all notices, legal symbols, copyright dates, and so on, for example, "Copyright© Microsoft Corporation 1990-1998". .topic 10107 Trademarks Specifies all trademarks and registered trademarks that apply to the file. This should include the full text of all notices, legal symbols, trademark numbers, and so on (™ und ®). .topic 10108 Private Specifies information about a private version of the file, for example, "Built by TESTER1 on \TESTBED". This string automatically includes the VS_FF_PRIVATEBUILD in the fileflags parameter of the root block. .topic 10109 Special Specifies how this version of the file differs from the standard version, for example, "Private build for TESTER1 solving mouse problems on M250 and M250E computers". This string automatically includes the VS_FF_SPECIALBUILD in the fileflags parameter of the root block. .topic 10110 Debug Select to mark the application as a test version containing debugging options. (File contains debugging information or is compiled with debugging features enabled.) .topic 10111 Pre-Release Select to mark the application as a pre-release or test version (Alpha, Beta, Gamma-Test). (File is a development version, not a commercially released product.) .topic 10112 Internal Name Specifies the internal name of the file, if one exists, for example, a module name if the file is a dynamic-link library. If the file has no internal name, this string should be the original filename, without extension. This string is required. .topic 10113 Specifies one of the language code. .topic 10114 Specifies the filename of the compiled program. .topic 10115 Allows the selection of an application icon. .topic 10116 Eine The name of the file to compile. .topic 10117 Filename of the program to compile. The name for executable is comprised of the path and filename portion of the source code program. The extension is replaced by ‘exe’, ‘gll’, or ‘lg32’, depending on the project type. .topic 10118 If selected the last part of the Versionnumber(=Revision) is incremented on a daily basis when the program is saved. When the versionnumber > 9999 the number is reset to zero and the MajorRevision part is incremented. The FileVersion information is stored at the end of the source code file, in a special data section. This data section contains the Form data and inline ‘:files’ data. .topic 10119 The GLL Editor Extension source code filename. .topic 10120 The compiled GLL Editor Extension filename. .topic 10121 The lg32 GFABASIC Library source code filename. .topic 10122 The compiled lg32 GFABASIC Library filename. .topic 10200 System dialogbox for Toolbar manipulation. Resetting the Toolbar means installing the buttons to the default situation.