Hide Table of Contents
SetBitmapsx64 Method (IPropertyManagerPageBitmapButton)

Sets the bitmaps or PNG images for this button in 64-bit applications.

.NET Syntax

Visual Basic (Declaration) 
Function SetBitmapsx64( _
   ByVal ModuleHandle As System.Long, _
   ByVal BitmapUp As System.Integer, _
   ByVal BitmapDown As System.Integer, _
   ByVal BitmapDisabled As System.Integer _
) As System.Boolean
Visual Basic (Usage) 
Dim instance As IPropertyManagerPageBitmapButton
Dim ModuleHandle As System.Long
Dim BitmapUp As System.Integer
Dim BitmapDown As System.Integer
Dim BitmapDisabled As System.Integer
Dim value As System.Boolean
 
value = instance.SetBitmapsx64(ModuleHandle, BitmapUp, BitmapDown, BitmapDisabled)
C# 
System.bool SetBitmapsx64( 
   System.long ModuleHandle,
   System.int BitmapUp,
   System.int BitmapDown,
   System.int BitmapDisabled
)
C++/CLI 
System.bool SetBitmapsx64( 
&   System.int64 ModuleHandle,
&   System.int BitmapUp,
&   System.int BitmapDown,
&   System.int BitmapDisabled
) 

Parameters

ModuleHandle
Module handle of the application instance that contains the bitmap or PNG image resource
BitmapUp
Resource ID of the not pressed-in state bitmap or PNG image resource
BitmapDown
Resource ID of the pressed-in state bitmap or PNG image resource
BitmapDisabled
Resource ID of the disabled state bitmap or PNG image resource

Return Value

True if successful, false if not

Remarks

This method is only available through early binding and with 64-bit versions of the SolidWorks software.

The ModuleHandle argument for this API is the handle to the instance ( HINSTANCE ) of user dll, and the resource IDs for up, down and disabled states are the bitmap or PNG image resource integers. The SolidWorks application loads the bitmaps or PNG images from user dll and uses them on this bitmap button control.

You must call this method after calling either of the following APIs to create the bitmap button control:

 

See Also

Availability

SolidWorks 2010 SP4, Revision Number 18.4


Provide feedback on this topic

SOLIDWORKS welcomes your feedback concerning the presentation, accuracy, and thoroughness of the documentation. Use the form below to send your comments and suggestions about this topic directly to our documentation team. The documentation team cannot answer technical support questions. Click here for information about technical support.

* Required

 
*Email:  
Subject:   Feedback on Help Topics
Page:   SetBitmapsx64 Method (IPropertyManagerPageBitmapButton)
*Comment:  
*   I acknowledge I have read and I hereby accept the privacy policy under which my Personal Data will be used by Dassault Systèmes

Print Topic

Select the scope of content to print:

x

We have detected you are using a browser version older than Internet Explorer 7. For optimized display, we suggest upgrading your browser to Internet Explorer 7 or newer.

 Never show this message again
x

Web Help Content Version: API Help (English only) 2013 SP05

To disable Web help from within SOLIDWORKS and use local help instead, click Help > Use SOLIDWORKS Web Help.

To report problems encountered with the Web help interface and search, contact your local support representative. To provide feedback on individual help topics, use the “Feedback on this topic” link on the individual topic page.