Re: Control Left property
From: Max (Please.Answer_at_news.group)
Date: 03/03/04
- Next message: Benzi Eilon: "Can't make a ContextMenu of a mirrored TreeView right aligned"
- Previous message: Max: "When DataGridColumnStyle.Abort and DataGridColumnStyle.Commit is called?"
- In reply to: SteveB: "Control Left property"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 3 Mar 2004 10:50:17 +0200
One of the System.Drawing.Point constructors is
public Point(
int dw
)
where
dw
A 32-bit integer that specifies the coordinates for the new Point.
Remarks
The low-order 16 bits of dw specify the horizontal x-coordinate and the
higher 16 bits specify the vertical y-coordinate for the new Point.
(quoted from the documentation).
Thus, point might be stored as a single integer, not as a pair of integers.
It is just a version. I do not have source codes and do not know exactly how
is it implemented.
"SteveB" <anonymous@discussions.microsoft.com> wrote in message
news:2E0478CC-41BA-44C7-9144-385A7D6A2549@microsoft.com...
> hi:
> the Left property is an Int type (supposed to be 32 bit ), yet for some
reason it's acting as an 16 bit integer, i.e., i cannot assign a number
larger than 32767.
> is this caused by some compile/link option that i am unaware of?
- Next message: Benzi Eilon: "Can't make a ContextMenu of a mirrored TreeView right aligned"
- Previous message: Max: "When DataGridColumnStyle.Abort and DataGridColumnStyle.Commit is called?"
- In reply to: SteveB: "Control Left property"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|