Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Custom faces for custom menus/commandbars

Hi all,

I know this has been a much raised Q, but i have a (i think) different
slant on it:

I have created a toolbar with my own custom images - i now want to use
these images for a menu and toolbar that will be created by an add-in
(rather than attaching the toolbar to the add-in).

I have been using J-Walk's "menumaker" code for this (*tips hat*),
adapted to allow the copy/pasting of the button face images.

The problem i am having is that when i copy the images to the
worksheet, and then paste them back again while creating the
menu/commandbar, the images do not appear as i originally designed
them, but fuzzy and with notable blurring/loss of clarity.

Why can i not EXACTLY reproduce/copy the orginal faces?

I am setting the relevant worksheet cells to 16x16 pixels, but this
only gets the size right - the blurring is still there.

Any help much appreciated!

Stuart
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 70
Default Custom faces for custom menus/commandbars

Hi Stu -

After a couple years of frustration, I finally realized my problem with
this. And let me tell you, it was a real Duh! moment.

Don't copy the picture prior to pasting. Use the CopyPicture method,
using the xlBitmap option.

- Jon
-------
Jon Peltier, Microsoft Excel MVP
Peltier Technical Services
Tutorials and Custom Solutions
http://PeltierTech.com/
_______

Stu Valentine wrote:

Hi all,

I know this has been a much raised Q, but i have a (i think) different
slant on it:

I have created a toolbar with my own custom images - i now want to use
these images for a menu and toolbar that will be created by an add-in
(rather than attaching the toolbar to the add-in).

I have been using J-Walk's "menumaker" code for this (*tips hat*),
adapted to allow the copy/pasting of the button face images.

The problem i am having is that when i copy the images to the
worksheet, and then paste them back again while creating the
menu/commandbar, the images do not appear as i originally designed
them, but fuzzy and with notable blurring/loss of clarity.

Why can i not EXACTLY reproduce/copy the orginal faces?

I am setting the relevant worksheet cells to 16x16 pixels, but this
only gets the size right - the blurring is still there.

Any help much appreciated!

Stuart


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Please Help Me with Custom menus Mr BT Excel Worksheet Functions 7 July 4th 06 05:15 PM
custom menus Bob Phillips[_6_] Excel Programming 3 May 6th 04 10:31 PM
Question on custom commandbars Mark Reynolds Excel Programming 3 January 23rd 04 11:55 PM
Custom menus Lee Excel Programming 4 November 12th 03 11:53 PM
Custom Menus Andy Wiggins[_2_] Excel Programming 0 September 19th 03 06:10 AM


All times are GMT +1. The time now is 12:47 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"