FormBdr

Description

Short story: Provides runtime access to "read-only" properties such as ControlBox, MaxButton, MinButton, Moveable, and ShowInTaskbar. Adds new properties such as AutoDrag, Sizeable, Titlebar, and Topmost.

Longer description from old site: click here.

To be edited...

Published

This sample, or the one from which it originally derived, was published (or at least peripherally mentioned) in the following article(s):

APIs Usage

This sample uses the following API calls:

Module Library Function
CFormBorder.cls user32












GetCursorPos
GetMenuItemCount
GetMenuItemID
GetMenuItemInfo
GetSystemMenu
GetWindowLong
LockWindowUpdate
ReleaseCapture
RemoveMenu
SendMessage
SetMenuItemInfo
SetWindowLong
SetWindowPos
ShowWindow
COpSysInfo.cls kernel32 GetVersionEx
FNoEdge.frm user32

DrawEdge
ReleaseCapture
SendMessage
MCalcNoIcon.bas kernel32
shell32
user32
Sleep
ShellExecute
FindWindow
MFlipStyleBits.bas user32


GetWindowLong
SetWindowLong
SetWindowPos
ShowWindow
MSvcsNt4.bas kernel32
shell32
user32
Sleep
ShellExecute
FindWindow

Don't see what you're looking for? Here's a complete API cross-reference.

Download

Download FormBdr.zip   Please, enjoy and learn from this sample. Include its code within your own projects, if you wish. But, in order to insure only the most recent code is available to all, I ask that you don't share the sample by any form of mass distribution.

Download FormBdr.zip, 32Kb, Last Updated: Thursday, August 9, 2001