How to Remove TitleIcon for CDialog if border is Resized VC++
-
Hi all, I have changed the CDialog properties. In CDialog i have changed Border syle as "Resizing" from "Dialog Frame". If i changed this Property, An Icon is been displayed in the Dialog. I dont want to have an extra Icon in the Dialog TitleBar. What should i do. I tried with SetIcon(NULL,TRUE) //remove the ICON from TitleBar when changing the Border Style. Thanks & Regards uday.
-
Hi all, I have changed the CDialog properties. In CDialog i have changed Border syle as "Resizing" from "Dialog Frame". If i changed this Property, An Icon is been displayed in the Dialog. I dont want to have an extra Icon in the Dialog TitleBar. What should i do. I tried with SetIcon(NULL,TRUE) //remove the ICON from TitleBar when changing the Border Style. Thanks & Regards uday.
-
Hi Dev, As you given a solution SetIcon(NULL, FALSE); SetIcon(NULL, TRUE); For both Big ICON and Small ICON. I am still able to see an Empty White ICON. Any suggestions please. Thanks & Regards, Uday.
-
Hi Dev, As you given a solution SetIcon(NULL, FALSE); SetIcon(NULL, TRUE); For both Big ICON and Small ICON. I am still able to see an Empty White ICON. Any suggestions please. Thanks & Regards, Uday.
-
Hi all, I have changed the CDialog properties. In CDialog i have changed Border syle as "Resizing" from "Dialog Frame". If i changed this Property, An Icon is been displayed in the Dialog. I dont want to have an extra Icon in the Dialog TitleBar. What should i do. I tried with SetIcon(NULL,TRUE) //remove the ICON from TitleBar when changing the Border Style. Thanks & Regards uday.
It seems the icon is displayed because of WS_SYSMENU style. So, one option would be to disable System Menu style.