I am trying to create undo submenu using sendmessage method for API.
but this allows only one level undo.can any body suggest me the logic to perform multiple level undo operation in visual basic's MDI form.