Treeview image display problem

Topics: CAB & Smart Client Software Factory
Jun 10, 2006 at 7:40 PM
originally posted by: Sankar74

When i add a treeview , imagelist (and imagelist property,imagelist index property are setin treeview) in shellform in example (BankTellerEX01) cab lab8.

But run time the image is not loding in the treeview .When i check imageindex runtime it is correct but image is not displying in treeview.

Please hel
Jun 15, 2006 at 12:36 AM
originally posted by: sathyannt

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

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

Regards
sathya