TwainSetInternalBehaviour Method (GdPictureImaging)
 
            
                In This Topic
            
            
            Changes a specific TWAIN handling behavior of the SDK. This method is experimental and should be used on GdPicture staff advice only!
            
            
            
            Syntax
            
            
            
            
            'Declaration
 
Public Sub TwainSetInternalBehaviour( _
   ByVal  As Integer, _
   ByVal  As Boolean _
) 
             
        
            
            public void TwainSetInternalBehaviour( 
   int ,
   bool 
)
             
        
            
            public procedure TwainSetInternalBehaviour( 
    : Integer;
    : Boolean
); 
             
        
            
            public function TwainSetInternalBehaviour( 
    : int,
    : boolean
);
             
        
            
            public: void TwainSetInternalBehaviour( 
   int ,
   bool 
) 
             
        
            
            public:
void TwainSetInternalBehaviour( 
   int ,
   bool 
) 
             
        
             
        
            Parameters
- OptionID
 
- The ID of the behavior to control. Supported options are:
            - 1: FORWARD_ALL_MSG. Forces the control to translate and dispatch all messages sent to the data source manager.
            - 2: NEW_CALLBACK_MODEL. Enables the new callback model defined in the TWAIN 2.0 specifications.
            - 3: FORCE_PROXY_WINDOWS. Forces the control to use it's own proxy windows to intercept windows messages.
            - 4: NEW_CALLBACK_NO_HOOK. If NEW_CALLBACK_MODEL is activated, no message will be forwarded to the Data Source manager throught the DG_CONTROL/DAT_EVENT/MSG_PROCESSEVENT sequence.
 - Enable
 
- True to enable the specified option, else False (default value for all options).
 
            
             
            
            
            
            
            
            
            
            
            
            
            
            See Also