The message WM_SIZE is sent when the dialog is resized using
mouse conttols. However the declared sizes in DIALOG NEW are
half of the values fround CBLPARAM (HIWRD,LOWRD). If I divide
by 2 everything seems OK. Is this true for all configurations
when using DDT dialogs?
Now for the hard part. I have to repaint the window with the
new sizes. One strategy would be to uses a timer and repaint
xxx milliseconds after a resize occurs. It appears one has to
destroy the dialog window and then recreate it with the button
and text within the new dimensions. Or is there aa easy way
to remove all the active boxes/text from the screen without
actually destroying the dialog windows?
Does any one have any suggestions for the best way to repaint
a dialog and perhaps some code that does the job with minimum
"visual noise".
Any advice would be appreciated.
mouse conttols. However the declared sizes in DIALOG NEW are
half of the values fround CBLPARAM (HIWRD,LOWRD). If I divide
by 2 everything seems OK. Is this true for all configurations
when using DDT dialogs?
Now for the hard part. I have to repaint the window with the
new sizes. One strategy would be to uses a timer and repaint
xxx milliseconds after a resize occurs. It appears one has to
destroy the dialog window and then recreate it with the button
and text within the new dimensions. Or is there aa easy way
to remove all the active boxes/text from the screen without
actually destroying the dialog windows?
Does any one have any suggestions for the best way to repaint
a dialog and perhaps some code that does the job with minimum
"visual noise".
Any advice would be appreciated.
Comment