[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 185
  • Last Modified:

Please fix my Win32 code

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
SuperMario
Asked:
SuperMario
1 Solution
 
PinTailCommented:
You haven't included WS_CAPTION as a dwStyle (fourth parameter to CreateWindowEx).

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.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now