🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.comp.lang.learn.c-c++
Article #445

Re: ToolTips in a dialog box in BCW5.02 OWL HELP PLEEEEEEEEEEASE

#445
From: Jonathan Schafer
Date: Mon, 12 Jan 1998 00:00
29 lines
1896 bytes
Tooltips don't work in dialogs because their messages are processed by
the main app loop which is suspended when a modal dialog is up.  There
are ways around this though.  You can check the borland site for a TI
document on catching MDI accelerators in a dialog.  Also, there may be
sample code posted at www.tenermerx.com/owl-how.

Jonathan Schafer

On Sun, 11 Jan 1998 23:20:41 -0700, adamst@telusplanet.net (Trenton D.
Adams) wrote:

>I want to know why this doesn't work!  This is declared in the 
>SetupWindow function in my dialog box object.  I am using a dialog from a 
>resource file.
>
>  HWND childH = GetItemHandle(IDC_CREATECUSTOMER);
>  TToolInfo ToolInfo(*this, childH, "Test");
>  NameTip->AddTool(ToolInfo);
>
>Why doesn't this work.  Can someone please email me, and send to the 
>group also.  Thanks.
>
>p.s. is it even possible to make a tooltip in a modal dialog box?

Remove *NOSPAM* to e-mail me.
"And the trees were all kept equal...by hatchet, axe, and saw", N. Peart

Jonathan Schafer
Technical Details
Message-ID: <34ba58b0.13196873@news.texas.net>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <MPG.f236426cd663b3998968c@news.edmonton.telusplanet.net>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 114592,9a541f5097ee1225
X-Google-Attributes: gid114592,public
X-Google-Thread: 108ebe,9a541f5097ee1225
X-Google-Attributes: gid108ebe,public
X-Google-Thread: 103bde,9a541f5097ee1225
X-Google-Attributes: gid103bde,public
X-Google-Thread: fe201,9a541f5097ee1225
X-Google-Attributes: gidfe201,public
From: jschafer*NOSPAM*@texas.net (Jonathan Schafer)
Subject: Re: ToolTips in a dialog box in BCW5.02 OWL HELP PLEEEEEEEEEEASE
Date: 1998/01/12
Message-ID: <34ba58b0.13196873@news.texas.net>
X-Deja-AN: 315278942
References: <MPG.f236426cd663b3998968c@news.edmonton.telusplanet.net>
Organization: Texas Networking, Inc.
Reply-To: jschafer*NOSPAM*@texas.net
Newsgroups: alt.comp.lang.learn.c-c++,borland.public.cpp.owl,borland.public.cpp.winapi,comp.os.ms-windows.programmer.tools.owl