Dynamically create an MCIWnd
class window at runtime!
Download (15k) VB source here!
This is a very
simple example of creating and using an MCIWnd Class at runtime.
The MCIWnd is a window that offers C/C++ developers full access
to the Windows MCI API. Now you can use this class from VB too!
The freeware ezAviWnd.ocx available elsewhere on this site also
uses the MCIWnd for most of it's functionality.
Techniques demonstrated in this
project
--------------------------------------- |
-Using
the MCIWnd Class from VB
-Creating a window based on a Win32 Class
-A demo of controlling AVI files
-Can be applied to ANY MCI device (MPG, MOV, CD-Audio,
etc...) |
Useful functions in MCIWnd.bas
-------------------------------- |
MCIWndRegisterClass (Win32 API)
CreateWindowEx (Win32 API)
|
You may freely use and modify this code in your
own programs. However, you may not redistribute
this archive without permission from Ray Mercer
<raymer@shrinkwrapvb.com>
Copyright (c) 1998-2000, Ray Mercer - All Rights Reserved