Hi,
I am using ResEdit as a resource builder. I created a dialogex like this:
when I compile with VC++ I get this error regarding the resource.rc fileCode: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
Ofcourse I added this on top of my stdafx.h:error RC2104 : undefined keyword or key name: WC_LISTVIEW
If I try to create the view list thru C code it works...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"




Reply With Quote