Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

When I call the AddItem method to add a thumbnail, although the ItemAdd event is raised and the function returns “TRUE”, the thumbnail does not appear on screen. What could I been making wrong?

0
Posted

When I call the AddItem method to add a thumbnail, although the ItemAdd event is raised and the function returns “TRUE”, the thumbnail does not appear on screen. What could I been making wrong?

0

Just call the control’s DrawItems method when you wish the manually added items to be displayed. This is by design, in order to allow the user to control if the added items will be displayed as soon as they are added, by calling the DrawItem method immediately after the AddItem method returns, or if they will be displayed once after all items have been successfully added.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.