Red de conocimiento informático - Problemas con los teléfonos móviles - ¿Cómo agregar un botón en VC?

¿Cómo agregar un botón en VC?

Agregar un botón dinámicamente

CButton *pBtn = new CButton;

pBtn-gt; Create("jeje", WS_CHILD | WS_VISIBLE | BS_PUSHBUTTON, CRect( 0, 0, 100, 100), this, 123);

pBtn-gt; ShowWindow(SW_SHOW);

Se puede mostrar