|
Archives
D Programming
DD.gnu digitalmars.D digitalmars.D.bugs digitalmars.D.dtl digitalmars.D.dwt digitalmars.D.announce digitalmars.D.learn digitalmars.D.debugger C/C++ Programming
c++c++.announce c++.atl c++.beta c++.chat c++.command-line c++.dos c++.dos.16-bits c++.dos.32-bits c++.idde c++.mfc c++.rtl c++.stl c++.stl.hp c++.stl.port c++.stl.sgi c++.stlsoft c++.windows c++.windows.16-bits c++.windows.32-bits c++.wxwindows digitalmars.empire digitalmars.DMDScript |
c++.windows.32-bits - List-View Control stops dialog-box creation...
#include <windows.h> #include "workdone.h" Using the following resource with a standard DialogBox works, unless I uncomment the listview control, at which point it won't create the dialogbox. Using the MingW compiler, it will create the dialogbox, is there soemthing special I need to do for DM? (The Dialog Procedure is just a standard ok/cancel choice) IDWORKDONE DIALOG 6, 18, 180, 180 STYLE DS_MODALFRAME | WS_MINIMIZEBOX | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU CAPTION "Verify Work Completed" FONT 8, "MS Sans Serif" BEGIN COMBOBOX IDFIELDREPCB, 6, 6, 168, 35, CBS_DROPDOWN | CBS_SORT | WS_VSCROLL | WS_TABSTOP PUSHBUTTON "OK", IDOK, 6, 160, 40, 14 PUSHBUTTON "Exit", IDCANCEL, 134, 160, 40, 14 /* CONTROL "PID Listing", IDPIDLV, "SysListView32", 0x41 | WS_BORDER, 6, 21, 168, 134*/ END Sep 12 2003
Have you called InitCommonControls() in your WinMain? That is the usual problem in these circumstances "Anonymous" <Anonymous_member pathlink.com> wrote in message news:bjteqb$1jhm$1 digitaldaemon.com...#include <windows.h> #include "workdone.h" Using the following resource with a standard DialogBox works, unless I Sep 12 2003
In article <bjtgde$1m3g$1 digitaldaemon.com>, Matthew Wilson says...Have you called InitCommonControls() in your WinMain? That is the usual problem in these circumstances Sep 12 2003
|