Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > MarkupLabel Control
  New Posts New Posts RSS Feed - Fire User Event
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Fire User Event

 Post Reply Post Reply
Author
Message
jimmy View Drop Down
Senior Member
Senior Member


Joined: 11 November 2003
Location: Austria
Status: Offline
Points: 515
Post Options Post Options   Thanks (0) Thanks(0)   Quote jimmy Quote  Post ReplyReply Direct Link To This Post Topic: Fire User Event
    Posted: 17 January 2014 at 6:14am
Hello,

is there a way to fire a event in software, to show 2 diff pictures.
C++ Sample
OnTimer()
{
  if (val++ & 1)
    DrawBitmap(pic1);
  else
     DrawBitmap(pic2);
}

How can i solve this in XAML / Markup.

???
OnTimer()
{
  if (val++ & 1)
    pMarkupContext->FireEvent("Picture1");
  else
    pMarkupContext->FireEvent("Picture2");
}

Best regards
  Johann


Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.203 seconds.