RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
IDesignerHook.IsDesignMsg Method

Determines when the designer should handle a Windows message.

Pascal
function IsDesignMsg(Sender: TControl; var Message: TMessage): Boolean;
C++
__fastcall Boolean IsDesignMsg(TControl * Sender, TMessage Message);

IsDesignMsg is called for each message sent to a component in the designer. This method returns true if the message is a design message, meaning one the designer should handle for the component. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!