About This Code
Brief Description:
MessageQueue class for IPC (frame to frame for example)
Contributor:
Dmitry Akulov
Notes Version:
R5.x, R6.x
Last Modified:
10 Jun 2005
OpenNTF Disclaimer
All of the program code and information presented in the OpenNTF.org Code Bin are provided "as-is", and should be used at your own risk. OpenNTF.org make no express or implied warranty about anything in the Code Bin, and OpenNTF.org will not be responsible or liable for any damage caused by the use or misuse of anything from this site. OpenNTF.org makes no guarantees about anything. Please thoroughly test all of the knowledge and code you find here before you attempt to use them in your production environment.
Code / Description
WIN32 MessageQueue LS class for Async Interprocess Communication based on MQxxx Notes CAPI calls
Usage / Example
Task:
we have frameset with two frame: Master (view) & Details (form with single category embedded view "Details"). when user select doc in master view, details frame display responses of selected "master" doc.
Solution:
In Master view:
On PostOpen Event: New MessageQueue("MDQueue")
On QueryOpenDocument event: Put UniversalID of MAster doc in Queue
In Details form , define Class:
Class QueueChecker as NotesMessageQueue
Public Sub OnMessageAction
CurrentDocument.ReplaceITemValue("SingleCategoryFilter",Me.Message)
workspace.ViewRefresh
end sub
end Class
In PostOpen event: New QueueChecker("MDQueue",1)
Embedded view SingleCategory formula: SingleCategoryFilter
It's all , sorry for my poor english
Code Attachments
Comments
Posted by Pierre Koerber on 09/19/2005 01:32:41 AMRe: MessageQueue class for IPC (frame to frame for example)
seems to be a very interesting technique, could you put a database sample ??
Posted by Dmitry Akulov on 09/19/2005 01:58:27 AMexample
follow this link and download attached file:http://www.intertrust.ru/Site/ITForum.nsf/all/A4821E0C5D46A9F4C3256F5C003AFC05?OpenDocument
sorry url to russian notes dev community.
this example coded by my friend Andrey Golembiovsky. example based on MQ technique.
Posted by Pierre Koerber on 09/19/2005 02:46:42 AMRe: MessageQueue class for IPC (frame to frame for example)
Great stuff ! an amazing technique to get the unid of the selected document in an embedded view !!!