home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 11 Util
/
11-Util.zip
/
PRIVF.ZIP
/
PRIVF.RC
< prev
next >
Wrap
Text File
|
1993-01-26
|
2KB
|
55 lines
#define INCL_WIN
#include <os2.h>
#include "askpwd.h"
ICON ID_ICO_LOCK LOCK.ICO
MENU ID_MYMENU_LOCK LOADONCALL MOVEABLE DISCARDABLE
BEGIN
MENUITEM "~Lock access", IDM_LOCK
END
MENU ID_MYMENU_UNLOCK LOADONCALL MOVEABLE DISCARDABLE
BEGIN
MENUITEM "~Unlock access", IDM_UNLOCK
END
DLGTEMPLATE ID_DLG_PASSWORD LOADONCALL MOVEABLE DISCARDABLE
BEGIN
DIALOG "Folder access", ID_DLG_PASSWORD, 65, 61, 212, 57, FS_MOUSEALIGN |
FS_SYSMODAL | FS_SCREENALIGN | WS_VISIBLE,
FCF_TITLEBAR
BEGIN
LTEXT "Password is hidden.", 101,
6, 43, 204, 8
LTEXT "Password", 102, 7, 28, 60, 8
ENTRYFIELD "", ID_EF_PASSWORD, 78, 28, 96, 8, ES_MARGIN | ES_UNREADABLE |
WS_GROUP
DEFPUSHBUTTON "OK", DID_OK, 11, 6, 88, 14
PUSHBUTTON "Cancel", DID_CANCEL, 113, 6, 88, 14
END
END
DLGTEMPLATE ID_DLG_CHANGE LOADONCALL MOVEABLE DISCARDABLE
BEGIN
DIALOG "Change password", ID_DLG_CHANGE, 0, 0, 170, 157, NOT
FS_DLGBORDER
BEGIN
RTEXT "(F077130 @ DCTVM3)", 210, 10, 136, 135, 8
RTEXT "All passwords are hidden", 201, 10, 127, 135, 8
RTEXT "", 208, 55, 118, 90, 8
RTEXT "New password:", 203, 2, 100, 67, 8
RTEXT "Verification:", 204, 6, 80, 63, 8
ENTRYFIELD "", ID_EF_NEWPASS, 76, 100, 88, 8, ES_MARGIN |
ES_UNREADABLE
ENTRYFIELD "", ID_EF_VERIFPASS, 76, 80, 88, 8, ES_MARGIN |
ES_UNREADABLE
AUTOCHECKBOX "Use DESKTOP password", ID_CB_COMMONLOCK, 14, 58, 130, 10
AUTOCHECKBOX "Always locked", ID_CB_CLOSELOCK, 14, 49, 130, 10
DEFPUSHBUTTON "Apply", DID_OK, 37, 7, 99, 14
END
END