Discussion:
how to specify a horizontal line in MFC resource file
(too old to reply)
bav
2007-03-07 19:38:23 UTC
Permalink
Hi;
i have this problem.
I want to add a horizontal line somewhere on the dialog box.
However, i cannot find any control like GROUPBOX|, CHECKBOX
representing a single horizontal line ?
How can i achieve this?

best regards
bav
AliR (VC++ MVP)
2007-03-07 19:40:11 UTC
Permalink
Add a picture control to your dialog and change its type from frame to
vertical etch.

AliR.
Post by bav
Hi;
i have this problem.
I want to add a horizontal line somewhere on the dialog box.
However, i cannot find any control like GROUPBOX|, CHECKBOX
representing a single horizontal line ?
How can i achieve this?
best regards
bav
AliR (VC++ MVP)
2007-03-07 22:05:46 UTC
Permalink
Oops I ment Horizontal Etch.

AliR.
Post by AliR (VC++ MVP)
Add a picture control to your dialog and change its type from frame to
vertical etch.
AliR.
Post by bav
Hi;
i have this problem.
I want to add a horizontal line somewhere on the dialog box.
However, i cannot find any control like GROUPBOX|, CHECKBOX
representing a single horizontal line ?
How can i achieve this?
best regards
bav
bav
2007-03-07 21:27:41 UTC
Permalink
Ok thanks, found:

The result is something like
CONTROL "",IDC_STATIC,"Static",SS_ETCHEDHORZ,49,63,230,1

in the resource RC file.

thanks
Post by AliR (VC++ MVP)
Add a picture control to your dialog and change its type from frame to
vertical etch.
AliR.
Post by bav
Hi;
i have this problem.
I want to add a horizontal line somewhere on the dialog box.
However, i cannot find any control like GROUPBOX|, CHECKBOX
representing a single horizontal line ?
How can i achieve this?
best regards
bav
Loading...