draw rectangle then Will display adumbration of rectengle

Hello,

I want to my project about draw rectangle in canvas control

If I’m use mouse to draw rectangle then Will display adumbration of rectengle look like draw control in project

how to ?
thank you

I tried to use Declare Function

who is to use Declare Function DrawFocusRect Lib “user32”?

how to ?

Your questions don’t make any sense.

See http://translate.google.com instead.

Adumbration means to give a sketchy outline, so I’m guessing the OP wants to know how to make it draw the selection rectangle type thing so he can click and drag out a rectangle selection…unfortunately I haven’t done it before. Anyone?

Hi Wittawat,

Not sure if this might help, here is some sample code that shows you how to implement your own focus rectangle (without having to use declares).

http://www.xojo3d.com/focus.xojo_binary_project