This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Problem with win32api


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


It returns the error code "1813" ("ERROR_RESOURCE_TYPE_NOT_FOUND")
Is "SysTreeView32" not supported by CYGWIN ???
In this case do you know about something that could do the same thing ???



Jean Barata - SOFTEAM
01.30.12.18.67 - jean.barata@softeam.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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]