home *** CD-ROM | disk | FTP | other *** search
- // (c) Copyright 1994 HEX TECHNOLOGY. All rights reserved.
- // This sample code is provided as a example implementation
- // using barcodes.dll. You may only distribute or modify this
- // code if you purchase a license for barcodes.dll.
-
-
-
- #include "stdafx.h"
- #include "bartest.h"
- #include "bardoc.h"
- #include "barvw.h"
-
- #ifdef _DEBUG
- #undef THIS_FILE
- static char BASED_CODE THIS_FILE[] = __FILE__;
- #endif
-
- /////////////////////////////////////////////////////////////////////////////
- // CBarFrame
-
- IMPLEMENT_DYNCREATE(CBarFrame, CMDIChildWnd)
-
- CBarFrame::CBarFrame()
- {
- }
-
- CBarFrame::~CBarFrame()
- {
- }
-
-
- BEGIN_MESSAGE_MAP(CBarFrame, CMDIChildWnd)
- //{{AFX_MSG_MAP(CBarFrame)
- //}}AFX_MSG_MAP
- END_MESSAGE_MAP()
-
- /////////////////////////////////////////////////////////////////////////////
- // CBarFrame message handlers
-
- BOOL CBarFrame::PreCreateWindow(CREATESTRUCT &lpCreateStruct) {
- CMDIChildWnd::PreCreateWindow(lpCreateStruct);
-
- lpCreateStruct.style -= WS_MAXIMIZEBOX;
- if( lpCreateStruct.style & WS_VSCROLL)
- lpCreateStruct.style -= WS_VSCROLL;
- if( lpCreateStruct.style & WS_HSCROLL)
- lpCreateStruct.style -= WS_HSCROLL;
- if( lpCreateStruct.style & WS_THICKFRAME)
- lpCreateStruct.style -= WS_THICKFRAME;
-
- return TRUE;
- }
-
-
-
-
-
-
-