[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

Creation of Main Window without a Title Bar

Posted on 2004-09-24
2
Medium Priority
?
199 Views
Last Modified: 2013-12-03
I am trying to make the initial window when my program starts to appear without a title bar - that is, the only area that I would like to appear is the client area with a border around it.  I have tried the various suggestions given within this forum, but none have thus far worked.  My usual results include:

* a very small window appearing on the left hand side of my window
* nothing at all (usually when I use WS_POPUP)
* a blue title bar field and the client area without any borders

I am programming in C using Visual Studio.net.  Can someone please let me know which window style (or window style combinations) that I should use within the CreateWindow (or CreateWindowEx ) function?  Also, is it necessary for me to specify something for the caption option within this function, since I am not going to display the title bar?
0
Comment
Question by:jtrades
[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 Comments
 
LVL 86

Accepted Solution

by:
jkr earned 750 total points
ID: 12144456
I assume you mean a "Splash Screen". All you have to do is to either not set or remove the styles WS_CAPTION, WS_SYSMENU and WS_OVERLAPPED, so that basically WS_BORDER|WS_VISIBLE|WS_POPUP remain and also set WS_EX_TOPMOST.
0
 

Author Comment

by:jtrades
ID: 12192919
Thanks for the styles.  Just one addition to your comment.  At first, no window was displaying until I changed the values for the size of the window from default (I had my window take up the entire screen - used GetSystemMetrics(SM_CXSCREEN) && GetSystemMetrics(SM_CYSCREEN).  After that, everything was fine.
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering 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

zlib is a free compression library (a DLL) on which the popular gzip utility is built.  In this article, we'll see how to use the zlib functions to compress and decompress data in memory; that is, without needing to use a temporary file.  We'll be c…
For a while now I'v been searching for a circular progress control, much like the one you get when first starting your Silverlight application. I found a couple that were written in WPF and there were a few written in Silverlight, but all appeared o…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…

649 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