You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
50 lines
1.1 KiB
50 lines
1.1 KiB
//----------------------------------------------------------------------------
|
|
// Laser Guard Ltd.
|
|
// Copyright © 2000-2002. All Rights Reserved.
|
|
// Version 1.0 01/01/2000
|
|
// Last modification: 08/10/2003
|
|
// PROJECT:
|
|
// SUBSYSTEM:
|
|
// FILE: DialogItemsPosition.h
|
|
// AUTHOR: Sergey Chizhevskiy
|
|
// OVERVIEW
|
|
// ~~~~~~~~
|
|
// Header file of DialogItemsPosition.h
|
|
//----------------------------------------------------------------------------
|
|
#ifndef __DIALOG__ITEMS__POSITION__H__INCLUDED__
|
|
#define __DIALOG__ITEMS__POSITION__H__INCLUDED__
|
|
|
|
class CDialogItemsPosition
|
|
{
|
|
public:
|
|
CDialogItemsPosition();
|
|
~CDialogItemsPosition();
|
|
|
|
public:
|
|
BOOL Create( HWND hWnd );
|
|
void Center() const;
|
|
void Destroy();
|
|
|
|
private:
|
|
static BOOL CALLBACK EnumChildProc_( HWND hwnd, LPARAM lParam );
|
|
BOOL EnumChildProc( HWND hwnd );
|
|
|
|
private:
|
|
HWND m_hWnd;
|
|
|
|
private:
|
|
typedef struct CTRL_POSITION
|
|
{
|
|
HWND hWnd;
|
|
RECT rect;
|
|
}CTRL_POSITION, *PCTRL_POSITION;
|
|
|
|
private:
|
|
PCTRL_POSITION m_pCtrlPosition;
|
|
INT m_nCtrlPositionCount;
|
|
|
|
private:
|
|
RECT m_Rect;
|
|
};
|
|
|
|
#endif
|