Share via

rc constructor question?

D.D.K-2637 966 Reputation points
2021-05-25T14:39:53.163+00:00

Hi,
in my file.rc:

BEGIN
....
CONTROL "",IDC_STATIC,"Static",SS_BLACKFRAME,4,4,106,50
END

What do these numbers 4, 4, 106, 50 mean?
I tried doing the following but it's not the same as the design:

CRect rcClickMe; // The CRect object for this control's rectangle area
SetRect(&rcClickMe, 4, 4, 106, 50);
label.Create(nil, SS_WHITEFRAME, rcClickMe,c, IDC_image1);

Thanks you!

Developer technologies | C++
Developer technologies | C++

A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.

0 comments No comments

Answer accepted by question author

David Lowndes 4,731 Reputation points
2021-05-25T14:47:10.263+00:00

Was this answer helpful?


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.