Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - checkbox in Toast/Popup.
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

checkbox in Toast/Popup.

 Post Reply Post Reply
Author
Message
novastor View Drop Down
Groupie
Groupie


Joined: 18 January 2006
Status: Offline
Points: 20
Post Options Post Options   Thanks (0) Thanks(0)   Quote novastor Quote  Post ReplyReply Direct Link To This Post Topic: checkbox in Toast/Popup.
    Posted: 17 February 2009 at 7:58pm
Hi,

We are currently using version 12.1 of toolkit pro and this question is pertaining to the toast/popup that you get at the bottom right usually for status. We have some code like:

    CXTPPopupItem* pItemText = (CXTPPopupItem*)m_pActivePopup->AddItem(new CXTPPopupItem(CRect(8, 50, m_Width - 8, m_Height - 8), m_szPoupMsg));
    pItemText->SetTextAlignment(DT_CENTER|DT_WORDBREAK);
    pItemText->SetTextColor(RGB(255,255,255));
    pItemText->CalculateHeight();
    pItemText->SetHyperLink(FALSE);
   
However CXTPPopupItem does not have any provision to add any control other than text, button, hyperlink. I wanted to add a checkbox. How do i help it?

I also found following link talking about adding dialogs to the popup/toast control is that the way to go or is there any other way?

http://forum.codejock.com/forum_posts.asp?TID=1788

Thanks in advance.

Back to Top
novastor View Drop Down
Groupie
Groupie


Joined: 18 January 2006
Status: Offline
Points: 20
Post Options Post Options   Thanks (0) Thanks(0)   Quote novastor Quote  Post ReplyReply Direct Link To This Post Posted: 20 February 2009 at 12:55pm
Well I am answering my own question. You could have two set of icons for the checkbox and on event click can alter that icon to give you a clickable state feel. In the meantime as a continuation of my earlier question is there a way to have these pop-ups/toasts to cascade when there are multiple toasts like you see in gmail messenger if a user sends u multiple messages. Something more like multiple toasts stack one on top of the other?
Thanks in advance.
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.109 seconds.