40
39
function BeginPaint(Handle: hWnd; Var PS : TPaintStruct) : hdc; override;
41
40
function BitBlt(DestDC: HDC; X, Y, Width, Height: Integer; SrcDC: HDC; XSrc, YSrc: Integer; Rop: DWORD): Boolean; override;
43
function CallNextHookEx(hHk: HHOOK; ncode : Integer; wParam: WParam; lParam : LParam) : Integer; override;
44
function CallWindowProc(lpPrevWndFunc : TFarProc; Handle : HWND; Msg : UINT; wParam: WParam; lParam : lParam) : Integer; override;
42
function CallNextHookEx({%H-}hHk: HHOOK; {%H-}ncode : Integer; {%H-}wParam: WParam; {%H-}lParam : LParam) : Integer; override;
43
function CallWindowProc({%H-}lpPrevWndFunc : TFarProc; Handle : HWND; Msg : UINT; wParam: WParam; lParam : lParam) : Integer; override;
45
44
function ClientToScreen(Handle : HWND; var P : TPoint) : Boolean;override;
61
60
function CreateBrushIndirect(const LogBrush: TLogBrush): HBRUSH; override;
62
61
function CreateCaret(Handle : HWND; Bitmap : hBitmap; width, Height : Integer) : Boolean; override;
63
62
function CreateCompatibleBitmap(DC: HDC; Width, Height: Integer): HBITMAP; override;
64
function CreateCompatibleDC(DC: HDC): HDC; override;
63
function CreateCompatibleDC({%H-}DC: HDC): HDC; override;
64
function CreateEllipticRgn(X1, Y1, X2, Y2: Integer): HRGN; override;
65
65
function CreateFontIndirect(const LogFont: TLogFont): HFONT; override;
66
66
function CreateFontIndirectEx(const LogFont: TLogFont; const LongFontName: string): HFONT; override;
67
67
function CreateIconIndirect(IconInfo: PIconInfo): HICON; override;
69
69
function CreatePenIndirect(const LogPen: TLogPen): HPEN; override;
70
70
function CreatePolygonRgn(Points: PPoint; NumPts: Integer; FillMode: integer): HRGN; override;
71
71
function CreateRectRgn(X1,Y1,X2,Y2 : Integer): HRGN; override;
72
function CreateRoundRectRgn(X1, Y1, X2, Y2, nWidthEllipse, nHeightEllipse: Integer): HRGN; override;
73
74
procedure DeleteCriticalSection(var CritSection: TCriticalSection); override;
74
75
function DeleteDC(hDC: HDC): Boolean; override;
83
84
function DrawText(DC: HDC; Str: PChar; Count: Integer; var Rect: TRect; Flags: Cardinal): Integer; override;
85
86
function Ellipse(DC: HDC; x1,y1,x2,y2: Integer): Boolean; override;
86
function EnableScrollBar(Wnd: HWND; wSBflags, wArrows: Cardinal): Boolean; override;
87
function EnableScrollBar({%H-}Wnd: HWND; {%H-}wSBflags, {%H-}wArrows: Cardinal): Boolean; override;
87
88
function EnableWindow(hWnd: HWND; bEnable: Boolean): Boolean; override;
88
89
function EndPaint(Handle : hwnd; var PS : TPaintStruct): Integer; override;
89
90
procedure EnterCriticalSection(var CritSection: TCriticalSection); override;
90
function EnumDisplayMonitors(hdc: HDC; lprcClip: PRect; lpfnEnum: MonitorEnumProc; dwData: LPARAM): LongBool; override;
91
function EnumDisplayMonitors({%H-}hdc: HDC; {%H-}lprcClip: PRect; lpfnEnum: MonitorEnumProc; dwData: LPARAM): LongBool; override;
92
{$IFDEF GTK2OLDENUMFONTFAMILIES}
91
93
function EnumFontFamilies(DC: HDC; Family: Pchar; EnumFontFamProc: FontEnumProc; LParam:Lparam):longint; override;
92
function EnumFontFamiliesEx(DC: HDC; lpLogFont: PLogFont; Callback: FontEnumExProc; Lparam: LParam; Flags: dword): longint; override;
95
function EnumFontFamiliesEx({%H-}DC: HDC; lpLogFont: PLogFont; Callback: FontEnumExProc; Lparam: LParam; {%H-}Flags: dword): longint; override;
93
96
function ExcludeClipRect(dc: hdc; Left, Top, Right, Bottom : Integer) : Integer; override;
94
97
function ExtCreatePen(dwPenStyle, dwWidth: DWord; const lplb: TLogBrush; dwStyleCount: DWord; lpStyle: PDWord): HPEN; override;
95
98
function ExtSelectClipRGN(dc: hdc; rgn : hrgn; Mode : Longint) : Integer; override;
96
99
function ExtTextOut(DC: HDC; X, Y: Integer; Options: Longint; Rect: PRect; Str: PChar; Count: Longint; Dx: PInteger): Boolean; override;
98
101
function FillRect(DC: HDC; const Rect: TRect; Brush: HBRUSH): Boolean; override;
99
function Frame(DC: HDC; const ARect: TRect): Integer; override;
100
102
function Frame3d(DC: HDC; var ARect: TRect; const FrameWidth : integer; const Style : TBevelCut): Boolean; override;
101
103
function FrameRect(DC: HDC; const ARect: TRect; hBr: HBRUSH): Integer; override;
108
110
function GetCapture: HWND; override;
109
111
function GetCaretPos(var lpPoint: TPoint): Boolean; override;
110
112
function GetCaretRespondToFocus(handle: HWND; var ShowHideOnFocus: boolean): Boolean; override;
111
function GetCharABCWidths(DC: HDC; p2, p3: UINT; const ABCStructs): Boolean; override;
113
function GetCharABCWidths({%H-}DC: HDC; {%H-}p2, {%H-}p3: UINT; const {%H-}ABCStructs): Boolean; override;
112
114
function GetClientBounds(handle : HWND; var ARect : TRect) : Boolean; override;
113
115
function GetClientRect(handle : HWND; var ARect : TRect) : Boolean; override;
114
116
function GetClipBox(DC : hDC; lpRect : PRect) : Longint; override;
141
143
function GetSysColorBrush(nIndex: Integer): HBrush; override;
142
144
function GetSystemMetrics(nIndex: Integer): Integer; override;
143
145
function GetTextColor(DC: HDC) : TColorRef; override;
144
function GetTextExtentExPoint(DC: HDC; Str: PChar; Count, MaxWidth: Integer; MaxCount, PartialWidths: PInteger; var Size: TSize): Boolean; override;
145
146
function GetTextExtentPoint(DC: HDC; Str: PChar; Count: Integer; var Size: TSize): Boolean; override;
146
147
function GetTextMetrics(DC: HDC; var TM: TTextMetric): Boolean; override;
147
148
function GetViewPortExtEx(DC: HDC; Size: PSize): Integer; override;
152
153
function GetWindowRect(Handle : hwnd; var ARect: TRect): Integer; override;
153
154
function GetWindowRelativePosition(Handle : hwnd; var Left, Top: integer): boolean; override;
154
155
function GetWindowSize(Handle : hwnd; var Width, Height: integer): boolean; override;
155
function GradientFill(DC: HDC; Vertices: PTriVertex; NumVertices : Longint;
156
Meshes: Pointer; NumMeshes : Longint; Mode : Longint): Boolean; override;
158
157
procedure InitializeCriticalSection(var CritSection: TCriticalSection); override;
159
function IntersectClipRect(dc: hdc; Left, Top, Right, Bottom: Integer): Integer; override;
160
158
function InvalidateRect(aHandle : HWND; Rect : pRect; bErase : Boolean) : Boolean; override;
161
159
function IsIconic(handle: HWND): boolean; override;
162
160
function IsWindow(handle: HWND): boolean; override;
168
166
function LineTo(DC: HDC; X, Y: Integer): Boolean; override;
169
167
function LPtoDP(DC: HDC; var Points; Count: Integer): BOOL; override;
171
function MessageBox(hWnd: HWND; lpText, lpCaption: PChar; uType: Cardinal): integer; override;
169
function MessageBox({%H-}hWnd: HWND; lpText, lpCaption: PChar; uType: Cardinal): integer; override;
172
170
function MoveToEx(DC: HDC; X, Y: Integer; OldPoint: PPoint): Boolean; override;
173
function MoveWindowOrgEx(DC: HDC; dX, dY: Integer): Boolean; override;
175
function PeekMessage(var lpMsg : TMsg; Handle : HWND; wMsgFilterMin, wMsgFilterMax,wRemoveMsg : UINT): Boolean; override;
172
function OffsetRgn(RGN: HRGN; nXOffset, nYOffset: Integer): Integer; override;
174
function PeekMessage(var lpMsg : TMsg; {%H-}Handle : HWND; {%H-}wMsgFilterMin, {%H-}wMsgFilterMax,wRemoveMsg : UINT): Boolean; override;
176
175
function PolyBezier(DC: HDC; Points: PPoint; NumPts: Integer; Filled, Continuous: boolean): boolean; override;
177
176
function Polygon(DC: HDC; Points: PPoint; NumPts: Integer; Winding: boolean): boolean; override;
178
177
function Polyline(DC: HDC; Points: PPoint; NumPts: Integer): boolean; override;
185
184
function RectVisible(dc : hdc; const ARect: TRect) : Boolean; override;
186
185
function RegroupMenuItem(hndMenu: HMENU; GroupIndex: integer): Boolean; override;
187
186
function ReleaseCapture : Boolean; override;
188
function ReleaseDC(hWnd: HWND; DC: HDC): Integer; override;
187
function ReleaseDC({%H-}hWnd: HWND; DC: HDC): Integer; override;
189
188
function RemoveProp(Handle: hwnd; Str: PChar): THandle; override;
190
189
function RestoreDC(DC: HDC; SavedDC: Integer): Boolean; override;
191
190
function RoundRect(DC : hDC; X1, Y1, X2, Y2: Integer; RX,RY : Integer): Boolean; override;
193
192
function SaveDC(DC: HDC): Integer; override;
194
193
function ScreenToClient(Handle : HWND; var P : TPoint) : Integer; override;
195
function ScrollWindowEx(hWnd: HWND; dx, dy: Integer; prcScroll, prcClip: PRect; hrgnUpdate: HRGN; prcUpdate: PRect; flags: UINT): Boolean; override;
196
function SelectClipRGN(DC : hDC; RGN : HRGN) : Longint; override;
194
function ScrollWindowEx(hWnd: HWND; dx, dy: Integer; prcScroll, prcClip: PRect; {%H-}hrgnUpdate: HRGN; prcUpdate: PRect; flags: UINT): Boolean; override;
195
function SelectClipRGN(DC: hDC; RGN: HRGN): Longint; override;
197
196
function SelectObject(DC: HDC; GDIObj: HGDIOBJ): HGDIOBJ; override;
198
function SelectPalette(DC: HDC; Palette: HPALETTE; ForceBackground: Boolean): HPALETTE; override;
197
function SelectPalette({%H-}DC: HDC; {%H-}Palette: HPALETTE; {%H-}ForceBackground: Boolean): HPALETTE; override;
199
198
function SendMessage(HandleWnd: HWND; Msg: Cardinal; wParam: WParam; lParam: LParam): LResult; override;
200
199
function SetActiveWindow(Handle: HWND): HWND; override;
201
200
function SetBkColor(DC: HDC; Color: TColorRef): TColorRef; override;
214
213
function SetROP2(DC: HDC; Mode: Integer): Integer; override;
215
214
function SetScrollInfo(Handle : HWND; SBStyle : Integer; ScrollInfo: TScrollInfo; bRedraw : Boolean): Integer; override;
216
215
function SetSysColors(cElements: Integer; const lpaElements; const lpaRgbValues): Boolean; override;
217
function SetTextCharacterExtra(DC : hdc; nCharExtra : Integer):Integer; override;
216
function SetTextCharacterExtra({%H-}DC : hdc; {%H-}nCharExtra : Integer):Integer; override;
218
217
function SetTextColor(DC: HDC; Color: TColorRef): TColorRef; override;
219
218
function SetViewPortExtEx(DC: HDC; XExtent, YExtent : Integer; OldSize: PSize): Boolean; override;
220
219
function SetViewPortOrgEx(DC: HDC; NewX, NewY: Integer; OldPoint: PPoint): Boolean; override;
229
228
function ShowWindow(hWnd: HWND; nCmdShow: Integer): Boolean; override;
230
229
function StretchBlt(DestDC: HDC; X, Y, Width, Height: Integer; SrcDC: HDC; XSrc, YSrc, SrcWidth, SrcHeight: Integer; ROp: Cardinal): Boolean; override;
231
230
function StretchMaskBlt(DestDC: HDC; X, Y, Width, Height: Integer; SrcDC: HDC; XSrc, YSrc, SrcWidth, SrcHeight: Integer; Mask: HBITMAP; XMask, YMask: Integer; Rop: DWORD): Boolean; override;
231
function SystemParametersInfo(uiAction: DWord; {%H-}uiParam: DWord; pvParam: Pointer; {%H-}fWinIni: DWord): LongBool; override;
233
233
function TextOut(DC: HDC; X,Y : Integer; Str : Pchar; Count: Integer) : Boolean; override;