www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/11/07/08:08:09

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <3BE931EA.35B75CA3@syntrex.com>
Date: Wed, 07 Nov 2001 14:06:50 +0100
From: Pavel Tsekov <ptsekov AT syntrex DOT com>
X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.4.2-2 i686)
X-Accept-Language: en
MIME-Version: 1.0
To: jean DOT barata AT softeam DOT fr
CC: "'Cygwin Mailing List'" <Cygwin AT Sourceware DOT Cygnus DOT Com>
Subject: Re: Problem with win32api
References: <001001c1678b$1f32c2e0$a5054e0a AT sorbonne>

Jean Barata wrote:
> 
> 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

What does GetLastError say about it ?

--
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019