I'm working on a project that uses VLF. All is fine, but when i try to cancel a bottomdialog it crashes. This only happens when only X button is displayed, like this:
Code: Select all
vlfGuiBottomDialog(-1, VLF_DI_ENTER, 1, 0, VLF_DEFAULT, NULL);
With the previous beta versione all worked fine.
Can someone help me?
Thanks.
ab5000
EDIT: I've done some other testing. When the bottomdialog only displays O:
Code: Select all
vlfGuiBottomDialog(VLF_DI_BACK, -1, 1, 0, VLF_DEFAULT, OnBackFromHwInfo);
- BottomDialog with X + O = No Crash
- BottomDialog with O = No Crash
- BottomDialog with X = Crash!!!
Then i've swapped X and O (O=Enter, X=Back), but X always crashes. So key layout (EUR/JAP) doesn't matter.