Hi all ppl, can somebody explain how can i change the blue colour where the caption is in a DialogBoxParam?, if is in an example i see better, i want personalize this. Thanks
Posted on 2002-10-06 16:40:12 by piscisss
1) I have no idea what you want.
2) You posted in the wrong forum (moved)
3) Just a reminder: Keep the RE crap outta here
Posted on 2002-10-06 18:14:10 by bazik
I think you can't, you have to make a window without caption and then draw your own.
Posted on 2002-10-06 18:18:19 by _js_
You COULD do it in window's settings, but that would affect ALL windows, not just your program. I THINK you might be able to do a little sub/super classing so that you can create a DialogBox with a different caption.
Posted on 2002-10-08 02:22:56 by AmkG
The only way to do it is to owner-draw the title bar. Do a search on that subject, there are plenty of examples out there.
Posted on 2002-10-08 06:17:10 by sluggy
yes, custom titlebars are possible without using any dirty tricks...
we had this topic already, look here

but i really doubt that these techniques are better than drawing your own
one... this would be way better to implement...
Posted on 2002-10-08 09:06:58 by mob
I put just what you need into a small example
it has no text or Icon, I can add that stuff if
you ask for it, I just did this example in just
15 minutes. I got lazy LOL.

Posted on 2002-10-08 12:03:37 by Zcoder
Hey I got my lazyness over with and
finished the fake titlebar example.
the minimize maximize and close buttons
work just like real ones and also show
tool tips for each button, the window has
two colors for active and none active titlebars.
of course you can change the two colors to
what ever you want. and it draws the Icon
found in the resource and buts it into the
titlebar. this window looks feels and acts like
real windows with titlebars exept it has it's own
titlebar colors. if you like this one ask me and I
will make one with a titlebar the starts with one
color and fades to another color.

Posted on 2002-10-09 03:37:25 by Zcoder
This is the last of the titlebar examples
it has all you need to know on how to
create Cool looking titlebars this one
gives you a VERY good Idea, so you
can create your own Ideas, this is
the best of all the ones I have made.

Good luck....

Posted on 2002-10-09 18:25:46 by Zcoder
nice, i like it very much

isn't this RECT structure a piece of filth... god can it be harder
to store simple coordinates? i never understood why ms wanted to
do it this way...
Posted on 2002-10-10 04:30:54 by mob
Very nice but missing some small things...
When you double click on the title bar it doesn't maximize/restore it and no system menu either...
Posted on 2002-10-10 12:02:16 by JCP
Thanks very much for this examples so nice that u send to me, and the rest of replies, is this that i want, but also, on can change the colour,but on can kill the minimize, maximize and close?
because i think that this would be WITH cREATEWINDOW, NO?
ok, thanks for examples
Posted on 2002-10-10 17:09:25 by piscisss