Atalasoft
Welcome to Atalasoft Community Sign in | Join | Help
in

PaintThumbnail thumbnailviewer

Last post 20 Jun 2007, 10:18 PM by Glenn. 1 replies.
Sort Posts: Previous Next
  •  20 Jun 2007, 4:31 AM 12212

    PaintThumbnail thumbnailviewer

    I am trying to use the PaintThumbnail event so that I can perform some extra visual marking based on some extra data about the represented image

    I followed the howto article and got what I wanted changing the condition of the "e.thumbnail.selected"

    But know I lost the selected highlight behavior.

    Is there a way to perform the default behavior of the component in that event and then make my additions?

    Thanks in advance.

    Spyros

  •  20 Jun 2007, 10:18 PM 12232 in reply to 12212

    Re: PaintThumbnail thumbnailviewer

    If you only want to add to the existing painting you will need to create a class that derives from ThumbnailView and override the OnPaintThumbnail method.  Then call base.OnPaintThumbnail before rendering your additional data.
    Glenn Chittenden Jr.
    Atalasoft Development Team
View as RSS news feed in XML