CXTPButton + xtpButtonDropDown? |
Post Reply |
Author | |
kingsollyu
Newbie Joined: 28 September 2012 Status: Offline Points: 2 |
Post Options
Thanks(0)
Posted: 10 January 2013 at 12:35am |
call m_wndButton.SetPushButtonStyle(xtpButtonDropDown);
|
|
znakeeye
Senior Member Joined: 26 July 2006 Status: Offline Points: 1672 |
Post Options
Thanks(0)
|
Yes. And I can see in paint-handler that state is false all the way. Hmmm?
|
|
PokerMemento - http://www.pokermemento.com/
|
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
You call SetState(FALSE) after Custom window disappear ?
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
znakeeye
Senior Member Joined: 26 July 2006 Status: Offline Points: 1672 |
Post Options
Thanks(0)
|
Works for a second or so, then it reverts to unpushed state (when hovering on the popup window).
:(
|
|
PokerMemento - http://www.pokermemento.com/
|
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hi,
Try call SetState(TRUE); / SetState(FALSE);
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
znakeeye
Senior Member Joined: 26 July 2006 Status: Offline Points: 1672 |
Post Options
Thanks(0)
|
Recently upgraded from 13.4.2 to 15.0.2, so I changed my dropdown CXTButton to CXTPButton. When pressed, a custom window is displayed where the user makes his choice. This yields a GUI glitch with the newer CXTPButton class!When the button is pressed I want it to be held down until its custom window is closed. How do I accomplish this? Previously, I performed some CXTButton ownerdraw-stuff to account for the "pushed down" state.
Please help! Dropdown CXTPButton NOT drawn as pressed!
|
|
PokerMemento - http://www.pokermemento.com/
|
|
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 |