refresh current dialog?
Posted 24 August 2001 - 20:54
Posted 01 September 2001 - 12:55
I'm also having a refresh problem. I posted it in the Developer 7 topic -> properties and controls.
In some cases, the controls get refreshed, p.e. when the you push cancel and choose not to end the installation. (The dialog should appear on top of the control).
Now I try to enforce a refresh using a custom action which calls SendMessage. I want to send a windows message to the current window to force a refresh, but it doesn't work yet.
If you have a solution, please post it somewhere on the forum.
Posted 01 September 2001 - 17:44
Background: dialogs don't refresh in general, you have to reload the dialog to put changes into effect. Exception from this rule is if you change anything that sends a message that causes a refresh. One such thing is the selection of a radio button (as you can see in the liocense dialog where the Next button is disabled until the user accepts the agreement). I'm not sure if there's another way to trigegr a refresh, or which windows messages you'd have to send. But the twin dialog works reliably.
Posted 02 September 2001 - 13:33
I already tried to put some conditions,( depending on the current and last selected item,) before an event should occur, but it didn't workout yet.