Setting a form icon to an ImageList icon 
Author Message
 Setting a form icon to an ImageList icon

Hi.

Is there a way to do this? At run-time? I want to make a new FORM
object and set its icon, preferabely to an Imagelist icon.

An email reply would be appreciated.

Thanx, Nir



Sat, 15 May 1999 03:00:00 GMT  
 Setting a form icon to an ImageList icon

Perhaps what you want to do is create a resource file (not that hard
really) and load your image list from that. The advantage is the added
flexibility of being able to use ANY icon in the resource file as you
see fit, includeing assigning it to various forms icon properties 'on
the fly'

If you need help or more information in resource files, let me know

Quote:

>Hi.
>Is there a way to do this? At run-time? I want to make a new FORM
>object and set its icon, preferabely to an Imagelist icon.
>An email reply would be appreciated.
>Thanx, Nir

A mind which has been expanded by a new idea,
never returns to it's original dimensions.


Sat, 15 May 1999 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Setting Form Icon from imagelist item?

2. Form icon from ImageList

3. Form icon that supply EXE icon

4. Icon on WindowList menu using MDIChild Form icon.

5. Form Icon - How to get small icon

6. Extract icon from dll into form.icon

7. Can't set form's icon

8. Set form's icon at runtime

9. Projects without forms (and setting icons)

10. How to set Icon for forms without titlebar?

11. Treeview ImageList icons?

12. Icons changed in ImageList control

 

 
Powered by phpBB® Forum Software