U++ framework
Do not panic. Ask here before giving up.

Home » U++ Library support » U++ Callbacks and Timers » Execute(), LPARAM and WPARAM
Re: Execute(), LPARAM and WPARAM [message #19141 is a reply to message #19132] Fri, 14 November 2008 21:23 Go to previous messageGo to previous message
amando1957 is currently offline  amando1957
Messages: 57
Registered: November 2007
Location: Wien/Vienna/Viden
Member

Made it like this now:
LRESULT midi_in::WindowProc(
	UINT message, WPARAM wParam, LPARAM lParam)
{
	switch(message)
	{
	case MM_MIM_DATA:
		getMidiInData(lParam);			
		break;
	case WM_KEYDOWN:
		if (wParam==27) 
			if (PromptYesNo("Want to quit proggy?"))
			{	Ctrl::ExitWin32();
			}
		return 0;
	}
	
	return Ctrl::WindowProc(message, wParam, lParam);
}

and that runs, given the call of the base function on bottom.
Thanks for the hint.

Martin
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: callbacks and objects
Next Topic: How can I stop the timer?
Goto Forum:
  


Current Time: Wed Apr 29 08:48:42 GMT+2 2026

Total time taken to generate the page: 0.00662 seconds