Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.clipper.visual-objects > #6293 > unrolled thread

DataWindow and SplitWindow

Started byStefan Überbacher <info@sanosoft.com>
First post2013-11-26 03:04 -0800
Last post2013-11-29 00:09 -0800
Articles 4 — 3 participants

Back to article view | Back to comp.lang.clipper.visual-objects


Contents

  DataWindow and SplitWindow Stefan Überbacher <info@sanosoft.com> - 2013-11-26 03:04 -0800
    Re: DataWindow and SplitWindow "Wolfgang Riedmann" <wriedmann@gmail.com> - 2013-11-28 12:28 +0100
    Re: DataWindow and SplitWindow Malcolm G <malcolm-news2012delete@delete.jobstream.com> - 2013-11-28 14:50 +0000
      Re: DataWindow and SplitWindow Stefan Überbacher <info@sanosoft.com> - 2013-11-29 00:09 -0800

#6293 — DataWindow and SplitWindow

FromStefan Überbacher <info@sanosoft.com>
Date2013-11-26 03:04 -0800
SubjectDataWindow and SplitWindow
Message-ID<b87ab50c-f4f4-449d-b6b6-4cdf88522694@googlegroups.com>
Hi,

if you assign a DataWindow to a pane of a SplitWindow, the DataWindow has a border, that is not identical to the standard border of a window. I have tried to remove this border, but without success. If you assign a DialogWindow to the pane, tis border is not visible. Can someone help me?

[toc] | [next] | [standalone]


#6313

From"Wolfgang Riedmann" <wriedmann@gmail.com>
Date2013-11-28 12:28 +0100
Message-ID<bfonmoFe2ngU1@mid.individual.net>
In reply to#6293
Hi Stefan,

it seems nobody else has this problem or is seeing this as problem
(personally, I don't have seen this, but maybe because the border of
Window in a splitwindow was not important for me).

> if you assign a DataWindow to a pane of a SplitWindow, the DataWindow
> has a border, that is not identical to the standard border of a
> window. 

do you have tried to remove the status bar of the window or to remove
the styles like WS_MAXIMIZEBOX, WS_MINIMIZEBOX, WS_SIZEBOX.

(You can look here to see the available styles:)

http://msdn.microsoft.com/en-us/library/windows/desktop/ms632600%28v=vs.
85%29.aspx

But don't forget that a DataWindow is a special beast, consisting on
three different dialogs (the DataWindow itself, the SurfaceWindow and
the FormFrame).

The SplitWindow is not a VO thing, but was programmed by another CA
department, so it knows nothing about this VO speciality.

Wolfgang


-- 

[toc] | [prev] | [next] | [standalone]


#6317

FromMalcolm G <malcolm-news2012delete@delete.jobstream.com>
Date2013-11-28 14:50 +0000
Message-ID<mLIlu.1$Yf1.0@fx32.am4>
In reply to#6293
On 26/11/2013 11:04, Stefan Überbacher wrote:
> Hi,
> 
> if you assign a DataWindow to a pane of a SplitWindow, the DataWindow has a border, that is not identical to the standard border of a window. I have tried to remove this border, but without success. If you assign a DialogWindow to the pane, tis border is not visible. Can someone help me?
> 

You have not said how you tried to remove the border.

As far as I can see we use
   datawindow  EnableBorder(WINDOWNOBORDER)
data window formframe
      WIN:SetStyle(_Or(WS_BORDER, WS_THICKFRAME),false)
data window surface
      WIN:SetStyle(_Or(WS_BORDER, WS_THICKFRAME),false)

I assume you have used a tool like spy++ to look at what styles/extended
styles are set on the various windows?

[toc] | [prev] | [next] | [standalone]


#6321

FromStefan Überbacher <info@sanosoft.com>
Date2013-11-29 00:09 -0800
Message-ID<ca269bbe-7d08-4fc4-bd83-0c3322f26333@googlegroups.com>
In reply to#6317
Hi Malcolm,

with spy++ I found out that the __FormFrame of the DataWindow has the WS_EX_STATICEDGE style (in fact, it is not a border, but a an edge).
With DataWindow:__FormWindow:SetExStyle(WS_EX_STATICEDGE, false) you can remove it, if it bothers you. It looks as if I'm the only one that bothers. What the heck, thanks for the tip, without spy++ you could get crazy in such a case.

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.clipper.visual-objects


csiph-web