Hi,
Thank you all for your good words.
alfcen, objects My????? are useless objects created by default, which I forgot to remove in desktop version.
I added 4 new functions:
BringWindowToFront("WindowName"): If Window with Title WindowName is Acive becomes the front window.
BringWindowToFrontC("ClassName"): If Window with Class name ClassName is Acive becomes the front window.
PostMessageToWindow("WindowName", wMsg, wParam, lParam): Sends Message wMsg with parameters wParam and lParam to Window with Title WindowName. Does not wait for the Window to process the message.
PostMessageToWindowC("ClassName", wMsg, wParam, lParam): Sends Message wMsg with parameters wParam and lParam to Window with class name ClassName. Does not wait for the Window to process the message.
For wMsg, wParam, lParam values search the web for winuser.h
One of many google results is:
http://doc.ddart.net/msdn/header/include/winuser.h.html
For how to use new functions look at sample test2.sbp included in zip file.
Best Regards