🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.lang.delphi
Article #117

Re: Ustawianie Dźwięki

#117
From: Krzysztof Swiatkowski
Date: Wed, 17 Sep 1997 21:39
45 lines
2112 bytes
On Sun, 14 Sep 1997 22:49:13 GMT, in pl.comp.lang.delphi
ZmieńNa_trzcionk@us.edu.pl (Piotr Trzcionkowski) wrote:

>
>Czy ktoś orientuje się jak umożliwić w programie wołanie Dźwięki z
>Control Panel? Tak się składa, że jest to ukryte w ramach MMSYS.CPL
>stąd nie ma bezpośredniego dojścia.
Głowy że to pomoże to ja nie dam ale... Jest w Win95/NT4 komunikat
WM_CPL_LAUNCH, który w zasadzie chyba robi to co chcesz. Tylko musisz
najpierw uruchomić Control Panel, ale to nie jest problem. Oto opis:

 
WM_CPL_LAUNCH 
hwnd = (HWND) wParam;          // handle of sending window 
lpszAppName = (LPSTR) lParam;  // application-name string 
 
  
An application sends the WM_CPL_LAUNCH message to Windows Control Panel to
request that a Control Panel application be started. 

Parameters

hwnd
Value of wParam. Specifies the handle of the window sending the message. The
WM_CPL_LAUNCHED message is sent to this window. 

lpszAppName
Value of lParam. Specifies a far pointer to a string containing the name of
the Control Panel application to open. 

Return Value
If the application starts, the return value is TRUE; otherwise, it is FALSE.


HTH
Hobbit

--
--------------------------------- >>> replying cut nospam from my address
Krzysztof Swiatkowski - Lodz      >>> odpowiadajac usun nospam z adresu
e-Mail:  hobbit@dom.vr.pl.nospam [lub] hobbit@priv.onet.pl.nospam

"No! Try not. Do. Or do not.
There is no try." - Yoda the Jedi
__________________________________
Technical Details
Message-ID: <34200d8b.997750@news.icm.edu.pl>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!pingwin.icm.edu.pl!agh.edu.pl!cyfronet!news.icm.edu.pl!not-for-mail
References: <341c458f.84058217@news.cto.us.edu.pl>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!pingwin.icm.edu.pl!agh.edu.pl!cyfronet!news.icm.edu.pl!not-for-mail
From: hobbit@dom.vr.pl.nospam (Krzysztof Swiatkowski)
Newsgroups: pl.comp.lang.delphi
Subject: Re: Ustawianie Dźwięki
Date: Wed, 17 Sep 1997 23:39:39 +0200
Organization: Bag End
Lines: 46
Message-ID: <34200d8b.997750@news.icm.edu.pl>
References: <341c458f.84058217@news.cto.us.edu.pl>
NNTP-Posting-Host: pmone243.lodz.pdi.net
Mime-Version: 1.0
X-Mistypings: Forte Agent 1.5/32.451
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit