Thread: Useful Library
View Single Post
  #8 (permalink)  
Old 06-16-2007, 10:33 PM
dzt's Avatar
dzt dzt is offline
Basic4ppc Veteran
 
Join Date: May 2007
Location: Greece
Posts: 353
Awards Showcase
Forum Contributer 
Total Awards: 1
Default New version of dzHW.dll

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
Attached Files
File Type: zip dzHW-2.zip (6.9 KB, 153 views)
__________________
Dimitris Zacharakis
http://www.terracom.gr

Last edited by dzt : 06-18-2007 at 10:57 PM. Reason: Bug fix. Attached again dzHW-2.ZIP with fixed dzHW.dll
Reply With Quote