Delphi常用API関数


Delphi   API   

AdjustWindowRect         ,                   
AnyPopup                  
ArrangeIconicWindows                
AttachThreadInput          
BeginDeferWindowPos                 
BringWindowToTop                
CascadeWindows           
ChildWindowFromPoint                       

ClientToScreen                        
CloseWindow          
CopyRect        
DeferWindowPos                    
DestroyWindow                  
DrawAnimatedRects           
EnableWindow                      
EndDeferWindowPos     DeferWindowPos                
EnumChildWindows             

EnumThreadWindows              
EnumWindows               
EqualRect              
FindWindow                       
FindWindowEx                        
FlashWindow          
GetActiveWindow           
GetCapture          ,            ,       (        ) 
GetClassInfo   WNDCLASS  ( WNDCLASSEX  )     ,               

GetClassLong         Long     
GetClassName            
GetClassWord              
GetClientRect                
GetDesktopWindow              (    )   
GetFocus               
GetForegroundWindow           
GetLastActivePopup                           
GetLastError        api  ,             

GetParent            
GetTopWindow         ,                   
GetUpdateRect       ,                   
GetWindow          ,               
GetWindowContextHelpId                ID 
GetWindowLong               
GetWindowPlacement                
GetWindowRect            ,     、   、              

GetWindowText          (caption)  ,          
GetWindowTextLength                  
GetWindowWord             
InflateRect              
IntersectRect      lpDestRect       ,  lpSrc1Rect lpSrc2Rect       
InvalidateRect                   
IsChild                     

IsIconic            
IsRectEmpty            
IsWindow              
IsWindowEnabled              
IsWindowUnicode          Unicode  。                   Unicode   
IsWindowVisible          
IsZoomed           
LockWindowUpdate       ,      
MapWindowPoints                            

MoveWindow              
OffsetRect            ,          
OpenIcon           ,      
PtInRect                
RedrawWindow          
ReleaseCapture                
ScreenToClient                  
ScrollWindow                
ScrollWindowEx        ,             

SetActiveWindow         
SetCapture               
SetClassLong         Long     
SetClassWord            
SetFocusAPI             。    ,      
SetForegroundWindow              
SetParent           
SetRect           
SetRectEmpty            
SetWindowContextHelpId             (   )ID

SetWindowLong                  
SetWindowPlacement            
SetWindowPos               
SetWindowText                 
SetWindowWord                  
ShowOwnedPopups                      
ShowWindow          
ShowWindowAsync  ShowWindow   
SubtractRect     lprcDst,     lprcSrc1   lprcSrc2     

TileWindows           
UnionRect     lpDestRect    ,  lpSrc1Rect lpSrc2Rect        
UpdateWindow          
ValidateRect               
WindowFromPoint               。    、         

tsqgw (2002-03-14 14:48:00) 
ActivateKeyboardLayout           。                         
Beep           
CharToOem       ANSI      OEM    
ClipCursor            
ConvertDefaultLocale                    ID 
CreateCaret               (  ),                 
DestroyCaret   (  )      
EnumCalendarInfo      “  ”          

EnumDateFormats      “  ”       、      
EnumSystemCodePages                 
EnumSystemLocales               “  ”   
EnumTimeFormats                  
ExitWindowsEx   windows,            
ExpandEnvironmentStrings        
FreeEnvironmentStrings            
GetACP          ANSI   

GetAsyncKeyState                 
GetCaretBlinkTime              
GetCaretPos            
GetClipCursor       ,                   
GetCommandLine                   
GetComputerName            
GetCPInfo               
GetCurrencyFormat      “  ”  ,              
GetCursor               

GetCursorPos             
GetDateFormat      “  ”  ,             
GetDoubleClickTime                            
GetEnvironmentStrings                             
GetEnvironmentVariable            
GetInputState           (    )         
GetKBCodePage  GetOEMCP  ,        
GetKeyboardLayout       ,             

GetKeyboardLayoutList                    
GetKeyboardLayoutName               
GetKeyboardState                 
GetKeyboardType                 
GetKeyNameText           ,     
GetKeyState          ,          ,           
GetLastError        api  ,              
GetLocaleInfo      “  ”     

GetLocalTime           
GetNumberFormat      “  ”,              
GetOEMCP    OEM ANSI       windows    
GetQueueStatus              (    )      
GetSysColor     windows        
GetSystemDefaultLangID          ID 
GetSystemDefaultLCID          “  ”
GetSystemInfo               

GetSystemMetrics    windows        
GetSystemPowerStatus                  
GetSystemTime         ,        “      ”( UTC,   GMT)   
GetSystemTimeAdjustment                      
GetThreadLocale          ID 
GetTickCount      windows           (  ) 
GetTimeFormat        “  ”,               

