flash message handling similar to OnFlashCall events?

DLL Edition of the F-IN-BOX
aghatak
Posts: 4
Joined: Thu Oct 29, 2009 7:58 am

flash message handling similar to OnFlashCall events?

Postby aghatak » Tue Dec 08, 2009 3:28 pm

hi

ive got my code to work on pretty much all aspects of my flash app with f-in-box.

just from a clean code perspective, when i process a message like FPCN_FLASHCALL, i dont want to use a global callback using FPCSetEventListener() or using the MyDlg::WindowProc() and listening to WM_NOTIFY.

is there a way i can get to use something like a MyDlg::OnFPCFlashCall() method (im using an MFC / Unicode app)?

thanks
amitabh

Softanics
Site Admin
Posts: 1402
Joined: Sat Sep 18, 2004 3:03 am
Location: Russia, St. Petersburg
Contact:

Postby Softanics » Wed Dec 09, 2009 9:46 am

Thank you for your question.

Yes, just use usual MFC approach:

Code: Select all

ON_NOTIFY(FPCN_FLASHCALL, f_in_box__control_ID, OnFlashCall)


Please read more about ON_NOTIFY here:
http://msdn.microsoft.com/en-us/library/749htf6k.aspx

Thank you.
Best regards, Artem A. Razin,
F-IN-BOX support
Ask your question here: http://www.f-in-box.com/support.html


Return to “DLL Edition”

Who is online

Users browsing this forum: No registered users and 11 guests

cron