OCX Icon 
Author Message
 OCX Icon

Hi
I have prepared some OCX's in my application, but I need to assign an icon
to each, that is to appear im my toolbox. Now all appear the same.
Any Ideas ?


Sun, 25 Nov 2001 03:00:00 GMT  
 OCX Icon
Set the ToolBoxBitmap property of the Control when creating the control.

-David


Quote:
> Hi
> I have prepared some OCX's in my application, but I need to assign an icon
> to each, that is to appear im my toolbox. Now all appear the same.
> Any Ideas ?



Sun, 25 Nov 2001 03:00:00 GMT  
 OCX Icon

Quote:

> Hi
> I have prepared some OCX's in my application, but I need to assign an icon
> to each, that is to appear im my toolbox. Now all appear the same.
> Any Ideas ?

OCXs actually use bitmaps to display their icons. You set the
ToolboxBitmap property of your CTL module to your desired image


Sun, 25 Nov 2001 03:00:00 GMT  
 OCX Icon
You simply need to set the ToolboxBitmap and recompile.  Next time you use
your ocx, it will have your own special icon in the toolbox.
Quote:

>Hi
>I have prepared some OCX's in my application, but I need to assign an icon
>to each, that is to appear im my toolbox. Now all appear the same.
>Any Ideas ?



Sun, 23 Dec 2001 03:00:00 GMT  
 
 [ 4 post ] 

 Relevant Pages 

1. OCX icon

2. OCX OCX OCX OCX OCX OCX

3. Menu Icon source/ocx?

4. Creating OCX with icon representation?

5. Setting icon for OCX query.

6. adding icon to ocx file?

7. Icon size in an OCX

8. OCX that can create icons and shortcuts?

9. System Tray Icon .OCX Files

10. FREE: Icon Tray OCX

11. variable scope and using wsh icon tray ocx

12. any *.ocx or vb ctrl for MENU ICON

 

 
Powered by phpBB® Forum Software