PC Review


Reply
Thread Tools Rate Thread

Control does not work in a class library...

 
 
Mobile Boy 36
Guest
Posts: n/a
 
      25th Mar 2005
Hi All,

I built my own signature control with save and load functionality.
In a Windows based application, everything works fine.

When I put my class into a class library, I'm still able to create my
control as follows:
SigC = New SignatureControl(Me, pnlSignArea, "\SDMMC Disk")

The constructor executes without problems, but in the case of a class
library, the panel (pnlSignArea) doesn't react anymore to the mouse events:
Protected Overrides Sub OnPaint(ByVal e As
System.Windows.Forms.PaintEventArgs)
Protected Overrides Sub OnMouseMove(ByVal e As
System.Windows.Forms.MouseEventArgs)
Protected Overrides Sub OnMouseDown(ByVal e As
System.Windows.Forms.MouseEventArgs)

Any help would be really appreciated,
Mobile Boy


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Class Library Versus Control Library Darren Microsoft Dot NET Compact Framework 2 23rd Apr 2007 02:27 AM
Basic How To Question: Class Library or Windows Control Library eBob.com Microsoft VB .NET 3 20th Feb 2006 08:12 PM
Re: Difference between Web Control Library and Class Library Alan Ferrandiz [MCT] Microsoft ASP .NET 0 11th Sep 2004 02:51 PM
Re: Difference between Web Control Library and Class Library David Jessee Microsoft ASP .NET 0 25th Aug 2004 12:49 PM
Custom Control (windows Control Library) or Class Library tiger79 Microsoft Dot NET Compact Framework 2 5th May 2004 03:00 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:17 PM.