Smart Device Functions:
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.
// If you don't want to pass a rect, you can use this overload passing IntPtr.Zero.
Public Overloads Declare Function ValidateRect Lib "User32" (ByVal hWnd As IntPtr, ByRef lpRect As RECT) As Boolean
In the Win32 API, it is valid to specify a value of "NULL" to lpRect. Use IntPtr.Zero in C#. This will validate the entire rectangle.
Tips & Tricks:
You can specify the lpRect param as null if you define your function as you can see bellow:
Please add some!
Alternative Managed API:
Do you know one? Please contribute it!
The ValidateRect API
11/8/2011 10:02:15 AM - Dee-18.104.22.168
The RECT structure defines the coordinates of the upper-left and lower-right corners of a rectangle.
6/3/2013 11:41:04 PM - dahminator-22.214.171.124
An IntPtr is a pointer to a memory location (unmanaged) that adapts to the platform it is running on (64-bit, etc.) UNLIKE a standard int/Integer. You should always use this type for unmanaged calls that require it, even though an int will appear to work on your development machine.
1/13/2008 11:00:13 AM - tsahi-126.96.36.199
Please edit this page!
Do you have...