July 02, 2003

/* ares.rc file */
#pragma res32
#include <windows.h>


#define ADIALOG 100
#define IDC_EDIT 1000


ADIALOG DIALOGEX 58, 28, 247, 189
STYLE DS_CENTER | DS_3DLOOK  | WS_POPUP | WS_CAPTION | WS_SYSMENU
EXSTYLE WS_EX_STATICEDGE
CAPTION "ACAPTION"
FONT 8, "MS Sans Serif"
BEGIN

EDITTEXT        IDC_EDIT, 55, 37, 89, 12, ES_AUTOHSCROLL | NOT WS_BORDER, WS_EX_STATICEDGE

END

/* EOF */


rcc ares.rc

Error : Invalid use of NOT keyword

Works fine with MSVC++, Whats wrong ?



July 03, 2003
You could try rc.exe. -Walter

"john" <john_member@pathlink.com> wrote in message news:bdvl56$nvm$1@digitaldaemon.com...
>
>
> /* ares.rc file */
> #pragma res32
> #include <windows.h>
>
>
> #define ADIALOG 100
> #define IDC_EDIT 1000
>
>
> ADIALOG DIALOGEX 58, 28, 247, 189
> STYLE DS_CENTER | DS_3DLOOK  | WS_POPUP | WS_CAPTION | WS_SYSMENU
> EXSTYLE WS_EX_STATICEDGE
> CAPTION "ACAPTION"
> FONT 8, "MS Sans Serif"
> BEGIN
>
> EDITTEXT        IDC_EDIT, 55, 37, 89, 12, ES_AUTOHSCROLL | NOT WS_BORDER, WS_EX_STATICEDGE
>
> END
>
> /* EOF */
>
>
> rcc ares.rc
>
> Error : Invalid use of NOT keyword
>
> Works fine with MSVC++, Whats wrong ?
>
>
>