Win32


Windows OWL - . 90


MENUITEM "",CM_HELP

MENUITEM SEPARATOR

MENUITEM "",CM_EXIT

} POPUP ""{

MENUITEM "",CM_POINTS

MENUITEM "",CM_CURVE

MENUITEM "", CM_HISTO

} }

Dlg DIALOG 82, 70, 116, 84

STYLE WS_POPUP|WS_VISIBLE|WS_CAPTION|WS_SYSMENU CLASS "BorDlg"


278 29

CAPTION ""

FONT 8, "MS Sans Serif"{

CTEXT " ",-1,8,7,100,36

CONTROL "",IDOK,"BorBtn",BS_PUSHBUTTON|WS_CHILD|WS_VISIBLE|WS_TABSTOP,40,49,37,25

}

IDB_POINTS BITMAP "29-3pt.bmp" IDB_CURVE BITMAP "29-3cur.bmp" IDB_HISTO BITMAP "29-3hist.bmp" IDB_HELP BITMAP "29-3hlp.bmp" IDB_BLUE BITMAP "29-3blu.bmp" IDB_GREEN BITMAP "29-3gr.bmp" STRINGTABLE{

CM_HELP " "

CM_EXIT " "

CM_POINTS " "

CM_CURVE " "

CM_HISTO " "

CM_BLUE " "

CM_GREEN " "

}

// 29-3.

#include <owl\framewin.h>

#include <owl\decframe.h>

#include <owl\dialog.h>

#include <owl\controlb.h>

#include <owl\toolbox.h>

#include <owl\statusba.h>

#include <owl\buttonga.h>

#include <owl\messageb.h>

#include "29-3.h"

#include <stdio.h>

enum CHOICE{POINTS=CM_POINTS,CURVE=CM_CURVE,HISTO=CM_HISTO}view;

enum COLOR{BLUE=CM_BLUE,GREEN=CM_GREEN}color;

int data[FILESIZE];//

/* , Tapplication*/

class MyApp:public TApplication{

public:

void InitMainWindow() ;// InitMainWindow

};

/* , TdecoratedFrameWlndow*/ class MyWindow:public TDecoratedFrame{