Re: DPtoLP func
On Thu, 2 Sep 1999 23:28:33 +0200, Flaminio <newpow at TIN.IT> wrote:
>@
> about the other e-mail
> in rect i getclientrect using structure called rect i get
> rect so filled 0,0,80,116
> but if i use dptolp function c_func(DPtoLP, {hdc, rect, 2})
> after that command, rect contains the SAME values like before
> using the function
I think the reason that you get the same values is that getclientrect
returns the logical points in relation to the top left corner of client
area. The top left corner will always be 0,0 and the bottom right corner
will be the maximum size ( 80, 116 ) of your client area. As this
value is already in logical points DPtoLP will return the same value.
I do not understand what you are trying to accomplish, maybe you want to
look at clienttoscreen function or some other function.
Bernie
|
Not Categorized, Please Help
|
|