class LboxProgressBar : public LboxWintool

  コンストラクタ



  
// *********************************************************
// 拡張コンストラクタ
// *********************************************************
LboxProgressBar::LboxProgressBar( HWND hOwner, HWND hBase )
{
	BaseEdit = NULL;
	BaseEdit = new LboxEdit( hBase );
		
	BaseEdit->Hide( );
	BaseEdit->Disable();

	RECT rt;
	POINT pt;
	GetWindowRect( hBase, &rt );
	pt.x = rt.left;
	pt.y = rt.top;
	ScreenToClient( hOwner, &pt );

	int nW,nH;
	nW = BaseEdit->Width();
	nH = BaseEdit->Height();

	this->hWnd = 
		CreateWindowEx(
			0,
			PROGRESS_CLASS,
			(LPSTR)NULL,
			WS_CHILD |
			WS_VISIBLE,
			pt.x, pt.y, nW, nH,
			hOwner,
			NULL,
			LboxGetInstance( hOwner ),
			NULL
		);

}

LboxProgressBar::LboxProgressBar()
{
	BaseEdit = NULL;
	this->hWnd = NULL;
}

LboxProgressBar::~LboxProgressBar()
{
	if ( BaseEdit != NULL ) {
		delete BaseEdit;
	}
}
  










  infoboard   管理者用   
このエントリーをはてなブックマークに追加





フリーフォントWEBサービス
SQLの窓WEBサービス

SQLの窓フリーソフト

素材

一般WEBツールリンク

SQLの窓

フリーソフト

JSライブラリ