added IsWindowVisible

git-svn-id: trunk@2189 -
This commit is contained in:
mattias 2002-08-17 23:41:06 +00:00
parent 37cddc2821
commit e717242eba

View File

@ -4969,6 +4969,15 @@ begin
{$EndIf}
end;
{------------------------------------------------------------------------------
function TgtkObject.IsWindowVisible(handle: HWND): boolean;
------------------------------------------------------------------------------}
function TgtkObject.IsWindowVisible(handle: HWND): boolean;
begin
Result:=(handle<>0) and GTK_WIDGET_VISIBLE(PGtkWidget(handle));
end;
{------------------------------------------------------------------------------
Function: LineTo
Params: none
@ -7921,6 +7930,9 @@ end;
{ =============================================================================
$Log$
Revision 1.218 2003/03/17 08:51:09 mattias
added IsWindowVisible
Revision 1.217 2003/03/16 09:41:06 mattias
fixed checking menuitems