Type a page name and press Enter. You'll jump to the page if it exists, or you can create it if it doesn't.
To create a page in a module other than user32, prefix the name with the module name and a period.
GetWindowPos (user32)
.
C# Signature:
[DllImport("user32.dll", SetLastError=true)]
static extern TODO GetWindowPos(TODO);
VB Signature:
Declare Function GetWindowPos Lib "user32.dll" (TODO) As TODO
User-Defined Types:
None.
Alternative Managed API:
Do you know one? Please contribute it!
Notes:
Deprecated:
Use GetWindowRect Win32 method for position information.
Use GetWindowPlacement Win32 method for a more detailed set of info such as Z-Order.
None.
Tips & Tricks:
Please add some!
asdasdasdasdad
Sample Code:
Please add some!
GetWindowPos is an old Win32 method, you should use GetWindowRect or GetWindowPlacement
2/11/2011 1:33:39 PM - -212.152.161.92
The GetWindowRect API
6/15/2020 2:32:39 PM - -24.158.188.135
The GetWindowPlacement API
2/11/2021 7:16:17 PM - -73.47.171.17
The GetWindowRect API
6/15/2020 2:32:39 PM - -24.158.188.135
The GetWindowPlacement API
2/11/2021 7:16:17 PM - -73.47.171.17
Please edit this page!
Do you have...
helpful tips or sample code to share for using this API in managed code?
corrections to the existing content?
variations of the signature you want to share?
additional languages you want to include?
Select "Edit This Page" on the right hand toolbar and edit it! Or add new pages containing supporting types needed for this API (structures, delegates, and more).