Логин: Пароль:    Регистрация Всеми возможностями сайта можно пользоваться
только после авторизации.
   Забыли пароль?

Поиск
L



Статистика
u
Пользователи онлайн: нет
Гостей онлайн: 5
Всего онлайн: 5
Зарегистрировано юзеров: 7937
Комментариев на сайте: 698
Новый юзер: Micahmum



Последние комментарии
c
Dennisvoifs прокомментировал "Урок 3 - Конструкция IF...THEN...ELSE":
Пункт коммерческого учета цена, Ктп комплектные трансформаторные подстанции москва, Производство ктп москва и не только Вы найдете на нашем специализированном сайте: - Вам к нам!https://sviloguzov.ru/
Arthurneime прокомментировал "Урок 53 - Потоки в Delphi, (часть 1/3)":
[img]https://masterfutures.ru/wp-content/uploads/2020/03/14-2.png[/img] Online trading is becoming increasingly popular, as more people learn of the earning potential of platforms such as Broker, a broker which caters to a significant audience of digital traders (12 million and counting). Known for their excellent user interface, as well as fast deposit and withdrawal times, Broker provides multiple features to help traders earn on the markets. This overview will outline just some of the key aspects traders can expect to enjoy whilst working with Broker broker. Online trading is becoming increasingly popular, as more people learn of the earning potential of platforms such as Broker, a broker which caters to a significant audience of digital traders (12 million and counting). Known for their excellent user interface, as well as fast deposit and withdrawal times, Broker provides multiple features to help traders earn on the markets. This overview will outline just some of the key aspects traders can expect to enjoy whilst working with Broker broker. Broker Broker is operated by a dedicated team, whose main priority has always been to provide the best possible user experience, and ultimately satisfaction. Whether experienced in trading or a newcomer, the platform is easy to use and very responsive. The education section deserves special mention, particularly for assisting traders to learn and implement new strategies – which can be tested on the platforms free demo Source: [url=https://bit.ly/35fv3B6/]Broker[/url] https://bit.ly/35fv3B6/ Tags: Broker

Изменение громкости звуков в Windows

Изменить громкость звуков в Windows можно при помощи следующих функций.

uses MMSystem;
function GetWaveVolume: DWord; 
var Woc : TWaveOutCaps; 
Volume : DWord; 
begin 
result:=0; 
if WaveOutGetDevCaps(WAVE_MAPPER, @Woc, sizeof(Woc)) = 
MMSYSERR_NOERROR then begin 
if Woc.dwSupport and WAVECAPS_VOLUME = WAVECAPS_VOLUME then begin 
WaveOutGetVolume(WAVE_MAPPER, @Volume); 
Result := Volume; 
end; 
end; 
end;

procedure SetWaveVolume(const AVolume: DWord); 
var Woc : TWaveOutCaps; 
begin 
if WaveOutGetDevCaps(WAVE_MAPPER, @Woc, sizeof(Woc)) = 
MMSYSERR_NOERROR then begin 
if Woc.dwSupport and WAVECAPS_VOLUME = WAVECAPS_VOLUME then 
WaveOutSetVolume(WAVE_MAPPER, AVolume); 
end; 
end;

procedure TForm1.Button1Click(Sender: TObject); 
begin 
Beep; 
end;

procedure TForm1.Button2Click(Sender: TObject); 
var LeftVolume: Word; 
RightVolume: Word; 
begin 
LeftVolume := StrToInt(Edit1.Text); 
RightVolume := StrToInt(Edit2.Text); 
SetWaveVolume(MakeLong(LeftVolume, RightVolume)); 
end;

procedure TForm1.Button3Click(Sender: TObject); 
begin 
Caption := IntToStr(GetWaveVolume); 
end;

Вот и всё, Удачи!

Источник: www.thedelphi.ru
Автор: Савельев Александр
Опубликовано: 17 Ноября 2013
Просмотров:


Зарегистрируйтесь или авторизуйтесь, чтобы добавлять комментарии.