Treview image is not showing

Topics: CAB & Smart Client Software Factory
Jun 12, 2006 at 6:50 PM
originally posted by: Sankar74

In CAB hands on labs-8 example (BankTeller01). When we add a treeview with imagelist to the shellform the image is not showing at run time. When we do the same to loginform image is showing.
It is surprising that CAB handsonlabs-7 example when we add a treeview and imagelist the image is showing at runtime.

Any ideas/sugessions/solutions?.Please let us know --
sathyannt@hotmail.com
Jun 15, 2006 at 12:35 AM
originally posted by: sathyannt

Add the below code before creating the login form it will work fine

Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);






Cheers

Sathya