Restored from previous forum. Originally posted by NIN.
I want to see if a window is the current/activated window. How do I do this? The code below always returns a '0'. What are all the variables in a windowplacement structure?
hwnd=OpenWindow(0,20,20,200,200,0,"WINDOW")
win.windowplacement
GetWindowPlacement_(hwnd,win)
s$=Str(win\flags)
MessageRequester("",s$,0)
Thanks.
Getting the window activation state with GetWindow
-
- PureBasic Guru
- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
-
- PureBasic Guru
- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
-
- PureBasic Guru
- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm