thumbnail view & custom menu

6 views
Skip to first unread message

Darth Weider

unread,
Apr 9, 2007, 4:07:43 PM4/9/07
to PixTools (scanning & imaging SDK)
Hi there.

I want make custom menu when a user right button click an thumbnail.
Is it possible? For example: "Start new document from here".

Use your Force,
Darth

Vankir

unread,
Apr 10, 2007, 6:08:33 AM4/10/07
to PixTools (scanning & imaging SDK)
Of course this is possible. There are events and methods which allow
to do this in PixTools for .NET

Vankir

unread,
Apr 11, 2007, 3:56:17 AM4/11/07
to PixTools (scanning & imaging SDK)
Following code snippet illustrates this ability:
void thumbnailView_MouseClick(object sender, MouseEventArgs e)
{
PixThumbnailNode node =
thumbnailView.GetNodeAt(e.Location);
if (e.Button == MouseButtons.Right && node != null)
{
contextThumbnailMenu.Show((Control)sender,
e.Location);
}
}

Reply all
Reply to author
Forward
0 new messages