No Minimize
How to disable the Minimize system menu option. Also disables the minimize icon. The technique can be used to delete any system menu option. Attachments File Uploaded Size 899-20170809-201106-NOMIN.ZIP 8/9/2017 8:11:06 PM 1412
How to disable the Minimize system menu option. Also disables the minimize icon. The technique can be used to delete any system menu option. Attachments File Uploaded Size 899-20170809-201106-NOMIN.ZIP 8/9/2017 8:11:06 PM 1412
How to extract the lines from a multiline TextBox. Also shows how to auto-scroll the TextBox as you add items. Attachments File Uploaded Size 899-20170809-200835-MULTILIN.ZIP 8/9/2017 8:08:35 PM 1655
How to play a MIDI note via low-level MIDI API. Plays a few MIDI notes via the MIDI stream interface. Attachments File Uploaded Size 899-20170809-071224-MIDINOTE.ZIP 8/9/2017 7:12:24 AM 2290
How to display status messages when menu items are highlighted. Subclasses a form to watch for menu item clicks. Illustrates a bug in GetMenuItemInfo and a method to determine if the top level menu is the current selection. Attachments File Uploaded Size 899-20170809-070952-MENUSTAT.ZIP 8/9/2017 7:09:52 AM 3314
How to retrieve system menu items without crashing Windows. Windows 98 introduced bitmaps in its system menus, requiring a slightly different approach to menu data retrieval from code. Attachments File Uploaded Size 899-20170808-063302-MENUSELS.ZIP 8/8/2017 6:33:02 AM 2137
How to select the menu items of other programs. Attachments File Uploaded Size 899-20170808-063055-MENUSEL.ZIP 8/8/2017 6:30:55 AM 1671
Way back in the days of yore, about thirteen years ago, I decided I needed a central repository for all my random bits of code. Not having the dollars at the time, I decided to build my own code repository.
Drag a form that has no titlebar! Add the routine listed below, and call it in the ‘MouseDown’ event of the form (or a control on the form): MoveWindow Me.Hwnd Windows API/Global Declarations: Private Declare Function ReleaseCapture Lib “user32” () As LongPrivate Declare Function SendMessage Lib “user32” Alias “SendMessageA” (ByVal hWnd As Long, ByVal wMsg As Long, ByVal… Read More »
How to use various multimedia API functions. Play a WAV/AVI/MIDI/CD, record a WAV, capture an AVI frame, change various volumes. Attachments File Uploaded Size 899-20170806-065130-MCISAMP.ZIP 8/6/2017 6:51:30 AM 8138
How to tile or center an image on an MDI Form’s background. Attachments File Uploaded Size 899-20170806-065400-MDIBACKG.ZIP 8/6/2017 6:54:00 AM 19967