As the user draws the line, create two more lines with same X coordinate but different Y coordinates. To draw line above the user's, use a lesser value of Y coordinate and higher value to draw below it.
To draw the other two lines to complete the rectangle, draw lines with following coordinates:
Line 1: From start X of any of the lines(since they are same) and Y coordinate of top line to same start X and Y coordinate of lower most line.
Line 2:End X and Y coordinates of top and lowermost line.
After posting a question on here a day ago I kept on wondering did I use the right terminology to communicate my problem? Am I confusing you all by what I'm trying to convey? What wording should I be using to convey the subject matter at hand? These are my questions I have for this post. For instance saying I'm calling a CR 11.5 object in my win application, is that the correct way of putting it? Here's the post:
I have this Crystal Reports Utility that is helping us convert reports from 9 to 11.5 and then up to CR2008. I know this sounds strange but it was the time line of when the utility was created in. Ok so in this application both CR 11.5 and CR 2008 objects (dlls) are being used. The app first calls 11.5 reportdocument object, does some work and attempts to close the com object with Marshall.Interop.Release(com object) and then proceeds to call a CR2008 object. When it does try to instantiate a CR2008 object I get a com error. It seems as if, one the GC is not disposing of 11.5 reportdocuement object yet and two there must be some common crystal reports dll being shared between the two versions. Does this sound like a fair assessment of the situation? Outside of shutting down the app and running each procedure separately which just confirms the dll conflict. How else can I confirm that this is happening?
So I'm not interested so much about this issue as I am in trying to explain it. This means a lot to me since communication is one of the keys to being a good programmer. At least in my eyes.
At least he's making sure he phrased his question correctly. Many of the people that post here don't care, or are completely incapable of posting a correctly phrased question.
.45 ACP - because shooting twice is just silly ----- "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997 ----- "The staggering layers of obscenity in your statement make it a work of art on so many levels." - J. Jystad, 2001
Guys I'm being very sincere in this post. I'm just asking am I using the right terminology in describing my issue, that's it. I'm not trying to be tricky in trying to get my orig post answered.
I was at Barnes and Nobles yesterday reading "Coders at Work" by Peter Seibel which talks about what certain great coders practices are like. One of the take aways from the book is good communication. Which got me thinking, am I using the right terminology in describing my issues(posts)?
I just want to know can you understand what I'm trying to convey? Which no one has answered yet. lol
It would seem that what I really want to do is move around a child form based on mouse coordinates and keep the focus on the parent form. The movement of the child form would be referenced to the cursor. Any guidence would be appreciated.
I'm having trouble figuring this out. I want to move around a form using mouse coordinates, much like a tooltip moves with the cursor. In other words I want the form to maintain a fixed relative position to the cursor. Any help would be much appreciated.
Last Visit: 31-Dec-99 18:00 Last Update: 2-Oct-22 16:58