Re: Problem with window maximise

new topic     » goto parent     » topic index » view thread      » older message » newer message

Pete,
I had to change a line of code in your format.ew to get the editor to run.

I changed ...

if
       equal(fileandpathname[length(fileandpathname)-11..length(fileandpathname)],

to ..

if length(fileandpathname) >= 12 and
       equal(fileandpathname[length(fileandpathname)-11..length
(fileandpathname)],


May I suggest a minor change to win32lib. It may help - but I'm not certain.

In the routine fDoResize() change these lines...

    -- resize behavior?
    VOID = invokeHandler(id, w32HResize, {wParam, cx, cy } )

    resizeWidgets( id, cx, cy ) -- resize the toolbar and statusbar, if any
    
to this...

    resizeWidgets( id, cx, cy ) -- resize the toolbar and statusbar, if any

    -- resize behavior?
    VOID = invokeHandler(id, w32HResize, {wParam, cx, cy } )
    

It could be that your handler for resizing is messing up the relocation of the
statusbar after the
window has been resized by the user.

---------
Cheers,
Derek Parnell

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu