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 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,60c31b5757cc80b7 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!cyclone1.gnilink.net!spamkiller.gnilink.net!gnilink.net!trnddc04.POSTED!72fcb693!not-for-mail From: Fionn Mac Cumhaill Newsgroups: comp.lang.ada Subject: Re: GWindows Message-ID: References: <31e1l2t4v3kt5h3fhsto8ujju8peob63i9@4ax.com> <7aacd$4554c638$541eed9f$22617@home.nl> X-Newsreader: Forte Agent 3.3/32.846 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Sat, 11 Nov 2006 05:23:38 GMT NNTP-Posting-Host: 71.244.5.248 X-Complaints-To: abuse@verizon.net X-Trace: trnddc04 1163222618 71.244.5.248 (Sat, 11 Nov 2006 00:23:38 EST) NNTP-Posting-Date: Sat, 11 Nov 2006 00:23:38 EST Xref: g2news2.google.com comp.lang.ada:7408 Date: 2006-11-11T05:23:38+00:00 List-Id: On Fri, 10 Nov 2006 19:34:36 +0100, Andre wrote: > >Yes, we are still using it in a few applications. > >But you are right, besides Stephen I don't see much activity on GWindows >repository. The last sign of life from David over 6 months ago. > >Now on your actual question (yes sometimes a trigger works): > >To get the BN_SETFOCUS or BN_KILLFOCUS, the button needs to have the >BS_NOTIFY style. I added a On_Pre_Create handler to set this style. > >I added the changed code: > >with GWindows, > ... code sample snipped ... Works perfectly. Many thanks. I expect that this technique will also solve a problem that I am having with radio button; the GWindows version of a radio button is also lacking a BS_NOTIFY style.