English
Source / code snippets

Always Window always Verify visible Topmost

 
Author: Andreas Hötker (---.dip.t-dialin.net)
date: 11.12.05 17:45

whether one Window Topmost is, certainly the erweiterte Fensterstil - and the can itself with GetWindowLong inquire. here must examined go, whether the erweiterte Style whom Flag $8 (WS_EX_TOPMOST) contains.
? Happen? can with the Operator | Verify.
| (OR) add quasi to a number a Flag, does this but only, if this No is.
DEF @GetWindowLong(2) !"USER32","GetWindowLongA"
Windowstyle 31
Windowtitle "Nicht Topmost"
Window 0,0-640,440
Declare Style&
Let Style&=@GetWindowLong(%HWND,$FFFFFFEC)

If Style& | $8 = Style&

    Print "Hauptfenster is Topmost"

else

    Print "Hauptfenster isn't Topmost"

endif

Waitinput
SetWindowPos %HWND=0,0-640,440;-1
Let Style&=@GetWindowLong(%HWND,$FFFFFFEC)

If Style& | $8 = Style&

    Print "Hauptfenster is Topmost"

else

    Print "Hauptfenster isn't Topmost"

endif

While 0=0

    Waitinput

wend


Greeting

Andreas
 
12/11/05  
 



you are faster as the lightning...
 
12/11/05  
 



Zum Quelltext


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

7.074 Views

Untitledvor 0 min.
Sven Bader08/11/23
AndreasS12/08/18
Andre Rohland05/11/13
maxpayne200102/23/13
More...

Themeninformationen

this Topic has 2 subscriber:

unbekannt (1x)
iF (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