From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,e3d1f8b996f89671 X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,UTF8 Path: g2news1.google.com!news3.google.com!feeder.news-service.com!94.75.214.39.MISMATCH!aioe.org!not-for-mail From: =?utf-8?Q?Yannick_Duch=C3=AAne_=28Hibou57?= =?utf-8?Q?=29?= Newsgroups: comp.lang.ada Subject: Re: How to implement JEWL File dialogs? Date: Tue, 26 Oct 2010 10:41:37 +0200 Organization: Ada @ Home Message-ID: References: <407e812c-e249-4974-b7b2-df4a2b98f932@l20g2000yqm.googlegroups.com> NNTP-Posting-Host: hjR5igqaLk4UmV7iTPzekg.user.speranza.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes Content-Transfer-Encoding: Quoted-Printable X-Complaints-To: abuse@aioe.org X-Notice: Filtered by postfilter v. 0.8.2 User-Agent: Opera Mail/10.63 (Win32) Xref: g2news1.google.com comp.lang.ada:14788 Date: 2010-10-26T10:41:37+02:00 List-Id: Le Tue, 26 Oct 2010 10:25:44 +0200, tolkamp a =C3=A9= crit: > I try to implement an file selection window using Open_Dialog. Here is= > the code: > > My_File_Selection_Dialog : Open_Dialog_Type; > -- > -- > My_File_Selection_Dialog :=3D Open_Dialog("file name"); > end; > > Nothing is displayed when this code is running. I do not know JEWEL (just discovered it, thanks to you), but I may try t= o = guess : do you create a main window prior to your attempt to open a file= = dialog ? File dialogs may send message which have to be handle, and this= = can be done only if a window procedure can receive this (at least at lev= el = of the Windows API, as I guess this is probably not exposed by JEWEL). May be a longer excerpt would be welcome here, as we probably need more = = context. -- = Si les chats miaulent et font autant de vocalises bizarres, c=E2=80=99es= t pas pour = les chiens.