🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.interviews
Article #533

scrolling of TBScollBox

#533
From: Joerg Ringel
Date: Thu, 27 Aug 1992 06:27
45 lines
1788 bytes
Hey,

I'm working with IV 3.1-beta.

I've a class with a TBScrollBox (TextShow).
For this class I've defined the following function:

class TextShow : public InputHandler {

....
....
protected:
  TBScollbox* box;
....
}

inline void TextShow::scroll_to_end()

   { box->scroll_to(Dimension_Y, Coord(0)); }


My problem is that I receive always:

signal SEGV (no mapping at the fault address) in allocate__7ivPatchFP8ivCanvasRC12ivAllocationR11ivExtension at 0xf766b0f0
allocate__7ivPatchFP8ivCanvasRC12ivAllocationR11ivExtension+0x34:   ld      [%o1 + 4], %o2
(xdbx) where
allocate__7ivPatchFP8ivCanvasRC12ivAllocationR11ivExtension() at 0xf766b0f0
reallocate__17ivTBScrollBoxImplFv() at 0xf76871c8
refresh__17ivTBScrollBoxImplFv() at 0xf7686eec
impl__13ivTBScrollBoxCFv() at 0xf7686ce0
scroll_to__13ivTBScrollBoxFUif() at 0xf7686bec
scroll_to_end__8TextShowFv(__0this = 0xe9208), line 469 in "xrapiv/rapiv.c"

this error, if I call scroll_to_end and the window where I want to scoll
my text, is iconified.

I don't want to test it (if the window is mapped) always
and I think it isn't normal, but I don't know my fault.

Perhaps it's a bug ???

Thanks in advance,

	Joerg		(ringel@forwiss.uni-passau.de)
Technical Details
Message-ID: <1992Aug27.062744.7444@tom.rz.uni-passau.de>
Path: arc1-ca.pugleaf.net!sparky!uunet!paladin.american.edu!darwin.sura.net!Sirius.dfn.de!math.fu-berlin.de!informatik.tu-muenchen.de!rz.uni-passau.de!forwiss.uni-passau.de!ringel

Show Full Headers
Complete Article Headers
Newsgroups: comp.windows.interviews
Path: arc1-ca.pugleaf.net!sparky!uunet!paladin.american.edu!darwin.sura.net!Sirius.dfn.de!math.fu-berlin.de!informatik.tu-muenchen.de!rz.uni-passau.de!forwiss.uni-passau.de!ringel
From: ringel@forwiss.uni-passau.de (Joerg Ringel)
Subject: scrolling of TBScollBox
Message-ID: <1992Aug27.062744.7444@tom.rz.uni-passau.de>
Sender: news@tom.rz.uni-passau.de (News-Operator)
Nntp-Posting-Host: eldron.forwiss.uni-passau.de
Organization: University of Passau, Germany
Date: Thu, 27 Aug 1992 06:27:44 GMT
Lines: 46