Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Setting a custom mouse icon [By: MrMiguu]


mrmiguu
 Share

Recommended Posts

**[NOTE]** Luckily this requires **no code**. I figured this out just today.

**[Step: 1]**
Open your _**frmMainMenu** Form_ and look at the _Form's_ properties.

**[Step: 2]**
Scroll down the list until you find a selection for _MouseIcon_ and _MousePointer_:
![](http://i2.photobucket.com/albums/y23/Alexanderthegreat91/form_properties.png)

**[Step: 3]**
Set the _MouseIcon_ to any _.ICO_ file you have on your computer (preferably something made from here: [http://www.rw-designer.com/online_icon_maker.php](http://www.rw-designer.com/online_icon_maker.php))

_[Step: 4]_
Set the _MousePointer_ to _99 - Custom_.

**[Step: 5]**
Run your game and test it out!

**[NO CREDITS GO TO ME FOR I DID NOT CREATE THIS FEATURE/FUNCTION]**
Link to comment
Share on other sites

@MrMiguuâ„¢:

> @Robin:
>
> > Oh, and VB6 only supports 16bit icons by default. Sorry, but no alpha channels. ;P
>
> There is transparency. That's all what most people only need for a clean-cut mouse icon anyways ;D

It has an alpha mask, just no alpha channels.

You'd be better off simply rendering the mouse icon, but as Eclipse uses all the GDI crap this is really the only good way of doing it.
Link to comment
Share on other sites

@MrMiguuâ„¢:

> @Timmah:
>
> > @Robin:
> >
> > > @Timmah:
> > >
> > > > When I give it a .cur image under the Icon area, it says Invalid picture. o.0
> > >
> > > @Robin:
> > >
> > > > VB6 only supports 16bit icons
> >
> > Anyway to make it smaller?
>
> How much smaller?

Fitting VB requirements, 16 Bit. o.o
Link to comment
Share on other sites

@Timmah:

> @MrMiguuâ„¢:
>
> > @Timmah:
> >
> > > @Robin:
> > >
> > > > @Timmah:
> > > >
> > > > > When I give it a .cur image under the Icon area, it says Invalid picture. o.0
> > > >
> > > > @Robin:
> > > >
> > > > > VB6 only supports 16bit icons
> > >
> > > Anyway to make it smaller?
> >
> > How much smaller?
>
> Fitting VB requirements, 16 Bit. o.o

I thought you meant the 16bit req.
Link to comment
Share on other sites

@Timmah:

> @MrMiguuâ„¢:
>
> > @Timmah:
> >
> > > @Robin:
> > >
> > > > @Timmah:
> > > >
> > > > > When I give it a .cur image under the Icon area, it says Invalid picture. o.0
> > > >
> > > > @Robin:
> > > >
> > > > > VB6 only supports 16bit icons
> > >
> > > Anyway to make it smaller?
> >
> > How much smaller?
>
> Fitting VB requirements, 16 Bit. o.o

16bit isn't size, it's the colour depth.

No doubt your icon is 32bit (Well, 24bit with an extra alpha channel). Just go in and save it as a 16bit image then re-save it as an icon.
Link to comment
Share on other sites

@Robin:

> @Timmah:
>
> > @MrMiguuâ„¢:
> >
> > > @Timmah:
> > >
> > > > @Robin:
> > > >
> > > > > @Timmah:
> > > > >
> > > > > > When I give it a .cur image under the Icon area, it says Invalid picture. o.0
> > > > >
> > > > > @Robin:
> > > > >
> > > > > > VB6 only supports 16bit icons
> > > >
> > > > Anyway to make it smaller?
> > >
> > > How much smaller?
> >
> > Fitting VB requirements, 16 Bit. o.o
>
> 16bit isn't size, it's the colour depth.
>
> No doubt your icon is 32bit (Well, 24bit with an extra alpha channel). Just go in and save it as a 16bit image then re-save it as an icon.

As a 16-bit JPEG?
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...