[program-l] Re: MMC, tree view icons.

  • From: Nick Adamson <Nick.Adamson@xxxxxxxxxxxxxxxxxxxxxx>
  • To: "'program-l@xxxxxxxxxxxxx'" <program-l@xxxxxxxxxxxxx>
  • Date: Mon, 9 Jan 2006 12:53:15 -0000

Hi All.

I've got this problem sorted. It looks like you have to add the icons to the
about class with in MMC and then add an extra function to your
implementation of About to pass the icons in to the mmc manager.

This is just a little bit crazy as it doesn't really match what you have to
do with every other node, this is just for your first one.

There you go.
Thanks for all the help.
Nick.


-----Original Message-----
From: program-l-bounce@xxxxxxxxxxxxx
[mailto:program-l-bounce@xxxxxxxxxxxxx]On Behalf Of Will Pearson
Sent: 09 January 2006 09:05
To: program-l@xxxxxxxxxxxxx
Subject: [program-l] Re: MMC, tree view icons.


Hi Nick,

I would think there's a mismatch between the virtual index of the imagelist 
where the icon image has been stored and the virtual index that the results 
pane item is trying to use.

How are you inserting the item into the results pane?

Will
----- Original Message ----- 
From: "Nick Adamson" <Nick.Adamson@xxxxxxxxxxxxxxxxxxxxxx>
To: <program-l@xxxxxxxxxxxxx>
Sent: Friday, January 06, 2006 3:53 PM
Subject: [program-l] MMC, tree view icons.


> Hi All.
>
> I'm working on an MMC plug in and I've pretty much got most of the 
> problems
> licked however I've been asked to use a specific icon for the top node of
> the tree. I've been given the icon file but can't seem to get the snap-in 
> to
> use it.
>
> the first item in the list view is console root. When this is selected the
> name of my utility is in the results pain on the right. it's next to my
> application name where I want to have the icon.
>
> On all the other nodes we've got the icons coming from 1 set of bitmaps
> which I've got working with out any problems.
>
> Any ideas?
> Cheers.
> Nick.
>
>
>
>
> Nick Adamson
> Software Engineer
> General Dynamics UK LTD
>
> Email: nick.adamson@xxxxxxxxxxxxxxxxxxxxxx
> Tel: 01495 236467
> http://www.generaldynamics.uk.com
>
> This email and any files attached are intended for the addressee and may
> contain information of a confidential nature.  If you are not the intended
> recipient, be aware that this email was sent to you in error and you 
> should
> not disclose, distribute, print, copy or make other use of this email or 
> its
> attachments.  Such actions, in fact, may be unlawful.  In compliance with
> the various Regulations and Acts, General Dynamics UK Limited reserves the
> right to monitor (and examine for viruses) all emails and email 
> attachments,
> both inbound and outbound.  Email communications and their attachments may
> not be secure or error- or virus-free and the company does not accept
> liability or responsibility for such matters or the consequences thereof.
> Registered Office: 100 New Bridge Street, London EC4V 6JA.  Registered in
> England and Wales No: 1911653.
> ** To leave the list, click on the immediately-following link:-
> ** [mailto:program-l-request@xxxxxxxxxxxxx?subject=unsubscribe]
> ** If this link doesn't work then send a message to:
> ** program-l-request@xxxxxxxxxxxxx
> ** and in the Subject line type
> ** unsubscribe
> ** For other list commands such as vacation mode, click on the
> ** immediately-following link:-
> ** [mailto:program-l-request@xxxxxxxxxxxxx?subject=faq]
> ** or send a message, to
> ** program-l-request@xxxxxxxxxxxxx with the Subject:- faq
> 

** To leave the list, click on the immediately-following link:-
** [mailto:program-l-request@xxxxxxxxxxxxx?subject=unsubscribe]
** If this link doesn't work then send a message to:
** program-l-request@xxxxxxxxxxxxx
** and in the Subject line type
** unsubscribe
** For other list commands such as vacation mode, click on the
** immediately-following link:-
** [mailto:program-l-request@xxxxxxxxxxxxx?subject=faq]
** or send a message, to
** program-l-request@xxxxxxxxxxxxx with the Subject:- faq
This email and any files attached are intended for the addressee and may
contain information of a confidential nature.  If you are not the intended
recipient, be aware that this email was sent to you in error and you should
not disclose, distribute, print, copy or make other use of this email or its
attachments.  Such actions, in fact, may be unlawful.  In compliance with
the various Regulations and Acts, General Dynamics UK Limited reserves the
right to monitor (and examine for viruses) all emails and email attachments,
both inbound and outbound.  Email communications and their attachments may
not be secure or error- or virus-free and the company does not accept
liability or responsibility for such matters or the consequences thereof.
Registered Office: 100 New Bridge Street, London EC4V 6JA.  Registered in
England and Wales No: 1911653.
** To leave the list, click on the immediately-following link:-
** [mailto:program-l-request@xxxxxxxxxxxxx?subject=unsubscribe]
** If this link doesn't work then send a message to:
** program-l-request@xxxxxxxxxxxxx
** and in the Subject line type
** unsubscribe
** For other list commands such as vacation mode, click on the
** immediately-following link:-
** [mailto:program-l-request@xxxxxxxxxxxxx?subject=faq]
** or send a message, to
** program-l-request@xxxxxxxxxxxxx with the Subject:- faq

Other related posts: