home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
framctl1.zip
/
FRAMECTL.HLP
(
.txt
)
< prev
next >
Wrap
OS/2 Help File
|
1996-08-01
|
1KB
|
19 lines
ΓòÉΓòÉΓòÉ 1. Frame Extensions Sample ΓòÉΓòÉΓòÉ
This sample demonstrates how to implement frame extensions. The frame
extensions are graphic button controls that are created with the button styles
BS_PUSHBUTTON and BS_BITMAP.
The first extension, the close button, is positioned between the system menu,
and the title bar. It is created with the BS_SYSCOMMAND style which generates
a WM_SYSCOMMAND message when the button is clicked. Clicking this button
closes the sample application.
The second extension which you clicked to bring up this help, is the help
button. It is positioned between the title bar and the min/max buttons. It is
created with the BS_HELP style which generates a WM_HELP message when the
button is clicked.
If neither the BS_SYSCOMMAND nor the BS_HELP style is included, a WM_COMMAND
message is generated.