mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-27 15:25:07 +02:00
wince: added IsWindow()
git-svn-id: trunk@24285 -
This commit is contained in:
parent
f8cb0875ea
commit
53edb14849
@ -2145,6 +2145,16 @@ begin
|
||||
Result := Windows.IntersectClipRect(DC, Left, Top, Right, Bottom);
|
||||
end;
|
||||
|
||||
{------------------------------------------------------------------------------
|
||||
Method: IsWindow
|
||||
Params: handle - window handle
|
||||
Returns: true if handle is window , false otherwise
|
||||
------------------------------------------------------------------------------}
|
||||
function TWinCEWidgetSet.IsWindow(handle: HWND): boolean; override;
|
||||
begin
|
||||
Result := Boolean(Windows.IsWindow(handle));
|
||||
end;
|
||||
|
||||
{------------------------------------------------------------------------------
|
||||
Method: IsWindowEnabled
|
||||
Params: handle - window handle
|
||||
|
@ -153,6 +153,7 @@ function HideCaret(hWnd: HWND): Boolean; override;
|
||||
procedure InitializeCriticalSection(var CritSection: TCriticalSection); override;
|
||||
function IntersectClipRect(dc: hdc; Left, Top, Right, Bottom: Integer): Integer; override;
|
||||
function InvalidateRect(aHandle : HWND; Rect : pRect; bErase : Boolean) : Boolean; override;
|
||||
function IsWindow(handle: HWND): boolean; override;
|
||||
function IsWindowEnabled(handle: HWND): boolean; override;
|
||||
function IsWindowVisible(handle: HWND): boolean; override;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user