OK I want to use this user32.dll procedure. I know how to add it to a .decls file and how to call it BUT how can I make a WINDOWPLACEMENT struct and pass a pointer to the procedure? Should I use a bank? Anyone help please...
btw this is all so that I can use a Windows Window handle to find out if a window is minimized because the Blitz commands don't work with windows handles.
Thanks
BOOL GetWindowPlacement( HWND hWnd, // handle of window WINDOWPLACEMENT * lpwndpl // address of structure for position data );
typedef struct _WINDOWPLACEMENT { // wndpl UINT length; UINT flags; UINT showCmd; POINT ptMinPosition; POINT ptMaxPosition; RECT rcNormalPosition; } WINDOWPLACEMENT;
btw this is all so that I can use a Windows Window handle to find out if a window is minimized because the Blitz commands don't work with windows handles.
Thanks