Problem with RichEdit creation

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

The following code (pared down from original) seemed to work correctly until 
a few days ago:

include win32lib.ew --
include database.e
include xcontrols.ew --

global object win, code

                win = create(Window,"Test",0,1,1,400,400,0)
                code = createEx(RichEdit,"",win,10,40,380,350,0,0)
--               code = xControl(Syntax,"",win,10,40,380,350,0,0)


I updated xcontrols from an 2-3 year old version, and from win32lib 0.60.3 to 6.
Now I'm getting an error 461 (Failed to acquire a hWnd when creating a control).
And SynTest.exw (the test file supplied for the Syntax control) fails the same. 
Failure occurs at the createEx line. If you comment it and remove the comments 
of the line beneath, then line 203 in Syntax.ew (the createEx statement at line
203)
fails with error 461.

Any idea about what can go wrong?
Other randomly selected win32lib demos work correctly.

CChris

Below the ex.err part about createEx:

... called from C:\EUPHORIA\win32lib_v006006\Include\win32lib.ew:16814 in
function createEx()
    pControl = 42'*'
    pCaption = {}
    pOwner = 3
    pLeft = 10
    pTop = 40'('
    pWidth = 380
    pHeight = 350
    styleFlags = 0
    exFlags = 0
    id = 18
    at = <no value>
    hotkey = <no value>
    bgControl = <no value>
    style = <no value>
    result = <no value>
    hWnd = 0
    flags = 1419878468
    extendedflags = 512
    lParenthWnd = 3652
    szClassName = 6953908
    szCaption = 6954004
    hMenu = 3
    newhWnd = <no value>
    pstr = <no value>
    struct = <no value>
    ok = <no value>
    newobj = <no value>
    lvcol = <no value>
    BBox = {10,40'(',380,350}
    sbPanels = <no value>
    lHintText = {}
    lIconInfo = <no value>
    autoclose = 0
    lBGColor = <no value>
    lUserPre = {}
    lUserPost = <no value>
    lTemp = <no value>

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

Search



Quick Links

User menu

Not signed in.

Misc Menu