문제

When I make a dialog with visual c++ editor, I would see the code generated by my editor to make the window components..It's possible? When I double-click on a component, I see only the handler

도움이 되었습니까?

해결책

The controls/components of a Dialog Box are described in a Resource Template, in a RC file. In the Solution Explorer, right click on the RC file in "Resource Files" and then choose "Open with..." and select "C++ Code Editor".

The link between the content of the RC file and the C++ code creating the Dialog Box at Run Time is done via the CreateDialog API, or one of his cousin, as CreateDialogParam.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top