Pregunta

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

¿Fue útil?

Solución

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.

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top