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

Home » Community » Newbie corner » Calendar
Re: Calendar [message #57251 is a reply to message #57249] Thu, 17 June 2021 15:58 Go to previous message
BetoValle is currently offline  BetoValle
Messages: 210
Registered: September 2020
Location: Brasil Valinhos SP
Experienced Member
Hi,

below this work!


struct Lbca: Calendar { 
	
	void LeftDouble(Point p, dword keyflags)             //rewriten
	{
	    WhenLeftDouble(p,keyflags);
	    PromptOK("ok");
	    Show(false); //close calendar
	}
	Event<Point, dword> WhenLeftDouble; 
};

class MainWin : public TopWindow
{
    public:
     Lbca ca;

    MainWin()
    {
      Add(ca.LeftPosZ(120, 236).TopPosZ(73, 156)); 
    }

};
		



Thanks!


 
Read Message
Read Message
Previous Topic: TcpSocket, Know when distant connection have been closed
Next Topic: Ultimate++ vs Wxwidgets for desktop linux/windows/mac app
Goto Forum:
  


Current Time: Mon Sep 28 19:12:12 GMT+2 2026

Total time taken to generate the page: 0.02139 seconds