Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Reply-To: From: "Jean Barata" To: "'Cygwin Mailing List'" Subject: Problem with win32api Date: Wed, 7 Nov 2001 13:52:56 +0100 Message-ID: <001001c1678b$1f32c2e0$a5054e0a@sorbonne> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook CWS, Build 9.0.2416 (9.0.2910.0) X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 Importance: Normal Hello, I can't instantiate a dialog box with a "Tree Control" defined in it when I call: CreateDialog(((LPCREATESTRUCT)lParam)->hInstance, "ConfigureBox", hwnd, ConfigureDlgProc); it returns NULL ... does anybody already got the same problem ? Thanks. my "RC" file: ------------------- CONFIGUREBOX DIALOG DISCARDABLE 20, 20, 120, 100 STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU | WS_VISIBLE CAPTION "Configuration Box" BEGIN CONTROL "", ID_TREE, "SysTreeView32", WS_BORDER|WS_TABSTOP, 10, 10, 100, 80 END Jean Barata - SOFTEAM 01.30.12.18.67 - jean DOT barata AT softeam DOT fr -------------------------------------------- SOFTEAM Immeuble sesame 8 rue germain soufflot 78184 St Quentin en yvelines cedex -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/