Solved

Window styles got an idea on this switch

Posted on 1998-10-16
3
147 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
  • 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
conditional code and condition difference 9 77
has22 challenge 11 78
canBalance challenge 34 69
Fibonacci challenge 11 109
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: Load and Save to file, Document-View interaction inside the SDI. Continuing from the second article about sudoku.   Open the project in visual studio. From the class view select CSudokuDoc and double click to open the header …
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.
CodeTwo Sync for iCloud (http://www.codetwo.com/sync-for-icloud?sts=6554) automatically synchronizes your Outlook 2016, 2013, 2010 or 2007 folders with iCloud folders available via iCloud Control Panel. This lets you automatically sync them with…

911 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now