English
Regulars table & Café

IsWindowVisible.

 


Description:

IsWindowVisible checks whether a Window in the moment visible is. thereby checks The function the existence the Stils WS_VISIBLE.




Deklaration:

DEF @IsWindowVisible(1) !USER32,IsWindowVisible




Parameter:

1.Parameter: lever the Fensters as LongInt.



Return Value:

0 for invisible, 1 for visible.


Examples:

CompileMarkSeparation
DEF @IsWindowVisible(1) !"USER32","IsWindowVisible"
Windowstyle 31
Windowtitle "Ist das Fenster sichtbar?"
Window 0,0-640,440
Declare Dialog&,Visibility&,RANDO&
Windowstyle 16
Let Dialog&=@Createwindow(%HWND,"Weg oder da?",100,100,300,300)

While 0=0

    Sleep 50
    LET RANDO&=@RND(500)

    IF @and(RANDO&>=400,RANDO&<=402)

        @Showwindow(Dialog&,RANDO&-400)

    endif

    Windowstyle 16
    LET Visibility&=@IsWindowVisible(Dialog&)

    IF Visibility&=0

        Drawtext 0,0,"Unsichtbar                 "

    ElseIf Visibility&=1

        Drawtext 0,0,"Sichtbar                     "

    endif

Wend


[keywords:e75f1a86a7]
Window visible invisible cache WS_VISIBLE
[/keywords:e75f1a86a7]
 
04/24/05  
 



Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

1.336 Views

Untitledvor 0 min.

Themeninformationen

this Topic has 1 subscriber:

unbekannt (1x)


Admins  |  AGB  |  Applications  |  Authors  |  Chat  |  Privacy Policy  |  Download  |  Entrance  |  Help  |  Merchantportal  |  Imprint  |  Mart  |  Interfaces  |  SDK  |  Services  |  Games  |  Search  |  Support

One proposition all XProfan, The there's!


My XProfan
Private Messages
Own Storage Forum
Topics-Remember-List
Own Posts
Own Topics
Clipboard
Log off
 Deutsch English Français Español Italia
Translations

Privacy Policy


we use Cookies only as Session-Cookies because of the technical necessity and with us there no Cookies of Drittanbietern.

If you here on our Website click or navigate, stimmst You ours registration of Information in our Cookies on XProfan.Net To.

further Information To our Cookies and moreover, How You The control above keep, find You in ours nachfolgenden Datenschutzerklärung.


all rightDatenschutzerklärung
i want none Cookie