Creating Windows without non-client area

I would like to create a main Window class that has neither a frame, nor a menu or a Windows bar, just the client area (maybe a 1 pixel black frame). Can I use CWnd as base class and which methods I would need to overwrite? Or is it easier to overwrite the methods for drawing the non-client area?
busseAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
aasifConnect With a Mentor Commented:
The easiest way is to define a dialog without title bar.
0
 
busseAuthor Commented:
Can you use a Dialog as base Window class? The whole App should neither have a Window bar nor a menu...

A lttle more information would be nice.
0
 
aasifCommented:
Yes, you can use CDialog class as your base class.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.