Solved

Window styles got an idea on this switch

Posted on 1998-10-16
3
159 Views
Last Modified: 2013-11-20
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
Comment
Question by:graber
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 2

Author Comment

by:graber
ID: 1323463
Edited text of question
0
 
LVL 12

Accepted Solution

by:
migel earned 70 total points
ID: 1323464
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
 
LVL 2

Author Comment

by:graber
ID: 1323465
Thanks...Hows Moscow Russia right now?  That is one place I would like to visit some
day.
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction: Dynamic window placements and drawing on a form, simple usage of windows registry as a storage place for information. Continuing from the first article about sudoku.  There we have designed the application and put a lot of user int…
Introduction: Finishing the grid – keyboard support for arrow keys to manoeuvre, entering the numbers.  The PreTranslateMessage function is to be used to intercept and respond to keyboard events. Continuing from the fourth article about sudoku. …
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
In this video, viewers are given an introduction to using the Windows 10 Snipping Tool, how to quickly locate it when it's needed and also how make it always available with a single click of a mouse button, by pinning it to the Desktop Task Bar. Int…

724 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question