Solved

Window styles got an idea on this switch

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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

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.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Separate into files by filename 12 91
Hibernate methods 2 83
NotAlone Challenge 20 88
Making an alias 7 114
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: Database storage, where is the exe actually on the disc? Playing a game selected randomly (how to generate random numbers).  Error trapping with try..catch to help the code run even if something goes wrong. Continuing from the seve…
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.
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

749 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