- Joined
- Aug 7, 2013
- Messages
- 1,338
Hi,
For the life of me I have no idea what's going on here.
Basically I have a dialog and it it has a title (the dialog message, the text above all the buttons).
But when I click a certain button and re-display the dialog, the message no longer appears. All the buttons still work properly, but the title of the dialog is just gone. I checked to see if somehow the string got nulled, but it didn't. The string still displays.
Here is the relevant code. The first is the code behind the dialog, and the second is the only place where I set the dialog's titles.
If I hit the "QUIT_BTTN", the title doesn't get removed. But if I hit the "REVIVE_BTTN," then all future dialogs won't have the title at all.
Why should the title be getting nulled, when I never ever call DialogSetMessage or reference that dialog again in such a way?
For the life of me I have no idea what's going on here.
Basically I have a dialog and it it has a title (the dialog message, the text above all the buttons).
But when I click a certain button and re-display the dialog, the message no longer appears. All the buttons still work properly, but the title of the dialog is just gone. I checked to see if somehow the string got nulled, but it didn't. The string still displays.
Here is the relevant code. The first is the code behind the dialog, and the second is the only place where I set the dialog's titles.
If I hit the "QUIT_BTTN", the title doesn't get removed. But if I hit the "REVIVE_BTTN," then all future dialogs won't have the title at all.
Why should the title be getting nulled, when I never ever call DialogSetMessage or reference that dialog again in such a way?
Last edited: