The MASM Forum Archive 2004 to 2012

General Forums => The Workshop => Topic started by: rodderswank on December 05, 2005, 07:36:37 AM

Title: caption for this projecty
Post by: rodderswank on December 05, 2005, 07:36:37 AM
how can i set the titlebar caption to dialog1 in this prject without it messing with the bmp and adding a bluebar uptop?

[attachment deleted by admin]
Title: Re: caption for this projecty
Post by: hutch-- on December 05, 2005, 08:12:13 AM
Your choices are either use the standard one or alternatively write the code to draw your own.
Title: Re: caption for this projecty
Post by: rodderswank on December 05, 2005, 09:20:45 AM
I mean just having a caption on the taskbar and not having a blue bar going across the top.
Title: Re: caption for this projecty
Post by: hutch-- on December 05, 2005, 10:32:58 AM
Same comment, if you don't want to use a normal title bar, you must draw the text yourself. API functions like SetWindowText() are designed to write to the title bar where a GDI based API like DrawText() or TextOut() can be drawn anywhere.
Title: Re: caption for this projecty
Post by: rodderswank on December 05, 2005, 12:16:21 PM
tnx that did the trick.