Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ Callbacks and Timers » Execute(), LPARAM and WPARAM
Execute(), LPARAM and WPARAM [message #19125] Thu, 13 November 2008 18:50 Go to previous message
amando1957 is currently offline  amando1957
Messages: 57
Registered: November 2007
Location: Wien/Vienna/Viden
Member
Hi to all,

I tried an event handler like this:
class midi_in : public Withmidi_inLayout<TopWindow>
{};

GUI_APP_MAIN
{
	midi_in inApp;
	// "lpGot" is just a dummy:
	LPARAM lpGot;
			
	for(;;)
		switch(inApp.Execute())
		{
		// for this I need the LPARAM and WPARAM:
		case MM_MIM_DATA:
			inApp.getMidiInData(lpGot);			
			break;
		case WM_KEYDOWN:
			PromptOK(t_("Want to quit proggy?"));
			return;
		}
	
	inApp.Run();
}

How can I read the LPARAM and WPARAM values now?
Are there any get-functions?

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 24 08:30:17 CEST 2024

Total time taken to generate the page: 0.03593 seconds