Mail Archives: djgpp/1999/05/26/14:25:26
bowman heeft geschreven in bericht <374BED73 DOT CAB41D9A AT montana DOT com>...
>windres can handle both simple dialogs and property page types.
I found it strange that that would not be the case. However I can process
the following resource (from Petzold) with RC, while Windres 2.9.4 gives a
parse error at line 21:
/*---------------------------
ABOUT1.RC resource script
---------------------------*/
#include <windows.h>
#include "about1.h"
About1 ICON about1.ico
About1 MENU
{
POPUP "&Help"
{
MENUITEM "&About About1...", IDM_ABOUT
}
}
AboutBox DIALOG 20, 20, 160, 80
STYLE WS_POPUP | WS_DLGFRAME
{
CTEXT "About1" -1, 0, 12, 160, 8
ICON "About1" -1, 8, 8, 0, 0
CTEXT "About Box Demo Program" -1, 0, 36, 160, 8
CTEXT "(c) Charles Petzold, 1996" -1, 0, 48, 160, 8
DEFPUSHBUTTON "OK" IDOK, 64, 60, 32, 14, WS_GROUP
}
=== ends ============
best wishes
Peter Davis
Zeist
The Netherlands
- Raw text -