Application disappears from Alt-tab task list when displaying CollectionForm

  • Thread starter Thread starter emcc
  • Start date Start date
E

emcc

When a CollectionEditor displays a CollectionForm (by clicking on a
Collection in a PropertyGrid) the application icon is no longer shown
in the task list displayed using the Alt-tab key. Any suggestions how
to fix this? Do I need to modify style of CollectionForm to do this?
How can I do this?
 
I managed to fix this, by deriving from CollectionEditor, and
overriding CreateCollectionForm. Then set the form property
ShowInTaskBar to true.
To change the icon displayed in the taskbar, I used
form.Icon = new Icon(typeof(MyApp), "app.ico");

Now I only have to find out how to change colour of property items in
PropertyGrid, and how to use tab/arrow keys in PropertyGrid,....
(I wonder was it a good idea to have used .net in the first place.)
 
Back
Top