Hide Table of Contents
SetTitleBitmapx64 Method (IPropertyManagerPage2)

Sets the bitmap in the title bar of this PropertyManager in 64-bit applications.

.NET Syntax

Visual Basic (Declaration) 
Function SetTitleBitmapx64( _
   ByVal ModuleHandle As Long, _
   ByVal Identifier As Integer _
) As Boolean
Visual Basic (Usage) 
Dim instance As IPropertyManagerPage2
Dim ModuleHandle As Long
Dim Identifier As Integer
Dim value As Boolean
value = instance.SetTitleBitmapx64(ModuleHandle, Identifier)
bool SetTitleBitmapx64( 
   long ModuleHandle,
   int Identifier
bool SetTitleBitmapx64( 
&   long long ModuleHandle,
&   int Identifier



Module handle of the application instance that contains the bitmap resource


Resource ID of the bitmap

Return Value

True if successful, false if not


This method is only available through early binding and with 64-bit versions of the SolidWorks software. You cannot use this method in VBA because LONGLONG in x64 is not supported by VBA.

You can only use this method to set properties on the PropertyManager page before it is displayed or while it is closed. See IPropertyManagerPage2::Show2 and IPropertyManagerPage2::Close for details.

Create the bitmap in the resources of your application. The bitmap must have less than 256 colors. It is accessed via the ModuleHandle and Identifier that is passed into this method.  The recommended size for bitmaps is a square from 18- to 22-cells wide. However, the bitmap can be any size, as long as it fits on the title bar.

The bitmap appears transparent by mapping any white (RGB(255,255,255)) cells to the current PropertyManager page title bar background color. Remember the special use of this color as you design your bitmap.

If this method is...

Then the title bar contains...


Specified bitmap starting at the left edge of the PropertyManager title bar, followed by the title bar text (see ISldWorks::CreatePropertyManagerPage or ISldWorks::ICreatePropertyManagerPage).

Not used

Only the text, centered on the title bar.


See Also


SolidWorks 2010 SP3, Revision Number 18.3

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

Subject:   Feedback on Help Topics
Page:   SetTitleBitmapx64 Method (IPropertyManagerPage2)
*   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:


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

Web Help Content Version: API Help (English only) 2010 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.