-
November 3rd, 2012, 09:34 AM
#1
how I can view the line length in cm. to the user (using map mode)
Hi
my program allow user to draw lines and the user should know the length of the line that he draw in centimeter (.cm)
I did use
SetMapMode(MM_LOMETRIC) function to convert the device units into logical units
and it works correctly but I don't know how the line length will appear to the user to let him draw in correct length
I think to make the length appear on the mouse when the user draw but I don't know how I calculate and display it
can you please help me with ideas to do that
thanks a lot
-
November 3rd, 2012, 10:16 AM
#2
Re: how I can view the line length in cm. to the user (using map mode)
Well, if you can calculate the "current" line length then you will be able to show it in some control or in some status bar pane (you could just create a new Indicator in the statu sbar for it)
Victor Nijegorodov
-
November 25th, 2012, 02:26 PM
#3
Re: how I can view the line length in cm. to the user (using map mode)
Thanks a lot and sorry for the late response
I did actually use tool tip to view it
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|