|
MM_ACM_FORMATCHOOSE
The MM_ACM_FORMATCHOOSE message notifies an acmFormatChoose dialog hook function before adding an element to one of the three drop-down
list boxes. This message allows an application to further customize the
selections available through the user interface.
MM_ACM_FORMATCHOOSE
wParam = (WPARAM) wDropDown
lParam = (LONG) lCustom
Parameters
wDropDown
Drop-down listbox being initialized and a verify or add operation.
FORMATCHOOSE_CUSTOM_VERIFY
The lParam parameter is a pointer to a WAVEFORMATEX structure to be added to the custom Name drop-down list box.
FORMATCHOOSE_FORMAT_ADD
The lParam parameter is a pointer to a buffer that will accept a WAVEFORMATEX structure to be added to the Format drop-down list box. The application must
copy the format structure to be added into this buffer.
FORMATCHOOSE_FORMAT_VERIFY
The lParam parameter is a pointer to a WAVEFORMATEX structure to be added to the Format drop-down list box.
FORMATCHOOSE_FORMATTAG_ADD
The lParam parameter is a pointer to a variable that will accept a waveform-audio format
tag to be added to the Format Tag drop-down list box.
FORMATCHOOSE_FORMATTAG_VERIFY
The lParam parameter is a waveform-audio format tag to be listed in the Format Tag
drop-down list box.
lCustom
Value defined by the listbox specified in the wParam parameter.
Return Values
Returns TRUE if an application handles this message or FALSE otherwise.
Remarks
If the application processes the FILTERCHOOSE_FORMAT_ADD operation, the size
of the memory buffer supplied in lParam will be determined from the acmMetrics function.
If your application is processing a verify operation, it can prevent the
dialog box from listing this selection by calling the SetWindowLong function with nIndex set to DWL_MSGRESULT and lNewLong set to FALSE (cast to a LONG data type). To allow the dialog box to list this selection, call this
function with lNewLong set to TRUE.
If your application is processing an add operation, it can indicate that no
more additions are required by calling the SetWindowLong function with nIndex set to DWL_MSGRESULT and lNewLong set to FALSE (cast to a LONG data type). To indicate more additions are required, call this function with lNewLong set to TRUE.
See Also
acmFormatChoose, acmMetrics, SetWindowLong, WAVEFORMATEX
| Last news from Greatis Software |
 |
|
Nostalgia .Net |
|
.Net is powerful, but not all-powerful, so sometimes we need to use Win32 API for our .Net applications. It's simple enough with Platform Invoke if you have Win32 skill, but we do not always have time to dig the ancient documentation, declare the special types that are compatible with Win32, find the values of the Win32's constants and so on. Nostalgia .Net offers several simple-to-use classes, and components that will allow you to forget about the headache of Win32 and just use the power of Win32 in your application the same way as you use the native. Net classes. More » |
| Recommended software for developers |
 |
|
Ultimate Pack |
|
Component pack for Delphi and C++ Builder that contains runtime form designer, runtime object inspector, print suite and much more for the very special price. More » |
 |
|
Form Designer .Net |
|
Unique runtime form design solution that allows to edit any form in .Net WinForms application at runtime with full source codes for only 300 euro! More » |
 |
|
Print Suite .Net |
|
Print Suite .Net is a set of components for easy printing texts, images and grids from your WinForms applications. Full C# source codes are available More » |
 |
|
Gradient Controls .Net |
|
Gradient Controls .Net offers controls with gradient background feature. Labels, panels and so on... Full C# source codes are available More » |
 |
|
Greatis iGrid |
|
iGrid plots drawing grid right over your desktop, so you can use it everywhere, with any drawing application without any special plugins for different graphic editors. More » |
All the contacts and projectsDmitry Vasiliev (just.dmitry)
Related LinksSoftware for Visual Studio .NET developers Software for Delphi and C++ Builder developers Software for Visual Basic 6 developers Delphi Tips&Tricks MegaDetailed.NET More Online Helps Win32 Programmer's Reference Win32 Multimedia Programmer's Reference OLE Programmer's Reference Microsoft Windows Pen API Programmer's Reference Microsoft Windows Sockets 2 Reference Microsoft Windows Telephony API (TAPI) Programmer's Reference Unix Manual Pages
|