thanks Pallini for the encouragement
but unfortunately i have an assignment to summit on histograms, chi square and gaussian random numbers and i don't know what to do because i have been struggling since last week but to no avail
My dialog is resizable with a list control, and the list control's rect is the whole of dialog's client rect, call CListCtrl::SetBkImage to enable background. My question is how to autofit(stretch) background with the dialog when resizing? Thanks.