HOWTO: v19.3 - CXTPPropertyGridEnum - how to empty |
Post Reply |
Author | |
mgampi
Senior Member Joined: 14 July 2003 Status: Offline Points: 1201 |
Post Options
Thanks(0)
Posted: 21 September 2020 at 3:36am |
Hi; After migration to v19.3, we no longer can 'empty' an enum property. In older toolkit versions we set -1 in ctor and/or to the SetEnum() funtion. This does the trick. In v19.3 we get an assert and the display value is not empty anymore. BTW: The signature and implementation of the SetEnum function is not consistent:
Can you see the int --> unsigned long --> int conversion? Why? |
|
Martin Product: Xtreme Toolkit v 22.1.0, new Projects v 24.0.0 Platform: Windows 10 v 22H2 (64bit) Language: VC++ 2022 |
|
mgampi
Senior Member Joined: 14 July 2003 Status: Offline Points: 1201 |
Post Options
Thanks(0)
|
Hello!
What about this issue? We still see the problem in 19.2 and 19.3. Anyone else? |
|
Martin Product: Xtreme Toolkit v 22.1.0, new Projects v 24.0.0 Platform: Windows 10 v 22H2 (64bit) Language: VC++ 2022 |
|
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 |