Реферат: Системне програмне забезпечення С
ON_COMMAND( AFX_ID_RESUET_RESUET, OnRESULT)
ON_COMMAND( AFX_ID_FILE_Dialog, OnDialog)
END_MESSAGE_MAP()
//-------------------------------------------------------------------
class CChildWnd:public CFrameWnd
{
protected:
POINT p;
afx_msg void OnPaint();
DECLARE_MESSAGE_MAP();
public:
CChildWnd(CWnd *pParent)
{
CRect wndSize(0,0,300,300);
Create(NULL,"ChildWindow",WS_OVERLAPPEDWINDOW|
WS_CHILD,wndSize,pParent);
}
};
BEGIN_MESSAGE_MAP(CChildWnd,CFrameWnd)
ON_WM_PAINT()
END_MESSAGE_MAP()
void CChildWnd::OnPaint()
{
CPaintDC dc(this);
if (!bRunned)
{
char str2[20];
CPen pen,pen1;
CRect rect;