soja #1 Canvas1. You don't need the Windows' handle to the gadget.Just change Case hWnd_Canvas1toCase Canvas1