Property Boolean Windows_Override_State
Read Access: | Get Windows_Override_State to BooleanVariable |
Write Access: | Set Windows_Override_State to BooleanVariable/Value |
Windows_Override_State allows DataFlex to stop the default Microsoft Windows behavior for mouse and keyboard messages. When set to true, the standard Windows behavior is canceled and the developer may send DataFlex messages to handle the event. This stops the standard Windows behavior.
Default is False.
If your DataFlex program responds on a Windows message (mapped to a DataFlex procedure via External_Message) and you want to pass a value back to the program sending the message, you need to set this property to True.
Procedure Construct_Object Forward Send Construct_Object ... Set External_Message WM_FOO To msg_Foo ... End_Procedure // Construct_Object Procedure Foo Integer wParam Integer lParam Returns Integer ... Set Windows_Override_State To True Procedure_Return 2 // The value to be returned End_Procedure // Foo