From: Damien (jacques.lucio++at++wanadoo.fr)
Date: 06/03/2005 05:14:19
Hi,
Anyone, could send me, an example of mfcperformer using pfvViewer module ?
Thanks.
-----Original Message-----
Thanks a lot Paolo - I have coded with Motif a lot in the past so should be
able to use your motif-pfvViewer sample. Please send directly to my email
address. Thanks.
Regards,
Shrikant
-----Original Message-----
From: Paolo Farinelli [mailto:paolo++at++sgi.com]
Sent: 30 April 2004 03:43
To: Shrikant Sharma
Cc: info-performer++at++sgi.com
Subject: Re: [info-performer] pfvmNavigator feature needed in mfcperformer
Hi Shirkant,
The pfvmNavigator class (as all libpfv modules) receives mouse and keyboard
input through the libpfutil input API, which is used by the pfvViewer class.
I don't know the details of how libpfutil's input is handled on Win32
(you can
look at the source yourself, since it is shipped with Performer), but I
suspect
that events generated in your mfc windows will not be captured by libpfutil,
and therefore will not be passed on to the viewer's modules.
I have been able to partially work around this for Motif/pfvViewer apps (on
IRIX and Linux) some time ago.
The workaround involved collecting the events myself and forcing them into
the pfuMouse and pfuEventStream structures used by libpfutil (you can get a
pointer to these through pfDataPool::find). The end result is that
events generated
into the Motif window(s) are treated exactly like those collected (by
libpfutil)
from regular pfPipeWindows.
If you are interested and feel adventurous, I can send you my
motif-pfvViewer
sample, and you can try to convert it to mfc.
Best regards,
Paolo
Shrikant Sharma wrote:
>Hi all
>
>Has anyone used the mouse navigation features like what pfvmNavigator
>provides with mfcperformer? I know that pfvmNavigator can be added directly
>as a module to a pfvViewer object, but how would one use pfPipeWindow that
>mfcperformer uses?
>Or, another way, is it possible to use pfvViewer in mfcperformer? Thanks.
>
>Shrikant
>
>
>
This archive was generated by hypermail 2b29 : Fri Jun 03 2005 - 05:14:21 PDT