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
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
2) You posted in the wrong forum (moved)
3) Just a reminder: Keep the RE crap outta here
I think you can't, you have to make a window without caption and then draw your own.
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.
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.
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...
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...
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.
Zcoder.....
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.
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.
Zcoder......
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.
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....
Zcoder.....
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....
Zcoder.....
nice, i like it very much
btw
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...
btw
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...
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...
When you double click on the title bar it doesn't maximize/restore it and no system menu either...
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
because i think that this would be WITH cREATEWINDOW, NO?
ok, thanks for examples