WinForms Listview and Treeview icon is not being displayed

Add-in Express™ Support Service
That's what is more important than anything else

WinForms Listview and Treeview icon is not being displayed
 
Sergey Grischenko


Add-in Express team


Posts: 7228
Joined: 2004-07-05
It's auto referenced by the project when i created through the ADX Add-in's wizard. I will reference to the AddinExpress.MSO.2005.dll and try again.

It can occur when you create an add-in in VS 2003 and then translate the project in VS 2005. In this case the ADX reference should be changed manually.


But have u notice once the imagelist removed from the add-in module, the treeview's icon get shown back.

I have just removed the imagelist from the add-in module but icons are not displayed as before.
Posted 23 Feb, 2006 13:20:11 Top
Jeffery Goh




Posts: 15
Joined: 2006-02-15
Sergey Grischenko wrote:
It can occur when you create an add-in in VS 2003 and then translate the project in VS 2005. In this case the ADX reference should be changed manually.

i actually created in VS2005. Btw, i don't have AddinExpress.MSO.2005.dll in the Afalinasoft\Add-in Express .NET\Bin folder, i am using v2.2 for 2005. Should i try the latest released version v2.3?

Sergey Grischenko wrote:
I have just removed the imagelist from the add-in module but icons are not displayed as before.


Hm.. interesting... when i removed it here.. the icons get shown back immediately.
Posted 23 Feb, 2006 20:31:32 Top
Sergey Grischenko


Add-in Express team


Posts: 7228
Joined: 2004-07-05
Hi Jeffery.

Please download and try the latest version of Add-in Express .NET.
Posted 24 Feb, 2006 06:54:20 Top
Jeffery Goh




Posts: 15
Joined: 2006-02-15
Sergey,

I have tried the latest version for .NET 2005, it works fine until i call a statement "System.Windows.Forms.Application.EnableVisualStyles()", then the icons are disappear again.
Posted 26 Feb, 2006 22:03:50 Top
Sergey Grischenko


Add-in Express team


Posts: 7228
Joined: 2004-07-05
Hi Jeffery.

Yes, I know. We have the AddinExpress.MSO.XPThemes class in ADX to enable XP Styles.
Using (AddinExpress.MSO.XPThemes.Enable)
frm.ShowDialog()
End Using
It behaves in the same way, icons don't appear. Now I don't have a solution. I will let you know when I solve the issue.
Posted 27 Feb, 2006 08:09:33 Top
Jeffery Goh




Posts: 15
Joined: 2006-02-15
Hi Sergey,

Thank you and really appreciate your help.
Posted 27 Feb, 2006 12:07:44 Top
Thomas Grossen




Posts: 134
Joined: 2005-10-21
Dear Sergey,

I have the same problem. I am using VS2005 and icons are not displayed in listview and Treeview (ehen using XPThemes).

Did you find a solution for this issue?

Thank you,

Thomas.
Thomas.
Posted 13 Mar, 2006 06:10:16 Top
Sergey Grischenko


Add-in Express team


Posts: 7228
Joined: 2004-07-05
Hi Thomas.

No. I haven't found any solution. I will inform you when I solve this issue.
Posted 13 Mar, 2006 08:45:51 Top
Thomas Grossen




Posts: 134
Joined: 2005-10-21
Ok, Thank you.

Thomas.
Thomas.
Posted 13 Mar, 2006 10:27:43 Top
Jeffery Goh




Posts: 15
Joined: 2006-02-15
I m wating for the solution too.

But to be able to run well at this moment. My temporary solution is instead of calling the form directly, i created another exe project and call that exe by passing the command line argument as parameter to call that form.
Posted 13 Mar, 2006 20:32:25 Top