Files
Client/Library/dxx8/samples/Multimedia/DirectShow_WinXP/VMR/VMRMix/DlgWait.cpp
LGram16 e067522598 Initial commit: ROW Client source code
Game client codebase including:
- CharacterActionControl: Character and creature management
- GlobalScript: Network, items, skills, quests, utilities
- RYLClient: Main client application with GUI and event handlers
- Engine: 3D rendering engine (RYLGL)
- MemoryManager: Custom memory allocation
- Library: Third-party dependencies (DirectX, boost, etc.)
- Tools: Development utilities

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-29 16:24:34 +09:00

65 lines
1.5 KiB
C++

//------------------------------------------------------------------------------
// File: DlgWait.cpp
//
// Desc: DirectShow sample code
// Progress bar 'wait' dialog
//
// Copyright (c) 2000-2001 Microsoft Corporation. All rights reserved.
//------------------------------------------------------------------------------
#include "stdafx.h"
#include "VMRMix.h"
#include "DlgWait.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CDlgWait dialog
CDlgWait::CDlgWait(int nMax, CWnd* pParent /*=NULL*/)
: CDialog(CDlgWait::IDD, pParent)
{
m_Max = nMax;
//{{AFX_DATA_INIT(CDlgWait)
// NOTE: the ClassWizard will add member initialization here
//}}AFX_DATA_INIT
}
void CDlgWait::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CDlgWait)
DDX_Control(pDX, IDC_PROGRESS, m_Progress);
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(CDlgWait, CDialog)
//{{AFX_MSG_MAP(CDlgWait)
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CDlgWait message handlers
BOOL CDlgWait::OnInitDialog()
{
CDialog::OnInitDialog();
m_Progress.SetRange(0, (WORD) m_Max);
return TRUE; // return TRUE unless you set the focus to a control
// EXCEPTION: OCX Property Pages should return FALSE
}
void CDlgWait::SetPos( int n)
{
m_Progress.SetPos( n);
}