1. RE: [WIN32LIB] Font Confusion
- Posted by Travis Beaty <travis_beaty at mcleodusa.net> Jul 07, 2002
- 348 views
Thanks, Derek! That did almost exactly what I needed. I've got two more questions then I'll quit bugging you. First, are the results from getTextWidth() and getTextHeight() in pixels? I'd like to center the text in the controls, and I figured I could use them to determine where to place the pen -- unfortunately on my last attempt to do that I didn't do so well. (Math and two a.m. are not a good combination). Secondly, did you ever test that code I sent on Windows ME to see if it crashed, and if so, why? Just curious ... got a long way to go in this project before that becomes a real concern. Travis Beaty Evans, Colorado. -----Original Message----- From: Derek Parnell [mailto:ddparnell at bigpond.com] Sent: Sunday, July 07, 2002 7:47 AM To: EUforum Subject: Re: [WIN32LIB] Font Confusion Travis, here some code that I think does the sort of thing you are talking about. <kersnip> ------------------ Derek
2. RE: [WIN32LIB] Font Confusion
- Posted by Travis Beaty <travis_beaty at mcleodusa.net> Jul 07, 2002
- 337 views
Once again, Derek, thanks!! Travis Beaty Evans, Colorado.
3. RE: [WIN32LIB] Font Confusion
- Posted by Henri Goffin <H.Goffin at skynet.be> Jul 12, 2002
- 348 views
Derek, your sample program generates an error on my system (W2K Pro). I get: "Error code 491 ezCreateFont: SaveDC failed". Win32Lib version is v057.9. And here is the ex.err file. As an additional hint i have noticed that when i comment out the line: setWindowBackColor(self, lVal[1]) in onPaint_lbls i get the colored text but no background (logically) and when instead i remove the line with wputs in the same proc i get (guess what) the flipping backgrounds but no text. But in both cases no error popup. This said, i don't need an urgent correction. Just that i like to try out all examples posted in this forum and i suppose you might like to be informed of possible bugs. May the Eu-phorce be with us forever. Henri Goffin ---- ------=_NextPart_000_0018_01C229D5.E54D3390 Content-Type: application/octet-stream; name="ex.err" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="ex.err" f:\Euphoria22\Win320579\win32lib.ew:598 in procedure fShowError()=20 attempt to divide by 0=20 pParams =3D {{101'e',122'z',67'C',114'r',101'e',97'a',116't',101'e', 70'F',111'o',110'n',116't',58':',83'S',97'a',118'v',101'e',68'D',67'C', 32' ',102'f',97'a',105'i',108'l',101'e',100'd',46'.'},491} pMode =3D 2 lErrCode =3D 491 lResponse =3D 1 lStyle =3D 16 s =3D = {101'e',122'z',67'C',114'r',101'e',97'a',116't',101'e',70'F',111'o', 110'n',116't',58':',83'S',97'a',118'v',101'e',68'D',67'C',32' ',102'f', 97'a',105'i',108'l',101'e',100'd',46'.'} lDispMsg =3D {69'E',114'r',114'r',111'o',114'r',32' = ',99'c',111'o',100'd', 101'e',32' = ',52'4',57'9',49'1',10,101'e',122'z',67'C',114'r',101'e',97'a', 116't',101'e',70'F',111'o',110'n',116't',58':',83'S',97'a',118'v',101'e',= 68'D',67'C',32' ',102'f',97'a',105'i',108'l',101'e',100'd',46'.',10,10, 87'W',105'i',110'n',51'3',50'2',76'L',105'i',98'b',32' ',118'v',48'0', 46'.',53'5',55'7',46'.',57'9',32' = ',50'2',52'4',45'-',74'J',117'u',110'n', 101'e',45'-',50'2',48'0',48'0',50'2'} lTitle =3D {87'W',105'i',110'n',51'3',50'2',76'L',105'i',98'b',32' = ', 65'A',112'p',112'p',87'W',105'i',110'n',100'd',111'o',119'w',32' = ',45'-', 32' ',70'F',97'a',116't',97'a',108'l',32' ',69'E',114'r',114'r',111'o', 114'r'} lLibVersion =3D {87'W',105'i',110'n',51'3',50'2',76'L',105'i',98'b', 32' ',118'v',48'0',46'.',53'5',55'7',46'.',57'9',32' = ',50'2',52'4',45'-', 74'J',117'u',110'n',101'e',45'-',50'2',48'0',48'0',50'2'} ... called from f:\Euphoria22\Win320579\win32lib.ew:634 in procedure = abortErr() =20 pParams =3D {{101'e',122'z',67'C',114'r',101'e',97'a',116't',101'e', 70'F',111'o',110'n',116't',58':',83'S',97'a',118'v',101'e',68'D',67'C', 32' ',102'f',97'a',105'i',108'l',101'e',100'd',46'.'},491} ... called from f:\Euphoria22\Win320579\win32lib.ew:9618 in function = EzCreateFont() =20 id =3D 4 pDC =3D 352388058 faceName =3D {65'A',114'r',105'i',97'a',108'l'} iDeciPtHeight =3D 100'd' iDeciPtWidth =3D 0 iAttributes =3D 0 fLogRes =3D 1 logfont =3D 0 hdc =3D 352388058 cxDpi =3D <no value> cyDpi =3D <no value> hFont =3D <no value> lf =3D 8462288 pt =3D 8462120 tm =3D <no value> savedDC =3D 0 mset =3D 8462000 boldFlag =3D <no value> italicFlag =3D <no value> underlineFlag =3D <no value> strikeOutFlag =3D <no value> lWidth =3D 0 lEscapement =3D 0 lOrientation =3D 0 lCharSet =3D 0 lOutPrecision =3D 0 lClipPrecision =3D 0 lQuality =3D 0 lPitchAndFamily =3D 0 ... called from f:\Euphoria22\Win320579\win32lib.ew:9753 in function = assignFont() =20 id =3D 4 fontID =3D <no value> result =3D <no value> hdc =3D 352388058 lifetime =3D <no value> ... called from f:\Euphoria22\Win320579\win32lib.ew:9855 in procedure = wPuts() =20 id =3D 4 s =3D {76'L',97'a',98'b',101'e',108'l',32' ',79'O',110'n',101'e'} hdc =3D <no value> result =3D <no value> pstr =3D <no value> sLen =3D 9 ... called from K:\Fbkp\Euphoria\Progs\External\Colored_labels.exw:46 in = procedure onPaint_lbls() =20 self =3D 4 event =3D 17 parms =3D {120'x',20,0,0} lVal =3D {0} ... called from f:\Euphoria22\Win320579\win32lib.ew:7773 in function = invokeHandler() =20 id =3D 4 event =3D 17 params =3D {120'x',20,0,0} lRoutines =3D {{54'6'}} lCallType =3D 1 i =3D 1 j =3D 1 ... called from f:\Euphoria22\Win320579\win32lib.ew:22608 in function = fDoPaint() =20 id =3D 4 hWnd =3D 263570 iMsg =3D 15 wParam =3D 0 lParam =3D 0 pReturn =3D -2761 ps =3D 8462216 hdc =3D 788596960 rect =3D 8462224 lUpdateRect =3D {120'x',20,0,0} lRC =3D {-9987} ... called from f:\Euphoria22\Win320579\win32lib.ew:23362 in function = MessageProcessor() =20 pSource =3D -2761 hWnd =3D 263570 iMsg =3D 15 wParam =3D 0 lParam =3D 0 id =3D 4 lHandledEvent =3D 17 result =3D <no value> lUserReturn =3D <no value> ... called from f:\Euphoria22\Win320579\win32lib.ew:23394 in function = WndProc() =20 hWnd =3D 263570 iMsg =3D 15 wParam =3D 0 lParam =3D 0 ^^^ call-back from Windows ... called from f:\Euphoria22\Win320579\win32lib.ew:1157 in procedure = w32Proc() =20 funcid =3D 7 parms =3D {3343596} libfunc =3D <no value> lFuncDef =3D 32' ' memset =3D 0 i =3D 1 ... called from f:\Euphoria22\Win320579\win32lib.ew:23506 in procedure = openWindow() =20 id =3D 3 style =3D 0 hWnd =3D 3343596 styleFlag =3D 1 i =3D 18 ... called from f:\Euphoria22\Win320579\win32lib.ew:23702 in procedure = WinMain() =20 id =3D 3 style =3D 0 ... called from K:\Fbkp\Euphoria\Progs\External\Colored_labels.exw:73=20 Global & Local Variables k:\fbkp\Euphoria\include\machine.e: check_calls =3D 1 k:\fbkp\Euphoria\include\msgbox.e: lib =3D 2011234304 msgbox_id =3D 0 get_active_id =3D 1 k:\fbkp\Euphoria\include\file.e: SLASH =3D 92'\' my_dir =3D -2 k:\fbkp\Euphoria\include\get.e: input_file =3D <no value> input_string =3D <no value> string_next =3D <no value> ch =3D <no value> k:\fbkp\Euphoria\include\graphics.e: BLUE =3D 1 CYAN =3D 3 RED =3D 4 BROWN =3D 6 BRIGHT_BLUE =3D 9 BRIGHT_CYAN =3D 11 BRIGHT_RED =3D 12 YELLOW =3D 14 k:\fbkp\Euphoria\include\image.e: fn =3D <no value> error_code =3D <no value> numXPixels =3D <no value> numYPixels =3D <no value> bitCount =3D <no value> numRowBytes =3D <no value> startXPixel =3D <no value> startYPixel =3D <no value> endYPixel =3D <no value> f:\Euphoria22\Win320579\tk_mem.e: pAbortRtn =3D 0 pAllocationCounter =3D 0 pAllocated =3D {{},{}} pAllotted =3D 0 pStringSet =3D 0 pHeap =3D 0 pPeekStringBufSize =3D 256 f:\Euphoria22\Win320579\win32lib.ew: VOID =3D 0 vWinMainState =3D 2 r_getText =3D 8 r_setPenPos =3D 5 r_doEvents =3D 49'1' r_setFocus =3D 14 r_getItem =3D 10 r_destroy =3D 4 r_activateTabItems =3D 13 r_createEx =3D 3 r_setSubFields =3D 7 r_lvSortitems =3D 15 r_isVisible =3D 9 r_openWindow =3D 48'0' r_setHintEx =3D 50'2' r_loadBitmapFromFile =3D 11 r_setBitmap =3D 12 r_CleanUp =3D 53'5' r_getClientRect =3D 6 r_Pause =3D -1 r_Break =3D -1 gtMsg =3D {{-2761,263570,15,0,0}} vDuringPaint =3D {6} idStack =3D {3,4,3,0,0,0,0,0,0,0} returnStack =3D {0,0,0,0,0,0,0,0,0,0} SP =3D 2 vFontResolution =3D 1 showWarnings =3D 1 xUserCleanUp =3D -1 vMsgsToIgnore =3D {} vAppName =3D {87'W',105'i',110'n',51'3',50'2',76'L',105'i',98'b',32' = ', 65'A',112'p',112'p',87'W',105'i',110'n',100'd',111'o',119'w'} vw32Libraries =3D = {{{1,2011234304},{117'u',115's',101'e',114'r',51'3', 50'2',46'.',100'd',108'l',108'l'}},{{1,2012479488},{103'g',100'd',105'i',= 51'3',50'2',46'.',100'd',108'l',108'l'}},{{0,0},{119'w',105'i',110'n', 109'm',109'm',46'.',100'd',108'l',108'l'}},{{0,0},{99'c',111'o',109'm', 100'd',108'l',103'g',51'3',50'2',46'.',100'd',108'l',108'l'}},{{1,2008350= 720}, {99'c',111'o',109'm',99'c',116't',108'l',51'3',50'2',46'.',100'd',108'l',= 108'l'}},{{0,0},{107'k',101'e',114'r',110'n',101'e',108'l',51'3',50'2', 46'.',100'd',108'l',108'l'}},{{0,0},{115's',104'h',101'e',108'l',108'l', 51'3',50'2',46'.',100'd',108'l',108'l'}},{{1,1999306752},{{114'r',105'i',= 99'c',104'h',101'e',100'd',50'2',48'0',46'.',100'd',108'l',108'l'},{114'r= ', 105'i',99'c',104'h',101'e',100'd',51'3',50'2',46'.',100'd',108'l',108'l'}=vw32Routines =3D = {11,17,19,{-1,{85'U',110'n',114'r',101'e',103'g',105'i', 115's',116't',101'e',114'r',67'C',108'l',97'a',115's',115's',65'A'},{3355= 4436, 33554436},16777220},20,31,32' ',{-1,{83'S',101'e',116't',70'F',111'o', 114'r',101'e',103'g',114'r',111'o',117'u',110'n',100'd',87'W',105'i', 110'n',100'd',111'o',119'w'},{33554436},33554436},18,{-1,{83'S',101'e', 116't',67'C',117'u',114'r',115's',111'o',114'r'},{33554436},16777220}, {-1,{83'S',101'e',116't',67'C',117'u',114'r',115's',111'o',114'r',80'P', 111'o',115's'},{16777220,16777220}},{-1,{109'm',111'o',117'u',115's', 101'e',95'_',101'e',118'v',101'e',110'n',116't'},{16777220,16777220,16777= 220, 16777220,16777220}},{-1,{83'S',104'h',111'o',119'w',67'C',117'u',114'r', 115's',111'o',114'r'},{16777220},16777220},{-1,{67'C',114'r',101'e',97'a'= , 116't',101'e',67'C',117'u',114'r',115's',111'o',114'r'},{33554436,1677722= 0, 16777220,16777220,16777220,33554436,33554436},33554436},{-1,{68'D',101'e'= , 115's',116't',114'r',111'o',121'y',67'C',117'u',114'r',115's',111'o', 114'r'},{33554436},16777220},{-1,{71'G',101'e',116't',67'C',108'l',97'a',=
115's',115's',76'L',111'o',110'n',103'g',65'A'},{33554436,16777220},33554= 436}, 25,{-1,{80'P',101'e',101'e',107'k',77'M',101'e',115's',115's',97'a',103'g= ', 101'e',65'A'},{33554436,33554436,33554436,33554436,33554436},16777220}, {-1,{71'G',101'e',116't',77'M',101'e',115's',115's',97'a',103'g',101'e', 65'A'},{33554436,33554436,33554436,33554436},16777220},{-1,{84'T',114'r',=
97'a',110'n',115's',108'l',97'a',116't',101'e',77'M',101'e',115's',115's'= , 97'a',103'g',101'e'},{16777220}},{-1,{68'D',105'i',115's',112'p',97'a', 116't',99'c',104'h',77'M',101'e',115's',115's',97'a',103'g',101'e',65'A'}= , {33554436}},27,28,{-1,{68'D',114'r',97'a',119'w',84'T',101'e',120'x', 116't',65'A'},{33554436,33554436,16777220,33554436,33554436}},{-1,{68'D',= ... vNextRtn =3D 249 WC_RICHEDIT =3D = {82'R',73'I',67'C',72'H',69'E',68'D',73'I',84'T',50'2', 48'0',65'A'} classes =3D 50'2' Screen =3D 1 Printer =3D 2 className =3D {{},{98'b',117'u',116't',116't',111'o',110'n'},{98'b', 117'u',116't',116't',111'o',110'n'},{98'b',117'u',116't',116't',111'o', 110'n'},{98'b',117'u',116't',116't',111'o',110'n'},{98'b',117'u',116't', 116't',111'o',110'n'},{98'b',117'u',116't',116't',111'o',110'n'},{108'l',=
105'i',115's',116't',98'b',111'o',120'x'},{108'l',105'i',115's',116't', 98'b',111'o',120'x'},{99'c',111'o',109'm',98'b',111'o',98'b',111'o',120'x= '}, {99'c',111'o',109'm',98'b',111'o',98'b',111'o',120'x'},{99'c',111'o', 109'm',98'b',111'o',98'b',111'o',120'x'},{99'c',111'o',109'm',98'b',111'o= ', 98'b',111'o',120'x'},{101'e',100'd',105'i',116't'},{101'e',100'd',105'i',=
116't'},{115's',116't',97'a',116't',105'i',99'c'},{115's',116't',97'a', 116't',105'i',99'c'},{115's',116't',97'a',116't',105'i',99'c'},{115's', 99'c',114'r',111'o',108'l',108'l',98'b',97'a',114'r'},{115's',99'c',114'r= ', 111'o',108'l',108'l',98'b',97'a',114'r'},{115's',116't',97'a',116't', 105'i',99'c'},{115's',116't',97'a',116't',105'i',99'c'},{},{},{},{},{84'T= ', 111'o',111'o',108'l',98'b',97'a',114'r',87'W',105'i',110'n',100'd',111'o'= , 119'w',51'3',50'2'},{109'm',115's',99'c',116't',108'l',115's',95'_',115's= ', 116't',97'a',116't',117'u',115's',98'b',97'a',114'r',51'3',50'2'},{98'b',=
117'u',116't',116't',111'o',110'n'},{98'b',117'u',116't',116't',111'o', 110'n'},{98'b',117'u',116't',116't',111'o',110'n'},{109'm',115's',99'c', 116't',108'l',115's',95'_',116't',114'r',97'a',99'c',107'k',98'b',97'a', 114'r',51'3',50'2'},{109'm',115's',99'c',116't',108'l',115's',95'_',116't= ', 114'r',97'a',99'c',107'k',98'b',97'a',114'r',51'3',50'2'},{83'S',121'y', 115's',84'T',97'a',98'b',67'C',111'o',110'n',116't',114'r',111'o',108'l',=
51'3',50'2'},0,{109'm',115's',99'c',116't',108'l',115's',95'_',112'p', 114'r',111'o',103'g',114'r',101'e',115's',115's',51'3',50'2'},{83'S',... classType =3D {0,1,1,1,1,1,1,4,4,2,2,2,2,3,3,6,6,6,5,5,6,6,7,8,9,10, 11,11,1,1,1,11,11,11,0,11,11,0,11,11,11,11,11,0,11,11,1,11,0,0} classStyle =3D = {13565952,1342242816,1342242817,1342242819,1342242822, 1342242825,1342177287,1352728577,1352728579,1344340482,1344340738,1342243= 331, 1344340483,1350631552,1352728580,1342177280,1342177282,1342177281,1342242= 816, 1342242817,1342177283,1342177294,0,0,0,0,1417674757,1409286147,1342242944= , 1342246915,1342247043,1342242849,1342242851,1375797248,0,1342177280,13506= 31488, 0,1350631424,1352769604,1350631424,1342177280,1451294752,0,1,1417742597, 1,1342243842,0,0} classStyleEx =3D = {16,0,0,0,0,0,0,528,528,512,512,512,512,528,528,0,0, 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,512,0,512,512,1,0,512,0,8,1,0,0, 0,0} classAttr =3D = {1,0,0,0,0,0,1,1,1,1,1,1,1,0,8,0,0,0,0,0,0,0,2,2,2,2,3, 1,4,0,4,1,1,1,0,1,1,0,0,8,0,0,2,0,2,3,3,1,2,2} classBGColor =3D = {12307669,12307669,12307669,-1,12307669,12307669,12307669, 10797260,10797260,10797260,10797260,10797260,10797260,10797260,10797260, -1,-1,-1,12307669,12307669,12307669,12307669,12307669,12307669,12307669, 12307669,12307669,12307669,12307669,12307669,12307669,12307669,12307669, 12307669,12307669,12307669,10797260,12307669,10797260,10797260,12307669, 12307669,12307669,12307669,12307669,12307669,12307669,10797260,12307669, 12307669} vWindowClassStyle =3D {8} lv_id =3D {} lvitem_data =3D {} ilicon_list =3D {} lvInsertWhere =3D 1 vNextLVItemID =3D 0 ILlarge =3D 0 ILsmall =3D 0 tv_id =3D {} tvitem_data =3D {} tvitem_owner =3D {} tvitem_parent =3D {} tvitem_handle =3D {} himlFTBDefault =3D 0 himlFTBHot =3D 0 himlFTBDisabled =3D 0 FTB_images =3D {} WndProcAddress =3D 11357480 SubProcAddress =3D 11357584 vOnXXXSupport =3D 1 onMouse =3D {-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1} onClick =3D {-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1} onKeyPress =3D = {-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1} onKeyUp =3D {-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1} onKeyDown =3D = {-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1} onResize =3D {-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1} onChange =3D {-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1} onGotFocus =3D = {-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1} onLostFocus =3D {-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1, -1} onScroll =3D {-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1} onOpen =3D {-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1} onActivate =3D = {-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1} onClose =3D {-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1} onDestroy =3D = {-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1} onTimer =3D {-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1} onPaint =3D {-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1} onDragAndDrop =3D = {-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1, -1} onEvent =3D {-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1} mainWindow =3D 3 modalWindow =3D 0 modalStyle =3D 0 modalDepth =3D 0 modalhWnd =3D 0 modalStack =3D {} window_handle =3D = {-1,-1,3343596,263570,460174,329104,394632,-1,-1,-1, -1,-1,-1,-1,-1,-1,-1,-1} window_handle_type =3D = {-1,-1,1,1,1,1,1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1, -1} window_destroyed =3D = {0,0,0,0,0,0,0,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1} window_func =3D = {-1,-1,-1,-1,-1,-1,2011279982,-1,-1,-1,-1,-1,-1,-1,-1, -1,-1,-1} window_family =3D {0,0,0,0,0,0,1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1} window_type =3D = {49'1',50'2',1,1,1,1,2,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1, -1} window_focus_order =3D = {{},{},{7},{},{},{},{},-1,-1,-1,-1,-1,-1,-1,-1, -1,-1,-1} window_focus =3D {0,0,7,0,0,0,0,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1} window_owner =3D {0,0,0,3,3,3,3,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1} window_menu =3D {0,0,0,0,0,0,0,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1} window_toolbar =3D {0,0,0,0,0,0,0,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1} window_statusbar =3D = {0,0,0,0,0,0,0,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1} window_tooltip =3D {{},{},{},{},{},{},{},-1,-1,-1,-1,-1,-1,-1,-1,-1, -1,-1} window_tooltipwid =3D = {200,200,200,200,200,200,200,-1,-1,-1,-1,-1,-1, -1,-1,-1,-1,-1} window_font =3D = 97'a',114'r',105'i',97'a',108'l'},10,0,0},{{97'a', 114'r',105'i',97'a',108'l'},10,0,0},{{},10,0,0},{{65'A',114'r',105'i', 97'a',108'l'},10,0,0},{{67'C',111'o',117'u',114'r',105'i',101'e',114'r', 32' ',78'N',101'e',119'w'},14,0,0},{{84'T',105'i',109'm',101'e',115's', 32' ',82'R',111'o',109'm',97'a',110'n'},12,0,0},{{},10,0,0},-1,-1,-1, -1,-1,-1,-1,-1,-1,-1,-1} window_fcolor =3D {0,0,0,0,0,0,0,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1} window_bcolor =3D = {12307669,12307669,12307669,0,12307669,12307669,12307669, -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1} window_pen =3D = {{0,0,0,13,1,1,12307669},{0,0,0,13,1,1,12307669},{0,0, 0,13,1,1,12307669},{0,0,0,13,1,1,12307669},{0,0,0,13,1,1,12307669},{0, 0,0,13,1,1,12307669},{0,0,0,13,1,1,12307669},-1,-1,-1,-1,-1,-1,-1,-1, -1,-1,-1} window_x =3D {0,0,0,2,0,0,0,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1} window_y =3D {0,0,0,2,0,0,0,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1} window_scroll =3D {{1,10},{1,10},{1,10},{1,10},{1,10},{1,10},{1,10}, -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1} window_range =3D = {{0,100'd'},{0,100'd'},{0,100'd'},{0,100'd'},{0,100'd'}, {0,100'd'},{0,100'd'},-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1} window_tabitems =3D = {{},{},{},{},{},{},{},-1,-1,-1,-1,-1,-1,-1,-1,-1, -1,-1} window_group =3D = {{},{},{4,5,6,7},{},{},{},{},-1,-1,-1,-1,-1,-1,-1,-1, -1,-1,-1} window_cursor =3D {0,0,0,0,0,0,0,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1} window_hotkey_keys =3D = {{},{},{},{},{},{},{},-1,-1,-1,-1,-1,-1,-1,-1, -1,-1,-1} window_hotkey_ids =3D {{},{},{},{},{},{},{},-1,-1,-1,-1,-1,-1,-1,-1, -1,-1,-1} window_textalign =3D = {0,0,0,0,0,0,0,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1} window_closed =3D {1,1,0,0,0,0,1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1} window_tabenabled =3D = {1,1,1,1,1,1,1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1} window_eventhandler =3D {{{},{},{},{},{},{},{},{},{},{},{},{},{},{}, {},{},{},{},{},{},{}},{{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{}, {},{},{},{},{}},{{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{}, {},{},{}},{{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{54'6'},{}, {},{},{}},{{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{54'6'},{}, {},{},{}},{{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{54'6'},{}, {},{},{}},{{},{},{},{55'7'},{},{},{},{},{},{},{},{},{},{},{},{},{},{}, {},{},{}},-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1} window_bbrush =3D = {0,0,101714155,1326450686,-1123022609,-988804925,655362228, -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1} window_tag =3D = {{{},{},{}},{{},{},{}},{{},{},{}},{{{84'T',101'e',120'x', 116't',67'C',111'o',108'l',111'o',114'r'},{84'T',101'e',120'x',116't', 66'B',71'G'}},{255,0},{255,0}},{{{84'T',101'e',120'x',116't',67'C',111'o'= , 108'l',111'o',114'r'},{84'T',101'e',120'x',116't',66'B',71'G'}},{16776960= , 32896},{16776960,32896}},{{{84'T',101'e',120'x',116't',67'C',111'o',108'l= ', 111'o',114'r'},{84'T',101'e',120'x',116't',66'B',71'G'}},{16777215,838860= 8}, {16777215,8388608}},{{},{},{}},-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1} tooltipControl =3D 0 transColor =3D 16711935 DefaultFontID =3D 25821223 heldResource =3D {} heldCursor =3D {} vPens =3D {} vPensHandle =3D {} vBrushes =3D {} vBrushesHandle =3D {} vFontWeight =3D 700 vStockResources =3D {25821223,28311575,26214421,0,1,2,3,4,5,6,7,8,9, 10,11,12,13,14,15,16} i =3D 16 grabbedHDC =3D {{4,352388058,0,{}},{4,788596960,0,{ paintDC =3D printerDC =3D 0 vShowChars =3D 0 vStreamCallbackBuffer =3D {} vStreamCBPosn =3D 1 regCount =3D 5 vEmptySlots =3D 16 vOpenedFlags =3D 0 customColors =3D 8462016 i =3D 63'?' vTabKeyCodes =3D {9} hintFontSize =3D 8 hintFontAttrib =3D 0 hintFontName =3D {77'M',83'S',32' ',83'S',97'a',110'n',115's',32' ', 83'S',101'e',114'r',105'i',102'f'} pfnCompare =3D 10714880 dragData =3D {} vLMB_id =3D {-1,-1,-1,-1} vMaxClickTime =3D 0.5 vMaxClickXDelta =3D 3 vMaxClickYDelta =3D 3 ActiveEL =3D {} cnt =3D 0 vNotifications =3D = {-551,-108,-150,-109,-403,-402,-409,-520,-749,-700, -706,-707,-101,-2} vNotifyHandlers =3D {17,18,19,20,21,22,23,24,25,26,27,28,29,30} vEventsHandled =3D = {512,513,516,514,517,515,518,522,5,7,8,256,258,257, 273,563,15,277,276,275,21,309,312,307,308,16,2,78'N',260,49231} vHandler =3D {31,31,31,31,31,31,31,31,32' ',33'!',34'"',35'#',35'#', 35'#',36'$',37'%',38'&',39''',39''',40'(',41')',42'*',42'*',42'*',42'*', 43'+',44',',45'-',46'.',47'/'} xpmErrFlag =3D <no value> transTuple =3D {255,0,255} pm =3D 0
f:\Euphoria22\Win320579\compat01.ew: VOID =3D 0
K:\Fbkp\Euphoria\Progs\External\Colored_labels.exw: lblList =3D {4,5,6} vPainting =3D 1
Traced lines leading up to the failure:
f:\Euphoria22\Win320579\win32lib.ew:22431 return lRC f:\Euphoria22\Win320579\win32lib.ew:23363 if result[1] =3D = kWinDefProc then f:\Euphoria22\Win320579\win32lib.ew:23377 if length(result) = 1 then f:\Euphoria22\Win320579\win32lib.ew:23380 result =3D 0 f:\Euphoria22\Win320579\win32lib.ew:23385 gtMsg =3D gtMsg[2 .. = length(gtMsg)] f:\Euphoria22\Win320579\win32lib.ew:23386 VOID =3D invokeHandler(id, = w32HAfterEvent, {iMsg, wParam, lParam, result} ) f:\Euphoria22\Win320579\win32lib.ew:23387 return result f:\Euphoria22\Win320579\win32lib.ew:23385 gtMsg =3D gtMsg[2 .. = length(gtMsg)] f:\Euphoria22\Win320579\win32lib.ew:23386 VOID =3D invokeHandler(id, = w32HAfterEvent, {iMsg, wParam, lParam, result} ) f:\Euphoria22\Win320579\win32lib.ew:23387 return result f:\Euphoria22\Win320579\win32lib.ew:589 if pMode =3D 2 f:\Euphoria22\Win320579\win32lib.ew:593 fCleanUp(lErrCode, = lDispMsg) f:\Euphoria22\Win320579\win32lib.ew:502 if sequence(xUserCleanUp)=20 f:\Euphoria22\Win320579\win32lib.ew:520 if r_CleanUp > -1 then f:\Euphoria22\Win320579\win32lib.ew:521 call_proc( r_CleanUp, {} ) f:\Euphoria22\Win320579\win32lib.ew:8354 held =3D heldResource =
20
f:\Euphoria22\Win320579\win32lib.ew:8357 for i =3D 1 to length( held = ) do f:\Euphoria22\Win320579\win32lib.ew:8363 for i =3D 1 to length( = heldCursor ) do f:\Euphoria22\Win320579\win32lib.ew:8367 heldCursor =3D {} f:\Euphoria22\Win320579\win32lib.ew:8370 release_all_mem() f:\Euphoria22\Win320579\win32lib.ew:8372 vWinMainState =3D kFinished f:\Euphoria22\Win320579\win32lib.ew:8374 end procedure f:\Euphoria22\Win320579\win32lib.ew:523 end procedure f:\Euphoria22\Win320579\win32lib.ew:595 if pMode =3D 2 f:\Euphoria22\Win320579\win32lib.ew:598 abort(1/0) Force the = ex.err to be created.
----=_NextPart_000_0018_01C229D5.E54D3390 }}}