I am wondering how I can draw a separator on my dialog box, th eone same as that you see in some drop-down menu. I think it simple to you but soooo difficult to me . I need it to look like a 3d line.
Thank you
Printable View
I am wondering how I can draw a separator on my dialog box, th eone same as that you see in some drop-down menu. I think it simple to you but soooo difficult to me . I need it to look like a 3d line.
Thank you
I have 2 picture boxes and I want a separator in between
Do you mean a splitter window? But i can't see the link between a splitter window and a dropdown menu....
Alt-F on your web browser, you can then see the line.
If you know how to do that, could you post something about it please?
In the resource of a menu, you definebut I don't know how you can easily write a line in a dialog box.Code:MENUITEM SEPARATOR
I hope the attached image suggest what you must do with no other comments. ;)
But there are some developers who do not know how to do that, :(
But sadly, your image isnt what I really wanted.
So now I post an image please have a look and tell me how that can be accomplished.
Many thanks inadvance to you by the way...
It's a simple static or picture control (as ovidiucucu shown) with 1 pixel height and an etched border:
Can be:Code:CreateWindow("STATIC", "", WS_CHILD | WS_VISIBLE | SS_ETCHEDFRAME, 5,5,
100, //the length
1, //1 pixel (or 2) high
hwnd, (HMENU)-1, //IDC_STATIC?
GetModuleHandle(NULL), NULL);
- SS_ETCHEDFRAME
- SS_GRAYFRAME
- SS_GRAYRECT
- SS_BLACKFRAME
- look here for more...
Let us play "Etched-Raised"... :DQuote:
Originally Posted by buffal
- change "Color" combo selection from "Etched" to "Gray"
- go to "Extended Styles" tab and check "Modal frame"
- drag to size the static control until see a line you like.
Not yet satisfied? Play yourself with styles/extended styles.
Thank you kkez and ovidiucucu. That is what I am looking for,