🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.ms-windows.programmer.tools
Article #668

Re: Menu in TDialog 'window' creating background strip under

#668
From: Chris Marriott
Date: Mon, 28 Dec 1992 21:10
30 lines
1960 bytes
In article <UuIcs*6t2@dodd.UUCP> dodd!dodd@seq.uncwil.edu writes:

>
>I am programming in OWL using a TDialog for my MainWindow.  I have a menu
>in it, when that menu is 'attached' it leaves a Strip about 2 pixels high
>under the menu_strip itself.  This Strip contains whatever was on the screen
>at that spot, and when the window is moved so goes the 'graphics' inlaid in 
>the strip.
>
>Is this a programming bug in Windows, Borland, or me?
>
>+-----------------------------------------------------------------------+
>|   Michael E. Dodd             Internet:  dodd!dodd@seq.uncwil.edu     |
>|   219 Pershing Court          Voice:     919/799-9453                 |
>|   Wilmington, N.C. 28412      (Answering Machine on between 4-10PM)   |
>+-----------------------------------------------------------------------+
>

It's a bug in Windows.  Although dialog boxes can, in theory, have a
menu, Windows messes up the measurements, as you've discovered!

Chris
-- 
--------------------------------------------------------------------------
| Chris Marriott                           | chris@chrism.demon.co.uk    |
| Warrington, UK                           | BIX: cmarriott              |
| (Still awaiting inspiration              | CIX: cmarriott              |
|  for a witty .sig .... )                 | CompuServe: 100113,1140     |
--------------------------------------------------------------------------
 
Technical Details
Message-ID: <725577015snz@chrism.demon.co.uk>
Path: arc1-ca.pugleaf.net!sparky!uunet!pipex!demon!chrism.demon.co.uk!chris
References: <UuIcs*6t2@dodd.UUCP>

Show Full Headers
Complete Article Headers
Newsgroups: comp.os.ms-windows.programmer.tools
From: chris@chrism.demon.co.uk (Chris Marriott)
Path: arc1-ca.pugleaf.net!sparky!uunet!pipex!demon!chrism.demon.co.uk!chris
Subject: Re: Menu in TDialog 'window' creating background strip under 
Distribution: world
References: <UuIcs*6t2@dodd.UUCP>
Organization: None
Reply-To: chris@chrism.demon.co.uk
X-Mailer: Simple NEWS 1.90 (ka9q DIS 1.19)
Lines: 30
Date: Mon, 28 Dec 1992 21:10:15 +0000
Message-ID: <725577015snz@chrism.demon.co.uk>
Sender: usenet@demon.co.uk