[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

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

Window styles got an idea on this switch

I pulled the following window style from a LPCREATESTRUCT
passed to CFormView::OnCreateClient(LPCREATESTRUCT lpcs, CCreateContext* pContext) as the default window sytle.  Does
anyone have an idea what switch on the last line represent?
 
100|0000|1100|1111|1000|0000|0000|0000      Default Window style
100|0000|0000|0000|0000|0000|0000|0000      WS_CHILD
              1100|0000|0000|0000|0000|0000      WS_CAPTION
              1000|0000|0000|0000|0000|0000      WS_DLGFRAME
                100|0000|0000|0000|0000|0000      WS_DLGFRAME
              1000|0000|0000|0000|0000      WS_SYSMENU
                        100|0000|0000|0000|0000      WS_THICKFRAME
                  10|0000|0000|0000|0000      WS_GROUP
                    1|0000|0000|0000|0000      WS_TABSTOP
->               1000|0000|0000|0000      ?
0
graber
Asked:
graber
  • 2
1 Solution
 
graberAuthor Commented:
Edited text of question
0
 
migelCommented:
This is internal MFC style:
FWS_ADDTOTITLE (defined in the afxwin.h)
".... Include the FWS_ADDTOTITLE style if you want the title bar to automatically display the name of the document represented in the window. ..."
(from MS VC++ description of the CFrameWnd:Create() function)
0
 
graberAuthor Commented:
Thanks...Hows Moscow Russia right now?  That is one place I would like to visit some
day.
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone 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