Click here to Skip to main content
16,004,882 members
Home / Discussions / C#
   

C#

 
GeneralRe: Form Designer Pin
Neil Van Note8-May-02 19:15
Neil Van Note8-May-02 19:15 
GeneralRe: Form Designer Pin
BLaZiNiX9-May-02 3:07
BLaZiNiX9-May-02 3:07 
GeneralRe: Form Designer Pin
Neil Van Note9-May-02 3:52
Neil Van Note9-May-02 3:52 
GeneralRe: Form Designer Pin
BLaZiNiX9-May-02 7:41
BLaZiNiX9-May-02 7:41 
GeneralRe: Form Designer Pin
Neil Van Note9-May-02 16:09
Neil Van Note9-May-02 16:09 
GeneralRe: Form Designer Pin
BLaZiNiX9-May-02 17:16
BLaZiNiX9-May-02 17:16 
GeneralRe: Form Designer Pin
Neil Van Note9-May-02 17:57
Neil Van Note9-May-02 17:57 
GeneralRe: Form Designer Pin
James T. Johnson8-May-02 18:24
James T. Johnson8-May-02 18:24 
Oops, I don't think I ever posted that message explaining Application.AddMessageFilter Blush | :O

AddMessageFilter takes an instance of the IMessageFilter interface, it has one method, PreFilterMessage which works like the WndProc except it returns true if the message has been filtered and doesn't need to be processed anymore.

So to use it:

public class MyClass : ......, IMessageFilter
{
  bool IMessageFilter.PreFilterMessage(ref Message m)
  {
    // do something with m
  
    return bShouldContinueProcessing;
  }
}
Then when you want to add it to the Message filter, Application.AddMessageFilter(myClass as IMessageFilter);

BLaZiNiX wrote:
BTW, is it possible to create a DLL with the other dll I need to create an application like System.DLL, System.Windows.Form.DLL all those DLL include in one So after I can only compile my program using this DLL ??? if yes how can I do this ?

Nope, not with strongly-named assemblies they cannot be modified since a checksum is used to ensure they haven't changed.

There is a utility out there somewhere for combining multiple assemblies into one, but it can't be used on strong named assemblies because of the previously mentioned reasons.

I forget the name of the utility; maybe Rama Krishna remembers it (it was mentioned on the dotnet list not too long ago; if i remembered the context I could look it up).

James

Simplicity Rules!
GeneralDifference between Release and Debug Pin
8-May-02 16:39
suss8-May-02 16:39 
GeneralRe: Difference between Release and Debug Pin
James T. Johnson8-May-02 16:51
James T. Johnson8-May-02 16:51 
GeneralRe: Difference between Release and Debug Pin
Nish Nishant8-May-02 17:15
sitebuilderNish Nishant8-May-02 17:15 
GeneralRe: Difference between Release and Debug Pin
8-May-02 17:24
suss8-May-02 17:24 
GeneralRe: Difference between Release and Debug Pin
Nish Nishant8-May-02 17:44
sitebuilderNish Nishant8-May-02 17:44 
GeneralTreeView node destruction % memory consummation Pin
elnino8-May-02 16:11
elnino8-May-02 16:11 
GeneralRe: TreeView node destruction % memory consummation Pin
Neil Van Note9-May-02 4:08
Neil Van Note9-May-02 4:08 
GeneralRe: i means Treenode never destructed Pin
elnino9-May-02 4:31
elnino9-May-02 4:31 
GeneralRe: i means Treenode never destructed Pin
Neil Van Note9-May-02 4:41
Neil Van Note9-May-02 4:41 
GeneralHTTP Error 407 Pin
Dejan Petrovic8-May-02 15:49
Dejan Petrovic8-May-02 15:49 
GeneralRe: HTTP Error 407 Pin
Corto Maltese8-May-02 20:03
Corto Maltese8-May-02 20:03 
GeneralCan't run my app!! Pin
Rickard Andersson208-May-02 7:27
Rickard Andersson208-May-02 7:27 
GeneralRe: Can't run my app!! Pin
ez28-May-02 7:45
ez28-May-02 7:45 
GeneralRe: Can't run my app!! Pin
Nish Nishant8-May-02 7:56
sitebuilderNish Nishant8-May-02 7:56 
GeneralRe: Can't run my app!! Pin
Nick Parker8-May-02 8:06
protectorNick Parker8-May-02 8:06 
GeneralRe: Can't run my app!! Pin
Nish Nishant8-May-02 8:12
sitebuilderNish Nishant8-May-02 8:12 
GeneralRe: Can't run my app!! Pin
Rickard Andersson208-May-02 8:07
Rickard Andersson208-May-02 8:07 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.