camera callback

Become a member of the CGSociety

Connect, Share, and Learn with our Large Growing CG Art Community. It's Free!

Thread Tools Display Modes
  02 February 2013
Originally Posted by lo: Isn't that what you would expect? I suppose the order of events is something like:

  • create VFB object
  • broadcast preImageViewerDisplay
  • create VFB Window
  • broadcast postImageViewerDisplay

VFB object is already created at the moment of pre event. and this object is IImageViewer. VFBInterface works with it as it IImageViewer. but IImageViewer has method GetHDisplayWindow(). so vfb hwnd has to be known at this moment.

there is a moment between window created and shown which i use to destroy the window
  02 February 2013
this is from mxs help:

.IsVisible : boolean : Read|Write
Get/set the visible state of the Image Viewer.

but you can change vfb visibily only after the PostImageViewerDisplay event

  02 February 2013
Would it have killed them to just include
<IVFB>.Handle : HWND : Read
  02 February 2013
Originally Posted by lo: Would it have killed them to just include
<IVFB>.Handle : HWND : Read

that's a rhetorical question. you know the answer.
  02 February 2013
Originally Posted by denisT: the interesting fact is that #preImageViewerDisplay event fires before my hooker catches any vfb window message. that means system creates vfb window after the event.

i was wrong. the VFB window is created BEFORE #preImageViewerDisplay fires. it makes sense. it's activates after. i just had to use HCBT_CREATEWND message...
  02 February 2013
I leave for a few days and come back to a full fledged conversation of some interesting developments going on!

____________ ___ __ _
John A. Martini
  02 February 2013
Thread automatically closed

This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
CGTalk Policy/Legalities
Note that as CGTalk Members, you agree to the terms and conditions of using this website.
Thread Closed share thread

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Society of Digital Artists

Powered by vBulletin
Copyright 2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump

All times are GMT. The time now is 04:14 AM.

Powered by vBulletin
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.