Advertisement
3_2004-2005 Windows API Call/ Explanation #135260

IsWindowTopmost - Function

I recently had a need for this and I haven't seen anything else like it on here. I adapted this from Delphi. http://www.swissdelphicenter.ch/torry/showcode.php?id=1073

AI

Resumo por IA: This codebase represents a historical implementation of the logic described in the metadata. Our preservation engine analyzes the structure to provide context for modern developers.

Código fonte
original-source
Public Const GWL_EXSTYLE = (-20)
Public Const WS_EX_TOPMOST As Long = &H8
Public Function IsWindowTopmost(ByVal hWnd As Long) As Boolean
If (GetWindowLong(hWnd, GWL_EXSTYLE) And WS_EX_TOPMOST) <> 0 Then
 IsWindowTopmost = True
End If
End Function
Comentários originais (3)
Recuperado do Wayback Machine