Show pageOld revisionsBacklinksAdd to bookBack to top This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. ====== SendMessage ====== Method of [[:scripting:api:shell:start|IShell]] ===== Description ===== Sends Window Message ===== Parameters ===== * [[scripting:api:data-type:ULONG|ULONG]] **hWnd** * [[scripting:api:data-type:UINT|UINT]] **nCommand** * [[scripting:api:data-type:UINT|UINT]] **wParam** * [[scripting:api:data-type:UINT|UINT]] **lParam** ==== Return Value ==== * [[scripting:api:data-type:long|long]] **pnResult** ===== Syntax ===== ==== JavaScript ==== <code javascript> var pnResult = Shell.SendMessage(hWnd, nCommand, wParam, lParam); </code>==== Visual Basic Script ==== <code vb> pnResult = Shell.SendMessage hWnd, nCommand, wParam, lParam </code>==== C++ ==== <code cpp> long nResult; HRESULT hr = Shell.SendMessage(hWnd, nCommand, wParam, lParam, &nResult); </code>===== See Also ===== [[:scripting:api:shell:start|IShell]] ~~NOTOC~~