Re: euphoria error

new topic     » goto parent     » topic index » view thread      » older message » newer message
DerekParnell said...
dcole said...

win32lib.ew line 4622 word should be object

I don't have anything like this in my win32lib.ew. Line 4622 is ...

    cts_preallocated += SIZEOF_POINT 

which is in

global function ClientToScreen(integer id, integer x, integer y) 

FYI, I believe he is referring to

global function controlStyle(integer id,object flags,integer extended,integer action) 

in which my recommendation is

    sequence words  --(as is) 
 
    -- kludge: and_bits() only works on integers, not on atoms representing machine integers 
--PL 02/05/10 
--/**/  words=sq_and_bits(w32unpack_dword(oldFlags),w32unpack_dword(flags))     --/* Phix 
    words=and_bits(w32unpack_dword(oldFlags),w32unpack_dword(flags))            -- RDS */ 




DerekParnell said...

Agreed. This is a bug. As it stands, setParent can't be used with ListViews or TreeViews.

Thanks, I can tick that one off now.

DerekParnell said...
dcole said...

win32lib.ew 12532 attribs should be object maybe integer

I don't think so. 'attribs' must be a sequence because it is initialized using the 'repeat()' function whose output is always a sequence. It is supposed to contain zero or more elements, one per item in a ListView.

The problem line, in procedure handleLV, is

            attribs=-2 
DerekParnell said...
dcole said...

win32lib.ew 18133 line should be object

I'm not sure which routine you are referring to here, but all the line symbols around this seem to be the correct data type. Why do you think otherwise?

I believe he is referring to

global procedure deleteLine(integer id,integer line) 

which I accidentally changed to

global procedure deleteLine(integer id,sequence line) 

though I really meant

global procedure deleteLine(integer id,object line) 

Regards, Pete

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

Search



Quick Links

User menu

Not signed in.

Misc Menu