This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: Problem with win32api
- To: jean dot barata at softeam dot fr
- Subject: Re: Problem with win32api
- From: Pavel Tsekov <ptsekov at syntrex dot com>
- Date: Wed, 07 Nov 2001 14:06:50 +0100
- CC: 'Cygwin Mailing List' <Cygwin at Sourceware dot Cygnus dot Com>
- References: <001001c1678b$1f32c2e0$a5054e0a@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/