I am designing a copy/paste type modal menu to appear at the cursor. How does one get the client window coordinates of an OpenDCL window?
Anyone have suggestions on doing this? How does one draw a menu separator line.
Thanks,
Jim
Control_GetPos returns the coordinates of a form or control in the parent's client coordinates. The Width and Height properties contain the size of the client area of a form or control. You could probably use a frame with 1 pixel height as a separator.
Hello,
since I've made the experience that a frame with a 1px height in some cases (several windows styles) shows only a point left and a point right instead of a line I use a 1px height picturebox without an image with just a background color.
Fred
Thanks guys,
That should get things going.
Jim