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 Structures, prefix the name with the module name and a period.
rect (Structures)
.
C# Signature:
/// <summary>Rectangle Structure</summary>
[StructLayout(LayoutKind.Sequential)]
public struct RECT
{
public int left;
public int top;
public int right;
public int bottom;
public RECT(int left, int top, int right, int bottom)
{
this.left = left;
this.top = top;
this.right = right;
this.bottom = bottom;
}
#region Operator overloads: Cast To And From System.Drawing.Rectangle
/// <summary>Implicitly casts a RECT to a <see cref="Rectangle"/>.</summary>
/// <param name="r">The <c>RECT</c> instance to cast to a <c>Rectangle</c>
/// instance.</param>
/// <returns>A new <c>Rectangle</c> structure.</returns>
public static implicit operator Rectangle( RECT r )
{
return new Rectangle(r.left, r.top, r.right, r.bottom);
}
/// <summary>Implicitly casts a <see cref="Rectangle"/> to a <c>RECT</c>.</summary>
/// <param name="r">The <c>Rectangle</c> instance to cast to a <c>RECT</c>
/// instance.</param>
/// <returns>A new <c>RECT</c> structure.</returns>
public static implicit operator RECT( Rectangle r )
{
return new RECT(r.Left, r.Top, r.Right, r.Bottom);
}
ByVal is a VB keyword that specifies a variable to be passed as a parameter BY VALUE. In other words, if the function or sub changes the value of the internal variable, it does not change the value of the external variable that was passed to it.
4/25/2007 3:19:55 AM - josep1er@cmich.edu-141.209.229.179
Please edit this page!
Do you have...
helpful tips?
corrections to the existing content?
alternate definitions?
additional languages you want to include?
Select "Edit This Page" on the right hand toolbar and edit it! Or add new pages containing any supporting types needed.