Solved

Window styles got an idea on this switch

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

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

Suggested Solutions

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 …
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.
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…

708 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

16 Experts available now in Live!

Get 1:1 Help Now