checkbox in Toast/Popup. |
Post Reply |
Author | |
novastor
Groupie Joined: 18 January 2006 Status: Offline Points: 20 |
Post Options
Thanks(0)
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. |
|
novastor
Groupie Joined: 18 January 2006 Status: Offline Points: 20 |
Post Options
Thanks(0)
|
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. |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |