Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Can I change elements like Static (their captions) dynamically in a dialog?

0
Posted

Can I change elements like Static (their captions) dynamically in a dialog?

0

It depends on the dialog type used. After the dialog creation and Dialog function call, you can’t. But you can close the dialog, change its caption and recreate the dialog. If you do all that in a sequence it will be rather fast. If you use the DialogEx function, you can send the DM_SETTEXT message to the DialogAPI from the function that handles the dialog. • Q: OK, I use the DialogAPI, but the set of control elements handled by FAR isn’t sufficient for me. A: Use the DI_USERCONTROL element. It handles the element drawing and controls it – the plugin can do all the stuff! • Q: Why the ListBox and ComboBox are so crude? I can’t deal with them in a usual way – I have to extricate from this problem in order to add or delete them. A: What do you want from the very first version of the DialogAPI? • Q: Why the buttons for closing the window don’t work in the “new-style” dialog? A: “Old-style” ones don’t have a handler. It’s no wonder that their behavior should be the same as in FAR 1.65 and

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123