Solved

Please fix my Win32 code

Posted on 2000-05-17
1
178 Views
Last Modified: 2010-04-02
Can someone have a gander at this URL:

http://www.catapultic.com/WindowsProgramming.html

and tell me why I never get a title bar to appear? For some reason, I always get a square.

I would think that a title bar would appear even if I didn't have a resource script... right?

thanks,
-Dan
0
Comment
Question by:SuperMario
1 Comment
 
LVL 3

Accepted Solution

by:
PinTail earned 20 total points
ID: 2820464
You haven't included WS_CAPTION as a dwStyle (fourth parameter to CreateWindowEx).

0

Featured Post

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

When writing generic code, using template meta-programming techniques, it is sometimes useful to know if a type is convertible to another type. A good example of when this might be is if you are writing diagnostic instrumentation for code to generat…
Unlike C#, C++ doesn't have native support for sealing classes (so they cannot be sub-classed). At the cost of a virtual base class pointer it is possible to implement a pseudo sealing mechanism The trick is to virtually inherit from a base class…
The viewer will learn how to user default arguments when defining functions. This method of defining functions will be contrasted with the non-default-argument of defining functions.
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.

816 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

8 Experts available now in Live!

Get 1:1 Help Now