[futurebasic] Re: [FB] Toolbar --> window

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : May 2013 : Group Archive : Group : All Groups

From: Robert Covington <artlythere@...>
Date: Fri, 10 May 2013 10:32:17 -0400
On May 10, 2013, at 8:45 AM, Ken Shmidheiser <kshmidheiser@...> wrote:

> Robert wrote:
> 
>> I've been trying to add a widget to the Editor's toolbar...
> 
> 
> Robert,
> 
> Bernie may be able to help here. I think he added the Header widget.
> 
> Ken

Thanks. Saw his initials in there. (Just saw his reply, probably out driving the new Porsche) ;) 

Tried MoveWindow(), and MoveWindowStructure() before showing, but it activates the window, and you see it at the wrong location as a blip, then it shows up at the right location, flickering the editor window. Aesthetically unacceptable.

So, went back to the prior way of not really closing the widget at widget close, which solves half the problem, but only for that session.

Since I hide the window on close, the next time is fine since the window already exists at the user placed position, but would have to be re-moved first time used, any time the editor is fired up again. Which is functional, but annoying more than it should be.

Builds as shown, the first time, each time (attachment)

Now if you move the editor window from it's default top left location, then use the toolbar button, the widget window will build at exact top left of the screen instead, each time (where the editor window was before)

Which makes me wonder if some kind of window positioning handler is running amok.

I am on a dual monitor system but shouldn't be a factor since they build correctly otherwise.

rc


Attachments: