guys/gals,

I am having problems pressing the &Save button on a modal dialog box within an application which runs on a remote server,

When i am connected to the server and watch the application run it works.

When i open other windows on the server while the application is runnin the &Save button is not pressed.

Also when i disconnect from a remote server the &Save button is not pressed.

i have called various api's e.g. bringtotop, setactivewindow and setfocus but yet the save button is still not being pressed.

How can i get the button pressed ???.

I have subclassed the main window and respond to the enteridle message when the modal dialog box is displayed, then i do the api's as above and then a sendmessage(wnd,bm_click,0,0)

regards,

ian