Compartilhar via


IVsUIShell.PostSetFocusMenuCommand(Guid, UInt32) Method

Definition

Sets focus in a combo box.

public:
 int PostSetFocusMenuCommand(Guid % pguidCmdGroup, System::UInt32 nCmdID);
public int PostSetFocusMenuCommand (ref Guid pguidCmdGroup, uint nCmdID);
abstract member PostSetFocusMenuCommand : Guid * uint32 -> int
Public Function PostSetFocusMenuCommand (ByRef pguidCmdGroup As Guid, nCmdID As UInteger) As Integer

Parameters

pguidCmdGroup
Guid

[in] Pointer to a GUID specifying the command group.

nCmdID
UInt32

[in] Integer containing the command group ID.

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From vsshell.idl:

HRESULT IVsUIShell::PostSetFocusMenuCommand(  
   [in, unique] const GUID *pguidCmdGroup,  
   [in] DWORD nCmdId  
);  

Applies to