ID:184092
Jan 4 2007, 3:42 pm
|
|
I've been working on a program for a while and i'm thinking of having a custom titlebar which is called from a DLL file because i plan to use it for more than one program. If people could give code snippets of how to make your own.
|
In response to Crispy
|
|
1.A custom titlebar so i can have different height, color and buttons on it.
2.I was thinking about how stupid that was after i posted it and forgot to edit it out. 3.Same as number 2 |
In response to Upinflames
|
|
Upinflames wrote:
A custom titlebar so i can have different height, color and buttons on it. I wonder why you want to complicate your application's learning curve (and your life) by using a non-standard interface. =/ They can look "cool" but they often sacrifice usability. Usability is more important than looks. If you're really set on it, the way to go about it would be to create your program's main window without a standard Windows titlebar. Then you need to draw stuff on the window and make it respond to events so that it behaves how you want it to. It's essential to provide replacements for the minimize/maximize/close buttons, and that sort of thing. I've never done this before so I don't know exactly how to do it. Instead I'm just going to point you to http://msdn.microsoft.com - the site is difficult to navigate, but all the information you need is buried in there somewhere. |
In response to Crispy
|
|
ok ill check around msdn
|
Custom titlebar? How so?
Why must a DLL be involved?
Why does using it for more than one program matter?