GetTimeZoneInformation                
GetUserDefaultLangID            ID 
GetUserDefaultLCID          “  ”   
GetUserName           
GetVersion        Windows DOS   
GetVersionEx                   
HideCaret            (  ) 
IsValidCodePage            
IsValidLocale            

keybd_event             
LoadKeyboardLayout          
MapVirtualKey          ,              
MapVirtualKeyEx          ,              
MessageBeep         。                    
mouse_event          
OemKeyScan   OEM       ASCII       Shift    
OemToChar  OEM           ANSI   

SetCaretBlinkTime      (  )      
SetCaretPos          
SetComputerName          
SetCursor                
SetCursorPos         
SetDoubleClickTime                              
SetEnvironmentVariable              
SetKeyboardState                  
SetLocaleInfo     “  ”    

SetLocalTime          
SetSysColors               
SetSystemCursor              
SetSystemTime          
SetSystemTimeAdjustment                               
SetThreadLocale           
SetTimeZoneInformation          
ShowCaret             (  ) 
ShowCursor            
SwapMouseButton               

SystemParametersInfo           windows     
SystemTimeToTzSpecificLocalTime              
ToAscii              ,         ASCII   
ToUnicode              ,         Unicode  
UnloadKeyboardLayout           
VkKeyScan   Windows      ASCII  ,       Shift     
  

tsqgw (2002-03-14 14:50:00) 
AppendMenu                
CheckMenuItem                
CheckMenuRadioItem             “  ”   
CreateMenu       
CreatePopupMenu             
DeleteMenu           
DestroyMenu         
DrawMenuBar            
EnableMenuItem              
GetMenu              
GetMenuCheckMarkDimensions             

GetMenuContextHelpId            ID 
GetMenuDefaultItem                 
GetMenuItemCount        (   )    
GetMenuItemID                   ID 
GetMenuItemInfo   (  )              
GetMenuItemRect                       
GetMenuState                  
GetMenuString             
GetSubMenu             ,           

GetSystemMenu                
HiliteMenuItem                 
InsertMenu                  ,               
InsertMenuItem           
IsMenu                   
LoadMenu                      
LoadMenuIndirect        
MenuItemFromPoint                      
ModifyMenu       

RemoveMenu           
SetMenu        
SetMenuContextHelpId            ID
SetMenuDefaultItem               
SetMenuItemBitmaps         ,             ,         (√) 
SetMenuItemInfo                
TrackPopupMenu                   
TrackPopupMenuEx  TrackPopupMenu  ,           

 

                 
MENUITEMINFO                
TPMPARAMS       TrackPopupMenuEx           

tsqgw (2002-03-14 14:50:00) 
AbortPath                 。                    
AngleArc            
Arc       
BeginPath          
CancelDC                  
Chord      
CloseEnhMetaFile                 ,                
CloseFigure         ,          
CloseMetaFile              ,               

CopyEnhMetaFile                 (  ) 
CopyMetaFile     (  )          
CreateBrushIndirect    LOGBRUSH               
CreateDIBPatternBrush                  ,        (  ) 
CreateEnhMetaFile                  
CreateHatchBrush               
CreateMetaFile             
CreatePatternBrush                    

CreatePen       、            
CreatePenIndirect      LOGPEN         
CreateSolidBrush           
DeleteEnhMetaFile              
DeleteMetaFile           
DeleteObject   GDI  ,                 
DrawEdge                 
DrawEscape   (Escape)                  
DrawFocusRect        

DrawFrameControl          
DrawState                     
Ellipse       ,         
EndPath          
EnumEnhMetaFile            ,              
EnumMetaFile       windows               
EnumObjects                     
ExtCreatePen         (     ) 
ExtFloodFill          ,              

FillPath             ,         
FillRect              
FlattenPath                   
FloodFill                         
FrameRect                   
GdiComment                         
GdiFlush             
GdiGetBatchLimit       GDI          
GdiSetBatchLimit       GDI          

GetArcDirection       ,            
GetBkColor                 
GetBkMode          ,            
GetBrushOrgEx                  
GetCurrentObject               
GetCurrentPositionEx                    
GetEnhMetaFile                            
GetEnhMetaFileBits                       

GetEnhMetaFileDescription                 
GetEnhMetaFileHeader                 
GetEnhMetaFilePaletteEntries                    
GetMetaFile                          
GetMetaFileBitsEx                    
GetMiterLimit            (Miter)   
GetNearestColor          ,               

GetObjectAPI                  
GetObjectType           GDI      
GetPath                   
GetPixel                 RGB  
GetPolyFillMode          ,         
GetROP2          ,          
GetStockObject         (Stock) 
GetSysColorBrush                  

GetWinMetaFileBits                       ,               windows     
InvertRect           ,                 
LineDDA             
LineTo          ,