Jump to content

WinSetDesktopWorkArea: Difference between revisions

From EDM2
Created page with "==Syntax== retVal = WinSetDesktopWorkArea(HWND_DESKTOP,&rectlDesktop); ==Parameters== ; HWND hwndDesktop (input) : Handle to desktop window. ; PWRECT pwrcWorkArea..."
 
Ak120 (talk | contribs)
mNo edit summary
 
Line 1: Line 1:
==Syntax==
==Syntax==
        retVal = WinSetDesktopWorkArea(HWND_DESKTOP,&rectlDesktop);
WinSetDesktopWorkArea(HWND_DESKTOP, &rectlDesktop)


==Parameters==
===Parameters===
; HWND hwndDesktop (input) : Handle to desktop window.  
;[[HWND]] hwndDesktop (input): Handle to desktop window.
;PWRECT pwrcWorkArea (input) : Pointer to the bounding rectangle. The value must be in the range of -32,767 through 32,767.


; PWRECT pwrcWorkArea (input) : Pointer to the bounding rectangle. The value must be in the range of -32,767 through 32,767.
===Returns===
 
; BOOL retVal : Returns Success indicator.
==Returns==
* TRUE Desktop work area set.
; BOOL retVal : Returns Success indicator.  
* FALSE Desktop work area not set.
* TRUE Desktop work area set.  
* FALSE Desktop work area not set.  


==Include Info==  
==Include Info==  
        #include <os2.h>    
#include <os2.h>
 


[[Category:Win]]
[[Category:Win]]

Latest revision as of 22:27, 29 July 2017

Syntax

WinSetDesktopWorkArea(HWND_DESKTOP, &rectlDesktop)

Parameters

HWND hwndDesktop (input)
Handle to desktop window.
PWRECT pwrcWorkArea (input)
Pointer to the bounding rectangle. The value must be in the range of -32,767 through 32,767.

Returns

BOOL retVal
Returns Success indicator.
  • TRUE Desktop work area set.
  • FALSE Desktop work area not set.

Include Info

#include <os2.h>