Click here to Skip to main content
15,032,256 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
How icon of Cpropertysheet is removed/Hided. if icon is provided by default, how we can remove/Hide it?

What I have tried:

I tried to find the icon in my code but i was not able to found..I think its default..
Updated 15-Oct-19 21:59pm

1 solution

Which icon are you referring to? Have you checked the CPropertySheet Class | Microsoft Docs[^] documentation?
Beginner_mfc 16-Oct-19 4:09am
I am talking about the icon present on top left corner of my property sheet.I drilled downed the Microsoft docs but unable to found anything there..
Richard MacCutchan 16-Oct-19 4:20am
I think the icon is automatically added based on the Windows style WS_CAPTION in the dialog resource. But the document warns against switching this feature off.
Beginner_mfc 16-Oct-19 4:24am
I guess there is no dialog resource availabile for Cpropertysheet means .rc file is not used for styling it.So how can i switch off that feature
Richard MacCutchan 16-Oct-19 4:54am
Like I said, you cannot switch it off. It is part of the MFC class, which you do not have control over.
Richard MacCutchan 16-Oct-19 4:22am
As with your previous questions, I think you will face issues like this as long as you use MFC. If you want better control over the visual aspects of your applications then use the Win32 API rather than the MFC classes.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900