Hi,

I am using ResEdit as a resource builder. I created a dialogex like this:

Code:
IDD_POPUP DIALOGEX 25, 25, 485, 254
STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Show Active Listeners"
FONT 8, "MS Shell Dlg"
BEGIN
	CONTROL "", WC_LISTVIEW, IDC_LIST1, WS_TABSTOP | WS_BORDER | LVS_ALIGNLEFT | LVS_REPORT, 489, 230
END
when I compile with VC++ I get this error regarding the resource.rc file

error RC2104 : undefined keyword or key name: WC_LISTVIEW
Ofcourse I added this on top of my stdafx.h:

Code:
// Windows Header Files:
#define STRICT
#include <windows.h>
#include <windowsx.h>

#pragma comment (lib, "comctl32.lib")
#include <commctrl.h>

#pragma comment (lib, "UxTheme.lib")
#include "uxtheme.h"
If I try to create the view list thru C code it works...