flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
Roman 22 Jul 2022, 05:45
And how check window have HWND_TOPMOST or HWND_NOTOPMOST ?
|
|||
![]() |
|
macomics 22 Jul 2022, 05:50
Use HWND_TOP or call SetForegroundWindow
Last edited by macomics on 22 Jul 2022, 05:53; edited 1 time in total |
|||
![]() |
|
Roman 22 Jul 2022, 05:53
HWND_TOP too overlaps all windows !
|
|||
![]() |
|
revolution 22 Jul 2022, 05:57
You don't want TOPMOST. You want the normal setfocus.
|
|||
![]() |
|
macomics 22 Jul 2022, 06:05
But! HWND_TOPMOST there is a difference between HWND_TOP. Check it out.
|
|||
![]() |
|
Roman 22 Jul 2022, 06:06
Yes. I know this
HWND_TOP = 0 HWND_TOPMOST = -1 |
|||
![]() |
|
macomics 22 Jul 2022, 06:08
I didn't mean the values of constants, but their action
SetWindowPos Last edited by macomics on 22 Jul 2022, 06:10; edited 1 time in total |
|||
![]() |
|
Roman 22 Jul 2022, 06:10
i found GetWindowInfo,[hwnd],ptr_tagWINDOWINFO
typedef struct tagWINDOWINFO { DWORD cbSize; RECT rcWindow; RECT rcClient; DWORD dwStyle; DWORD dwExStyle; DWORD dwWindowStatus; //WS_ACTIVECAPTION UINT cxWindowBorders; UINT cyWindowBorders; ATOM atomWindowType; WORD wCreatorVersion; } The window status. If this member is WS_ACTIVECAPTION (0x0001), the window is active. Otherwise, this member is zero. |
|||
![]() |
|
macomics 22 Jul 2022, 06:15
|
|||
![]() |
|
Furs 23 Jul 2022, 16:02
Roman wrote: And how check window have HWND_TOPMOST or HWND_NOTOPMOST ? |
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.