Print Page | Close Window

checkbox in Toast/Popup.

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=13437
Printed Date: 23 June 2025 at 12:59am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: checkbox in Toast/Popup.
Posted By: novastor
Subject: checkbox in Toast/Popup.
Date 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.




Replies:
Posted By: novastor
Date 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.



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net