Thanks for the screen sizing code.
I need to draw a grid in an image box, and redraw it when a button is clicked. I drew the grid using the DrawLine method, but I can't get a button click to call it. It seems I need to dim an object and instantiate it, but I just can't seem to get it right.
This is for a Paint-like program intended for handicapped people, to be used with a specially designed mouse. (Someone else is responsible for the mouse design and drivers.)
Any help?