====== TranslateCommand ====== Method of [[:scripting:api:external-document-view:start|IExternalDocumentView]] ===== Description ===== Directs the view to handle a command message passed up from the message pump of the process in which the view is running ===== Parameters ===== * [[scripting:api:data-type:UINT|UINT]] **nID** * [[scripting:api:data-type:long|long]] **nCode** * [[scripting:api:data-type:ULONG|ULONG]] **pExtra** * [[scripting:api:data-type:ULONG|ULONG]] **pHandlerInfo** ===== Syntax ===== ==== JavaScript ==== ExternalDocumentView.TranslateCommand(nID, nCode, pExtra, pHandlerInfo); ==== Visual Basic Script ==== ExternalDocumentView.TranslateCommand nID, nCode, pExtra, pHandlerInfo ==== C++ ==== HRESULT hr = ExternalDocumentView.TranslateCommand(nID, nCode, pExtra, pHandlerInfo); ===== See Also ===== [[:scripting:api:external-document-view:start|IExternalDocumentView]] ~~NOTOC~~