Hi,

In my code, i have a customed CDialog class, for some reasons in a customed CBitmapButton, I need to add a maximized property on my cdialog before each other component (button, edit...) is created.

Adding "ShowWindow(SW_SHOWMAXIMIZED);" in OnInitDialog function isn't what i'm looking for

thanks for your help.