Date: 02-16-2022
Return to Index
created by gbSnippets
'The Callback function return value tells PowerBASIC whether additional
'processing is required, or if the Callback function performed all needed processing.
'Primary Code:
Function = 1 'return 1 - no further handling needed. %True works the same.
Function = 0 'return 0 - further handling needed. %False works the same
'If you Return the value TRUE (any non-zero value), you are asserting that the message
'was processed AND no further handling is needed. If you return the value FALSE (zero),
'the PowerBASIC DDT engine will manage the message for you, using the default message
'procedures in Windows. If you do not specify a return value in the Function, zero is used.
'Exception: if your Code processes a %WM_NOTIFY message, the return value is generally
'ignored. Because of the nature of %WM_NOTIFY messages, they are always directed to both
'Control callbacks AND Dialog callbacks to use as needed.
'gbs_00006
'Date: 03-10-2012
http://www.garybeene.com/sw/gbsnippets.htm