Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class MyMessageWindow : MessageWindow
- {
- private FmRadioTest radiotest = null;
- public MyMessageWindow(FmRadioTest radiotest)
- {
- this.radiotest = radiotest;
- }
- protected override void WndProc(ref Message m)
- {
- base.WndProc(ref m);
- if (m.Msg == GFMAPI.WM_FMNOTIFICATION)
- {
- // wParam holds reference to FMDevice, but I only support one device anyway
- radiotest.ReceivedNotification();
- }
- }
- }
Add Comment
Please, Sign In to add comment