home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Power-Programmierung
/
CD1.mdf
/
magazine
/
drdobbs
/
1991
/
03
/
megaphon
/
megaphon.rc
< prev
next >
Wrap
Text File
|
1991-01-16
|
5KB
|
144 lines
#include "windows.h"
#include "megaphon.h"
Megaphone ICON MEGAPHON.ICO
Message ICON MESSAGE.ICO
User ICON USER.ICO
Megaphone MENU
BEGIN
POPUP "&File"
BEGIN
MENUITEM "&Exit", IDM_EXIT
MENUITEM SEPARATOR
MENUITEM "&About ...", IDM_ABOUT
END
MENUITEM "&Refresh!", IDM_REFRESH
END
Megaphone DIALOG 65, 75, 165, 139
CLASS "Megaphone"
CAPTION "Megaphone - NetWare Intercom"
STYLE WS_POPUPWINDOW | WS_CAPTION | WS_MINIMIZEBOX
BEGIN
CONTROL "Megaphone", -1, "static",
SS_ICON | WS_CHILD, 24, 6, 0, 0
CONTROL "&Users", IDC_USERLISTBOXTITLE, "static",
SS_LEFTNOWORDWRAP | WS_CHILD, 65, 2, 95, 9
CONTROL "", IDC_USERLISTBOX, "listbox",
LBS_STANDARD | LBS_EXTENDEDSEL | WS_VSCROLL | WS_TABSTOP |
WS_CHILD,
65, 12, 95, 71
CONTROL "Ser&vers", IDC_SERVERCOMBOBOXTITLE, "static",
SS_LEFTNOWORDWRAP | WS_CHILD, 5, 23, 55, 9
CONTROL "", IDC_SERVERCOMBOBOX, "combobox",
CBS_HASSTRINGS | CBS_SORT | CBS_DROPDOWNLIST |
WS_VSCROLL | WS_TABSTOP | WS_CHILD,
5, 33, 55, 63
CONTROL "&Message", -1, "static", SS_LEFT | WS_CHILD,
5, 80, 55, 9
CONTROL "", IDC_MESSAGEEDITBOX, "edit",
ES_LEFT | ES_AUTOHSCROLL | ES_UPPERCASE | WS_BORDER | WS_TABSTOP | WS_CHILD,
5, 90, 155, 12
CONTROL "&Send", IDC_SENDBUTTON, "button",
BS_PUSHBUTTON | WS_TABSTOP | WS_CHILD,
5, 110, 45, 15
CONTROL "Se&ttings", IDC_SETTINGSBUTTON, "button",
BS_PUSHBUTTON | WS_TABSTOP | WS_CHILD,
60, 110, 45, 15
CONTROL "&Exit", IDC_EXITBUTTON, "button",
BS_PUSHBUTTON | WS_TABSTOP | WS_CHILD,
115, 110, 45, 15
END
Message DIALOG 100, 100, 170, 55
CAPTION "Message"
CLASS "Message"
STYLE WS_POPUPWINDOW | WS_CAPTION | WS_MINIMIZEBOX
BEGIN
CONTROL "", IDC_REPLYEDITBOX, "edit",
ES_LEFT | ES_AUTOHSCROLL | ES_UPPERCASE | WS_BORDER |
WS_TABSTOP | WS_CHILD, 5, 10, 155, 12
CONTROL "&Reply", IDC_REPLYBUTTON, "button",
BS_PUSHBUTTON | WS_TABSTOP | WS_CHILD, 5, 30, 45, 15
CONTROL "&Cancel", IDCANCEL, "button",
BS_PUSHBUTTON | WS_TABSTOP | WS_CHILD, 60, 30, 45, 15
CONTROL "&Save", IDC_SAVEBUTTON, "button",
BS_PUSHBUTTON | WS_TABSTOP | WS_CHILD, 115, 30, 45, 15
END
UserInfo DIALOG 68, 54, 145, 79
CAPTION "User Information"
CLASS "User"
STYLE WS_POPUPWINDOW | WS_CAPTION | WS_MINIMIZEBOX
BEGIN
CONTROL "User", -1, "static",
SS_LEFTNOWORDWRAP | WS_CHILD, 42, 3, 18, 9
CONTROL ":", IDC_USERNAME, "static",
SS_LEFTNOWORDWRAP | WS_CHILD, 60, 3, 82, 9
CONTROL "Stn", -1, "static",
SS_LEFTNOWORDWRAP | WS_CHILD, 42, 12, 18, 9
CONTROL ":", IDC_STATION, "static",
SS_LEFTNOWORDWRAP | WS_CHILD, 60, 12, 77, 9
CONTROL "Node", -1, "static",
SS_LEFTNOWORDWRAP | WS_CHILD, 42, 21, 18, 9
CONTROL ":", IDC_NODE, "static",
SS_LEFTNOWORDWRAP | WS_CHILD, 60, 21, 77, 9
CONTROL "Full Name", -1, "static",
SS_LEFTNOWORDWRAP | WS_CHILD, 3, 30, 39, 9
CONTROL ":", IDC_FULLNAME, "static",
SS_LEFTNOWORDWRAP | WS_CHILD, 42, 30, 95, 9
CONTROL "Login Time", -1, "static",
SS_LEFTNOWORDWRAP | WS_CHILD, 3, 39, 39, 9
CONTROL ":", IDC_LOGINTIME, "static",
SS_LEFTNOWORDWRAP | WS_CHILD, 42, 39, 95, 9
CONTROL "Network", -1, "static",
SS_LEFTNOWORDWRAP | WS_CHILD, 3, 48, 39, 9
CONTROL ":", IDC_NETWORK, "static",
SS_LEFTNOWORDWRAP | WS_CHILD, 42, 48, 95, 9
CONTROL "User", -1, "static",
SS_ICON | WS_CHILD, 11, 6, 15, 15
DEFPUSHBUTTON "OK", IDOK, 39, 60, 45, 15
END
Settings DIALOG 11, 21, 175, 65
CAPTION "Settings"
STYLE WS_POPUPWINDOW | WS_CAPTION
BEGIN
CONTROL "&Incoming Messages", -1, "button",
BS_GROUPBOX | WS_CHILD, 5, 5, 75, 35
CONTROL "Accept", IDC_ACCEPTMESSAGES, "button",
BS_AUTOCHECKBOX | WS_TABSTOP | WS_CHILD, 10, 15, 60, 10
CONTROL "Iconize", IDC_ICONIZEMESSAGES, "button",
BS_AUTOCHECKBOX | WS_TABSTOP | WS_CHILD, 10, 25, 60, 10
CONTROL "&Users to scan", -1, "button",
BS_GROUPBOX | WS_CHILD, 85, 5, 85, 35
CONTROL "Attached users only", IDC_ONLYATTACHEDUSERS, "button",
BS_AUTORADIOBUTTON | WS_CHILD, 90, 15, 75, 10
CONTROL "Include unattached", IDC_ALLUSERSINBINDERY, "button",
BS_AUTORADIOBUTTON | WS_CHILD, 90, 25, 75, 10
CONTROL "&OK", IDOK, "button",
BS_DEFPUSHBUTTON | WS_TABSTOP | WS_CHILD, 55, 45, 55, 15
END
About DIALOG 22, 17, 110, 80
CAPTION "About"
STYLE WS_POPUPWINDOW | WS_CAPTION
BEGIN
CTEXT "Megaphone - NetWare Intercom" -1, 0, 5, 110, 8
CTEXT "Version 1.0" -1, 0, 14, 110, 8
CTEXT "by Mike Klein" -1, 0, 22, 110, 8
ICON "User" -1, 13, 35, 0, 0
ICON "Megaphone" -1, 48, 35, 0, 0
ICON "Message" -1, 82, 35, 0, 0
DEFPUSHBUTTON "OK" IDOK, 33, 60, 45, 15
END