class LboxDTPicker : public LboxWintool


  SetDateSystemtime



  
// *********************************************************
// 日付の SYSTEMTIME の設定
// 戻り値 : 設定できない日付を指定すると false
// *********************************************************
BOOL LboxDTPicker::SetDateSystemtime( SYSTEMTIME *st )
{
	BOOL bRet;

	if ( this->bNoData ) {
		if ( st->wYear == 0 && st->wMonth == 0 && st->wDay == 0 ) {
			DateTime_SetSystemtime( this->hWnd, GDT_NONE, st );
		}
		else {
			bRet = DateTime_SetSystemtime( this->hWnd, GDT_VALID, st );
			if ( !bRet ) {
				DateTime_SetSystemtime( this->hWnd, GDT_NONE, st );
			}
		}
		return true;
	}
	else {
		bRet = DateTime_SetSystemtime( this->hWnd, GDT_VALID, st );
		return bRet;
	}
}
  










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





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

SQLの窓フリーソフト

素材

一般WEBツールリンク

SQLの窓

フリーソフト

JSライブラリ