Changeset 89
- Timestamp:
- Feb 11, 2007, 11:53:12 PM (18 years ago)
- Location:
- Include/basic
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
Include/basic/command.sbp
r21 r89 6 6 7 7 8 Const _System_Type_Char = 9 Const _System_Type_Byte = 8 Const _System_Type_Char = 1 9 Const _System_Type_Byte = 2 10 10 Const _System_Type_Integer = 3 11 Const _System_Type_Word = 12 Const _System_Type_Long = 13 Const _System_Type_DWord = 14 Const _System_Type_Int64 = 15 Const _System_Type_QWord = 11 Const _System_Type_Word = 4 12 Const _System_Type_Long = 5 13 Const _System_Type_DWord = 6 14 Const _System_Type_Int64 = 7 15 Const _System_Type_QWord = 8 16 16 Const _System_Type_Single = 9 17 17 Const _System_Type_Double = 10 … … 64 64 End Macro 65 65 66 Macro WINDOW(ByRef hWnd As Long, hOwner As Long, x As Long, y As Long, nWidth As Long, nHeight As Long, lpTitle As String, dwStyle As DWord)(lpClass As String, id As DWord, lpFunc As DWord, dwExStyle As DWord)66 Macro WINDOW(ByRef hWnd As HWND, hOwner As HWND, x As Long, y As Long, nWidth As Long, nHeight As Long, lpTitle As String, dwStyle As DWord)(lpClass As String, id As HMENU, lpFunc As DWord, dwExStyle As DWord) 67 67 If VarPtr(hWnd) Then 68 68 hWnd=CreateWindowEx(dwExStyle,lpClass,lpTitle,dwStyle,x,y,nWidth,nHeight,hOwner,id,GetModuleHandle(0),NULL) … … 105 105 '-------------- 106 106 107 Dim _System_hFile(255) As Long107 Dim _System_hFile(255) As VoidPtr 108 108 Macro OPEN(lpFileName As String, AccessFor As Long, FileNumber As Long) 109 109 Dim dwAccess As Long … … 435 435 End Macro 436 436 Macro MKDIR(path As String) 437 CreateDirectory(path, ByVal 0)437 CreateDirectory(path, ByVal 0) 438 438 End Macro 439 439 Macro KILL(path As String) … … 443 443 444 444 #endif '_INC_COMMAND 445 -
Include/basic/prompt.sbp
r34 r89 519 519 'Circle (x, y), radius [, color] [, start] [, end] [, aspect] [, f] [, color2] 520 520 521 Dim hDC As Long522 Dim hPen As Long, hOldPen As Long523 Dim hBrush As Long, hOldBrush As Long521 Dim hDC As HDC 522 Dim hPen As HPEN, hOldPen As VoidPtr 523 Dim hBrush As HBRUSH, hOldBrush As VoidPtr 524 524 Dim radi2 As Long 525 525 Dim sw As Long … … 540 540 541 541 If Aspect<1 Then 542 radi2= CDbl(radius)*Aspect542 radi2=(CDbl(radius)*Aspect) As Long 543 543 Else 544 544 radi2=radius 545 radius= CDbl(radius)/Aspect545 radius=(CDbl(radius)/Aspect) As Long 546 546 End If 547 547 … … 649 649 End If 650 650 651 Dim hDC As Long652 Dim hPen As Long, hOldPen As Long653 Dim hBrush As Long, hOldBrush As Long651 Dim hDC As HDC 652 Dim hPen As HPEN, hOldPen As VoidPtr 653 Dim hBrush As HBRUSH, hOldBrush As VoidPtr 654 654 655 655 hDC=GetDC(_PromptSys_hWnd) … … 695 695 'PSet (x,y),ColorCode 696 696 697 Dim hDC As Long697 Dim hDC As HDC 698 698 699 699 hDC=GetDC(_PromptSys_hWnd) … … 710 710 'Paint (x,y),BrushColor,LineColor 711 711 712 Dim hDC As Long713 Dim hBrush As Long, hOldBrush As Long714 712 Dim hDC As HDC 713 Dim hBrush As HBRUSH, hOldBrush As VoidPtr 714 715 715 hBrush=CreateSolidBrush(GetBasicColor(BrushColor)) 716 716
Note:
See TracChangeset
for help on using the changeset viewer.