You are welcome, Just a thought that this may come in handy, if do not have the have the handle to the button and have the handle to the parent then you can call ChildWindowFromPoint to get it. I guess that if you know its coordinates then you already have the handle; anyway I thought I would pass that along. John
INTP "Program testing can be used to show the presence of bugs, but never to show their absence."Edsger Dijkstra