Changeset 89 for Include


Ignore:
Timestamp:
Feb 11, 2007, 11:53:12 PM (18 years ago)
Author:
イグトランス (egtra)
Message:

型関連の修正 by konisi

Location:
Include/basic
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • Include/basic/command.sbp

    r21 r89  
    66
    77
    8 Const _System_Type_Char =   1
    9 Const _System_Type_Byte =   2
     8Const _System_Type_Char = 1
     9Const _System_Type_Byte = 2
    1010Const _System_Type_Integer = 3
    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
     11Const _System_Type_Word = 4
     12Const _System_Type_Long = 5
     13Const _System_Type_DWord = 6
     14Const _System_Type_Int64 = 7
     15Const _System_Type_QWord = 8
    1616Const _System_Type_Single = 9
    1717Const _System_Type_Double = 10
     
    6464End Macro
    6565
    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)
     66Macro 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)
    6767    If VarPtr(hWnd) Then
    6868        hWnd=CreateWindowEx(dwExStyle,lpClass,lpTitle,dwStyle,x,y,nWidth,nHeight,hOwner,id,GetModuleHandle(0),NULL)
     
    105105'--------------
    106106
    107 Dim _System_hFile(255) As Long
     107Dim _System_hFile(255) As VoidPtr
    108108Macro OPEN(lpFileName As String, AccessFor As Long, FileNumber As Long)
    109109    Dim dwAccess As Long
     
    435435End Macro
    436436Macro MKDIR(path As String)
    437     CreateDirectory(path,ByVal 0)
     437    CreateDirectory(path, ByVal 0)
    438438End Macro
    439439Macro KILL(path As String)
     
    443443
    444444#endif '_INC_COMMAND
    445 
  • Include/basic/prompt.sbp

    r34 r89  
    519519    'Circle (x, y), radius [, color] [, start] [, end] [, aspect] [, f] [, color2]
    520520
    521     Dim hDC As Long
    522     Dim hPen As Long, hOldPen As Long
    523     Dim hBrush As Long, hOldBrush As Long
     521    Dim hDC As HDC
     522    Dim hPen As HPEN, hOldPen As VoidPtr
     523    Dim hBrush As HBRUSH, hOldBrush As VoidPtr
    524524    Dim radi2 As Long
    525525    Dim sw As Long
     
    540540
    541541    If Aspect<1 Then
    542         radi2=CDbl(radius)*Aspect
     542        radi2=(CDbl(radius)*Aspect) As Long
    543543    Else
    544544        radi2=radius
    545         radius=CDbl(radius)/Aspect
     545        radius=(CDbl(radius)/Aspect) As Long
    546546    End If
    547547
     
    649649    End If
    650650
    651     Dim hDC As Long
    652     Dim hPen As Long, hOldPen As Long
    653     Dim hBrush As Long, hOldBrush As Long
     651    Dim hDC As HDC
     652    Dim hPen As HPEN, hOldPen As VoidPtr
     653    Dim hBrush As HBRUSH, hOldBrush As VoidPtr
    654654
    655655    hDC=GetDC(_PromptSys_hWnd)
     
    695695    'PSet (x,y),ColorCode
    696696
    697     Dim hDC As Long
     697    Dim hDC As HDC
    698698
    699699    hDC=GetDC(_PromptSys_hWnd)
     
    710710    'Paint (x,y),BrushColor,LineColor
    711711
    712     Dim hDC As Long
    713     Dim hBrush As Long, hOldBrush As Long
    714 
     712    Dim hDC As HDC
     713    Dim hBrush As HBRUSH, hOldBrush As VoidPtr
     714   
    715715    hBrush=CreateSolidBrush(GetBasicColor(BrushColor))
    716716
Note: See TracChangeset for help on using the changeset viewer.