Win32


Windows OWL - . 70


#define CM_EXIT 24310

#define IDC_POINTS 101

#define IDC_CURVE 102

#define IDC_HISTO 103

#define FILESIZE

// 28-4.rc #include "28-4.h" MainMenu MENU{ POPUP ""{

MENUITEM "...",CM_VIEW

MENUITEM SEPARATOR

MENUITEM "",CM_EXIT

} }

Dlg DIALOG 100,15,116,66 STYLE WS_CHILD|WS_VISIBLE|WS_CAPTION


266 28

CLASS "BorDlg_Gray"

CAPTION " "

FONT 8, "MS Sans. Serif"{

CONTROL "",IDC_POINTS,"BUTTON",BS_AUTORADIOBUTTON|WS_GROUP, 8,9,60,12

CONTROL "",IDC_CURVE,"BUTTON",BS_AUTORADIOBUTTON,8,27,60,12

CONTROL "",IDC_HISTO,"BUTTON",BS_AUTORADIOBUTTON,8,45,60,12

CONTROL "", IDOK,"BorBtn",BS_PUSHBUTTON|WS_CHILD|WS_VISIBLE|WS_GROUP,72,29,37,25

}

// 28-4.cpp

#include <owl\framewin.h>

#include <owl\dialog.h>

#include "28-4.h"

#include <stdio.h>

class MyWindow;//

MyWindow* myWin;//

/* , Tapplication*/

class MyApp:public TApplication{

public:

void InitMainWindow();// InitMainWindow

};

/* , TframeWindow*/ class MyWindow:public TFrameWindow{ public:

int view;//

int data[FILESIZE];//

MyWindow(TWindow*,char far*);

void SetupWindow();// SetupWindow

void Paint(TDC&,bool,TRect&);// Paint

void GetWindowClass(WNDCLASS&);// GetWindowClass

void CmView();// ""

DECLARE_RESPONSE_TABLE(MyWindow);//