IUIX_CmdMenu::SetStyle Method

From PDF XChange PDF SDK
Jump to: navigation, search
m (Automatic page editing by robot)
 
(6 intermediate revisions by one other user not shown)
Line 1: Line 1:
 +
__NOTOC__
 
[[Category:Editor]]
 
[[Category:Editor]]
 
{{#customTitle:IUIX_CmdMenu::SetStyle Method}}
 
{{#customTitle:IUIX_CmdMenu::SetStyle Method}}
 +
{{#parentPage:PXV:IUIX_CmdMenu#Methods|SetStyle|method}}
 +
{{ToReview}}
  
The method of interface of PDF-XChange Editor SDK.
+
Sets command menu item's [[PXV:UIX_CmdItemStyleFlags|style flags]].
  
 
== Syntax ==
 
== Syntax ==
<pre class="brush:cpp;gutter:false">HRESULT SetStyle([in] LONG nStyle, [in, defaultvalue(0)] LONG nStyleMask);</pre>
+
<pre class="brush:cpp;gutter:false">HRESULT SetStyle([in]                   LONG nStyle,
 +
                [in, defaultvalue(0)] LONG nStyleMask);</pre>
  
 
== Parameters ==
 
== Parameters ==
;''nStyle''
+
;nStyle
:[in]  Value of LONG.
+
:[in]  Value of LONG containing the [[PXV:UIX_CmdItemStyleFlags|style flags]].
;''nStyleMask''
+
;nStyleMask
:[in, defaultvalue(0)]  Value of LONG.
+
:[in, defaultvalue(0)]  Value of LONG containing the style mask.
  
 
== Return Value ==
 
== Return Value ==
Line 17: Line 21:
  
 
== See Also ==
 
== See Also ==
See also [[PXV:IUIX_CmdMenu|IUIX_CmdMenu]].
+
[[PXV:IUIX_CmdMenu|IUIX_CmdMenu]]

Latest revision as of 07:41, 1 April 2016


Sets command menu item's style flags.

Syntax

HRESULT SetStyle([in]                   LONG  nStyle,
                 [in, defaultvalue(0)]  LONG  nStyleMask);

Parameters

nStyle
[in] Value of LONG containing the style flags.
nStyleMask
[in, defaultvalue(0)] Value of LONG containing the style mask.

Return Value

Returns S_OK if operation was successful or error code in other cases.

See Also

IUIX_CmdMenu