Page 1 of 1

flash message handling similar to OnFlashCall events?

Posted: Tue Dec 08, 2009 3:28 pm
by aghatak
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

Posted: Wed Dec 09, 2009 9:46 am
by Softanics
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.