-
ToolboxBitmap
Every time I build a .bmp picture using MSPaint and add for a UserControl's
ToolboxBitmap property in VB. The image always looks different and never
have the same detail. Why is that and what size should the .bmp's be?
-
Re: ToolboxBitmap
"JoJo" <maddockandrewNOSPAM@hotmail.com> wrote in message news:3d00ca72@10.1.10.29...
> Every time I build a .bmp picture using MSPaint and add for a UserControl's
> ToolboxBitmap property in VB. The image always looks different and never
> have the same detail. Why is that and what size should the .bmp's be?
>
15x16, and the colour in the bottom right corner (I think) is made transparent.
It has to be 16 colours as well I think
--
Dean Earley (dean.earley@icode.co.uk)
Assistant Developer
iCode Systems
-
Re: ToolboxBitmap
width = 15 & height = 16 right ?
cheers
"Dean Earley" <dean.earley@icode.co.uk> wrote in message
news:3d00d541@10.1.10.29...
> "JoJo" <maddockandrewNOSPAM@hotmail.com> wrote in message
news:3d00ca72@10.1.10.29...
> > Every time I build a .bmp picture using MSPaint and add for a
UserControl's
> > ToolboxBitmap property in VB. The image always looks different and never
> > have the same detail. Why is that and what size should the .bmp's be?
> >
>
> 15x16, and the colour in the bottom right corner (I think) is made
transparent.
> It has to be 16 colours as well I think
>
> --
> Dean Earley (dean.earley@icode.co.uk)
> Assistant Developer
>
> iCode Systems
>
>
-
Re: ToolboxBitmap
No, 16 wide, 15 high.
--
[Microsoft Basic: 1976-2001, RIP]
"JoJo" <maddockandrewNOSPAM@hotmail.com> wrote in message news:3d00dadd@10.1.10.29...
> width = 15 & height = 16 right ?
>
> cheers
>
> "Dean Earley" <dean.earley@icode.co.uk> wrote in message
> news:3d00d541@10.1.10.29...
> > "JoJo" <maddockandrewNOSPAM@hotmail.com> wrote in message
> news:3d00ca72@10.1.10.29...
> > > Every time I build a .bmp picture using MSPaint and add for a
> UserControl's
> > > ToolboxBitmap property in VB. The image always looks different and never
> > > have the same detail. Why is that and what size should the .bmp's be?
> > >
> >
> > 15x16, and the colour in the bottom right corner (I think) is made
> transparent.
> > It has to be 16 colours as well I think
> >
> > --
> > Dean Earley (dean.earley@icode.co.uk)
> > Assistant Developer
> >
> > iCode Systems
> >
> >
>
>
-
Re: ToolboxBitmap
"Karl E. Peterson" <karl@mvps.org> wrote in message news:3d012ba9$1@10.1.10.29...
> No, 16 wide, 15 high.
Oops, It just happens that the one control I chose was wrong ) I checked some others and they were OK.
From MSDN
The size of the space for the bitmap in the toolbox is 16x15 pixels; the bitmap specified by this property will be scaled to these
dimensions if necessary.
--
Dean Earley (dean.earley@icode.co.uk)
Assistant Developer
iCode Systems
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks