[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 214
  • Last Modified:

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?
0
busse
Asked:
busse
  • 2
1 Solution
 
aasifCommented:
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

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now