PianoGeek (6) [Avatar] Offline
#1
Hi,
I'm trying to send the lpevent->data1 to OnDraw() so I can see a note to screen. Problem I'm finding is that because CMaxMidiIn has CWnd as its base class, the textout is sent to CMainFrame or the window frame and not to the white area or client area. And it is erased when the screen is scrolled. Also if I try to use an Invalidate() to trigger OnDraw() I get an error.

I saw a similar post in the forum. And there was a solution given by using MyWinApp. But I couldn't understand specifically what was being said in using MyWinApp instead of CView? Could someone help? Thanks!

PianoGeek