Advertisement
C_Volume2 Windows API Call/ Explanation #71025

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

AI 요약: 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.

소스 코드
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
원본 댓글 (3)
Wayback Machine에서 복구됨