Re: is this group not work now days?
- From: "Amrit" <cadd@xxxxxxxxxxxx>
- Date: Thu, 6 Nov 2008 16:27:05 +0545
Hi Schmidt
Thanks for respond.
Have pasted your code into a vb-project, ...
and after fixing all the posting-linebreaks I
saw only a commandbutton and some coordinates
in the top-left-corner (only partially visible because
of the CommandButton).
What do you want to demonstrate with this example?
When user Click (Mouse Down) and Move to another Point and (Mouse Up) it
store Coordinate.
and when you click on command button it create Memory DC (mDc) by given
size. the size is MouseDown Pt and MouseUp pt.
I have no clue - please describe in more detail what
you really want to achieve.
the propblem is here i want to create Multipal mDc in form as per given
size and position.
the size and position come with 2 point if you see in code you can see
Point1 is MouseDownPt
Point2 is MouseUpPt
Private Sub Form_MouseDown(Button As Integer, Shift As Integer, X As Single,
Y As Single)
MouseDownPt.X = X ' <================
MouseDownPt.Y = Y' <================
ClickPt = MouseDownPt
Call DPtoLP(CurDC.mDC, ClickPt, 1&)
End Sub
Private Sub Form_MouseUp(Button As Integer, Shift As Integer, X As Single, Y
As Single)
MouseUpPt.X = X
MouseUpPt.Y = Y
End Sub
i want Logical Coordinate Y is up so i use mapmode.
that all about it.
with out useing mapmode is work fine. but when you use mapmode. it goes
worng.
Olaf
.
- Follow-Ups:
- Re: is this group not work now days?
- From: Thorsten Albers
- Re: is this group not work now days?
- From: Larry Serflaten
- Re: is this group not work now days?
- References:
- is this group not work now days?
- From: Amrit
- Re: is this group not work now days?
- From: Schmidt
- is this group not work now days?
- Prev by Date: Re: is this group not work now days?
- Next by Date: Re: is this group not work now days?
- Previous by thread: Re: is this group not work now days?
- Next by thread: Re: is this group not work now days?
- Index(es):