1. Thanks
- Posted by president at insight-concepts.com May 22, 2001
- 692 views
Thanks Derek and EUMAN for the solutions. Long Live Euphoria, Chris
2. Re: Thanks
- Posted by Euman <euman at bellsouth.net> May 22, 2001
- 632 views
I should have been specific, the one I gave you centers the window when you create it. It doesnt take into account the user resizeing the window or moveing it but, you could use setRect( ) in conjunction with the functions I sent. but, first you would have to GetWindowRect to establish the four rect points. I sent it just incase all you wanted basically was a quick way to do this on loading the Window. else, use Dereks. Euman ----- Original Message ----- From: <president at insight-concepts.com> To: "EUforum" <EUforum at topica.com> Sent: Tuesday, May 22, 2001 22:15 Subject: Thanks > > > Thanks Derek and EUMAN for the solutions. > > Long Live Euphoria, > Chris > > > > > >
3. Thanks
- Posted by Monty King <boot_me at GEOCITIES.COM> Feb 20, 1998
- 634 views
- Last edited Feb 21, 1998
Thanks Jacques and David... Much appreciated. Monty PS What does that ez font do? I got it running but it doesn't seem to do anything.
4. Re: Thanks
- Posted by Jacques Deschenes <desja at GLOBETROTTER.QC.CA> Feb 21, 1998
- 626 views
At 21:49 20-02-98 -0800, you wrote: >Thanks Jacques and David... > Much appreciated. >Monty > >PS What does that ez font do? I got it running but it doesn't seem to do >anything. > ezfont.ew is an include file to use with you win32 applications. It define a function EzCreateFont() which is used to create a true type font from one of the 13 true type font that comes standard with windows 95. Syntax: include ezfont.ew hFont = EzCreateFont(hdc,FaceName,DeciPtHeigth,DeciPtWidth,Attributes,fLogRes) Description: Return a true type font handle. hFont is an atom receiving the font handle. hdc is an atom containing the display context handle, FaceNAme is the name of the font, one of the 13 below: Courier New Courier New Bold Courier New Italic Courier New Bold Italic Times New Roman Times New Roman Bold Times New Roman Italic Times New Roman Bold Italic Arial Arial Bold Arial Italic Arial Bold Italic Symbol If you have other TrueType fonts installed you can use them, but 13 above comes with windows 95. DeciPtHeigth is an integer that indicate the font heigth in 1/10 of a point. So if you want a 10 points character DeciPtHeigth = 100. DeciPtWidth is an integer that indicate character width. Normaly set it to 0 or same as DeciPtHeigth to get character with normal heigth/width ratio. If you want a narrower or larger character than designed is this parameter to modify it. Attributes is an integer defining character appearance. attributes constants are: EZ_ATTRIB_ITALIC EZ_ATTRIB_BOLD EZ_ATTRIB_UNDERLINE EZ_ATTRIB_STRIKEOUT attributes can be ored togethers. fLogRes is an integer that shoul be 1 or 0 (BOOLEAN). Set It to TRUE to base the visible font size on the "logical resolution" returned by GetDeviceCaps function. Otherwise it's based on actual resolution. (cited from Charles Petzold book I don't know what it really does) Example: atom hdc, hFont, pText constant Text = "This text is underlined" hdc = GetDC(hwnd) -- hwnd is a valid window handle hFont = EzCreateFont(hdc,"Times New Roman",120,0,EZ_ATTRIB_UNDERLINE,1) pText = allocate_string(Text) TextOut(hdc,0,0,pText,length(Text))-- write text to windows ReleaseDC(hwnd,hdc)-- release the display context when it's no more needed DeleteObject(hFont) -- release the font when it's no more needed. ---------------------------------------------------------------------------- Jacques Deschenes Baie-Comeau, Quebec Canada desja at globetrotter.qc.ca
5. Thanks
- Posted by Kondor Attila <konel at DPG.HU> Mar 29, 2000
- 635 views
Hi Bernie, Matthew ! Thank you for help! Attila ------------------------ > -- Do this to convert the ROUTINE ID into a CALLBACK ADDRESS > lpComplett = call_back(routine_id("Read_Ok"))
6. Thanks
- Posted by Chris Burch <chriscrylex at aol.com> Mar 08, 2005
- 613 views
Hi Just a quick note of thanks to Elliot Sales de Andrade for the gd library (including the jpg only library he emailed to me), and Tommy carlier for the freeimage library (as well as the win32lib team, and ide) - enabled me to create a nice little add on app for a friend of mine releasing a new game. ( http://starfighter.home.att.net/evochron/downloads.htm ) Chris http://members.aol.com/chriscrylex/euphoria.htm http://uboard.proboards32.com/
7. Thanks
- Posted by =?iso-8859-1?B?cAg=?= <mwfch at MWEB.CO.ZA> Aug 25, 2000
- 614 views
------=_NextPart_000_0007_01C00E7E.56AFBDC0 charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Thanks for all the help . But I allready know about those C sites. And I = already know about all the stuff you said about that 256 mesage I sent = .I got everythin strait and now my problem is solved ( By myself ! ) You = know a sprite editor ,right ? I wanted to create a list that shows you = all the 256 colors . Well my programing is going quite well . I am = begining to go to the advance level . There is just one last thing I = want to tel you people . C is not difficult . Only because everyone says = Its difficult , many of you have created a fear for it . If you want to = do programing for a job , you are going to have to learn a bit of C some = time in your life . Go for it ! See ya ( I mean read ya ! ) Ferdinand=20 ------=_NextPart_000_0007_01C00E7E.56AFBDC0 charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META content=3D"text/html; charset=3Diso-8859-1" = http-equiv=3DContent-Type> <META content=3D"MSHTML 5.00.2614.3500" name=3DGENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=3D#ffffff> <DIV><FONT face=3DArial>Thanks for all the help . But I allready = know about=20 those C sites. And I already know about all the stuff you said = about=20 that 256 mesage I sent .I got everythin strait and now = my problem is=20 solved ( By myself ! ) You know a sprite editor ,right ? I wanted = to create=20 a list that shows you all the 256 colors . Well my programing is = going=20 quite well . I am begining to go to the advance level . There is = just one=20 last thing I want to tel you people . C is not difficult . Only = because=20 everyone says Its difficult , many of you have created a fear for = it . If=20 you want to do programing for a job , you are going to have=20 to learn a bit of C some time in your life . Go for it = !</FONT></DIV> <DIV><FONT face=3DArial></FONT> </DIV> <DIV>See ya ( I mean read ya ! )</DIV> <DIV> </DIV> ------=_NextPart_000_0007_01C00E7E.56AFBDC0--
8. Re: Thanks
- Posted by Tom Eklöf <darkspace at SUNPOINT.NET> Aug 25, 2000
- 624 views
- Last edited Aug 26, 2000
C's not difficult, eh? Oh, you're going to wish you hadn't said that, Ferdinand ole boy ;) Interpret me this, now won't you: char (*(*x())[])() And yes, this is a completely valid expression in C. ANY programming language can be difficult. Take Perl for example: it look= s innocent enough, even with the regexps and such, but when you get deep = down into things like references, you end up writing code like &{$spindle->{FOLD}}(3); --Tom "Uses computed gotos regularly" Ekl=F6f Liity toga.com etuj=E4seneksi, saat etuj=E4sentarjouksia ja lis=E4ksi voi= t voittaa Palm V k=E4mmenmikron! http://www.sunpoint.net/SunAds/click.htm=
9. Re: Thanks
- Posted by irv <irv at ELLIJAY.COM> Aug 25, 2000
- 641 views
On Fri, 25 Aug 2000, you wrote: > C's not difficult, eh? > Oh, you're going to wish you hadn't said that, Ferdinand ole boy ;) > > Interpret me this, now won't you: > char (*(*x())[])() > > > And yes, this is a completely valid expression in C. > I can't tell you what happens when you run that, but I do know that if you drop random bits of code like that into your work, you'll be unpopular but layoff-proof.:) Irv
10. Re: Thanks
- Posted by Tom Eklöf <darkspace at SUNPOINT.NET> Aug 27, 2000
- 623 views
> On Fri, 25 Aug 2000, you wrote: >> C's not difficult, eh? >> Oh, you're going to wish you hadn't said that, Ferdinand ole boy ;) >> >> Interpret me this, now won't you: >> char (*(*x())[])() >> >> >> And yes, this is a completely valid expression in C. >> > > I can't tell you what happens when you run that, but > I do know that if you drop random bits of code like that > into your work, you'll be unpopular but layoff-proof.:) > > Irv Obviously enough, that's a function returning a pointer to an array of po= inters to functions returning char ;) Tiesitk=F6 muuten, ett=E4 toga.com nettitavaratalossa pleikkaripelit maks= avat vain alk.125mk. http://www.sunpoint.net/SunAds/click.htm?mode=3Dfoot= er&id=3D3&jump=3Dhttp%3A%2F%2Fwww.toga.com%2Ffi
11. Re: Thanks
- Posted by LEVIATHAN <leviathan at USWEST.NET> Aug 27, 2000
- 640 views
> Obviously enough, that's a function returning a pointer to an array of > pointers to functions returning char ;) Okay. My head hurts now. Blessed Be! --"LEVIATHAN"
12. Thanks
- Posted by "Michael R. York" <myork at GLIC.IMMACULATA.EDU> Jul 28, 1999
- 595 views
I wanted to thank everyone, I still need to refine the program (duh), = but it's just to learn the basics of it. I may post more stupid = questions and lame programs, so I appreciate the lack of flamming I = received on this last one. ______________________________________ Michael R. York Database Coordinator/Development Department Phone: (610)647-4400 x3137 Fax: (610)251-1668 Email: myork at immaculata.edu
13. Thanks
- Posted by willabamm at hotmail.com Mar 01, 2001
- 611 views
- Last edited Mar 02, 2001
Thank You All! I apologize for 1) My spelling (Kat) 2) For being impatiant. I took a hard blow this month. I went and learnd a program called RPG Maker and made a couple of games, and went to sell tham and was told that I can only distribute them as freeware, or be sued. This was hard to me and my family, we have little income, I got a huge criminale record, ( I have been stright for 3 yrs. I got married and settle down), I know this is my fault. but I can't get a job, and I live in a tourist town with little job opertunity. So I went into game programing, but found C++ hard to learn. I then investergated other programing languages, and decided too try eaiser one first. So i would like to convert these games into something I can sell and make some money! Again Sorry for the trouble, and yes belive it or not I did read the install instructions.
14. Re: Thanks
- Posted by Euman <euman at bellsouth.net> Mar 01, 2001
- 621 views
- Last edited Mar 02, 2001
This is going to hard to say but judging from your experience thus far you'll go broke before you get a game that's worthy of dollars in the pocket. I've been giving Euphoria hell for almost three years now and am only scratching the surface. I feel comfortable enough to experiment now but, with a full time job and family too, putting in as much time as I can to gain the knowledge only for the pride in knowing that I can make my computer do what I want it to. I think in maybe a year from now I might make my first dollar. Thats four years of time to gain the knowledge necessary to compete in an industry filled with superior mind power. (take a bow yall. hehe) I too am ambitous, I want it all now but I know it's not to be, so I haven't quite my day job yet. I suggest the same for you. Euman ----- Original Message ----- From: <willabamm at hotmail.com> To: "EUforum" <EUforum at topica.com> Sent: Thursday, March 01, 2001 23:23 Subject: Thanks | Thank You All! | I apologize for | 1) My spelling (Kat) | 2) For being impatiant. | I took a hard blow this month. I went and learnd a program called RPG | Maker and made a couple of games, and went to sell tham and was told | that I can only distribute them as freeware, or be sued. | This was hard to me and my family, we have little income, I got a huge | criminale record, ( I have been stright for 3 yrs. I got married and | settle down), I know this is my fault. but I can't get a job, and I live | in a tourist town with little job opertunity. So I went into game | programing, but found C++ hard to learn. I then investergated other | programing languages, and decided too try eaiser one first. | So i would like to convert these games into something I can sell and | make some money! | | | Again Sorry for the trouble, and yes belive it or not I did read the | install instructions. | | | |
15. Re: Thanks
- Posted by graemeburke at CROSSWINDS.NET Mar 02, 2001
- 603 views
At 08:23 1/03/01 -0800, you wrote: >This was hard to me and my family, we have little income, I got a huge >criminale record, ( I have been stright for 3 yrs. I got married and >settle down), I know this is my fault. but I can't get a job, and I live >in a tourist town with little job opertunity. So I went into game >programing, but found C++ hard to learn. I then investergated other >programing languages, and decided too try eaiser one first..... On Programming and Money: If this is seriously your situation, stop fooling yourself and go out and get a job. If there is no work where you are, hitch-hike somewhere else and get a job, then post the money back to your family. If you want to learn to program, great! Do it in your spare time. Who knows, you may even get good at it and make some money some day, but there's no way known you can learn to program, write a game, market it and earn some money before those four and a half packets of instant noodles in the cupboard run out. It's just not going to happen, mate. Tourist town? One thing that is pretty well universal is that tourists are a ready source of money. Buy some cheap tee-shirts and print "Welcome to Auckland, where men are men, and sheep are nervous" on them. Of course if you're not from Auckland, you'll have to come up with something else. Tourists will spend $20 on any piece of junk that makes them laugh (this will include me if I ever get a real Holiday:-0) On EUPHORIA: 1) To make a Euphoria program, you must make a text file with some code in it, then pass that text file to the euphoria interpreter. 2) You can make the text file using any text editor. I still prefer ED.EX that comes with euphoria, but it dosn't reall matter 3) The text file should have the extension .EX (or .EXW) i.e. "thisfile.EX" 4) The Euphoria interpreter is a program called "EX.EXE" (or EXW.EXE) 5) So if you create a text file called "this.ex", with some code in it, you will have to run EX.EXE and pass it the name of the file i.e. "EX.EXE THIS.EX" or "EX THIS.EX" or just "EX THIS" In windows you can drag and drop "THIS.EX" onto "EX.EXE" which should be in c:\euphoria\bin The only problems you will have doing any of this is if your system dosn't know where to look for the files. (6) below should fix this. 6) include the lines already mentioned by several other people in your config.sys file. (This should be in your C drive in "My Computer" double-click then select notepad from the list) It's also possible (but unlikely) that you have no config.sys file. If that's the case, right click in your C Drive window and select New->Text File The just type "config.sys" in the name box. Re-boot after you have done this ************************************************************************* So, to recap, A) make a text file with some code in it B) pass it to ex.exe, this will run your code ************************************************************************* ex.exe is for DOS programs (but runs fine under windows) exw.exe is for windows programs. I'd start with DOS to do a few tests and find your feet. Euphoria programs can be easily converted to .EXE files, but you will have worked that out by the time you get up to it. Good luck, Graeme. ( and seriously man, get a job, the diffrence between a one income family and a two income family is huge, it will give you the peace of mind to relax and enjoy yourself )
16. Thanks
- Posted by Caballero Rojo <ebonvehi at CPSARG.COM> Apr 11, 1999
- 604 views
Thanks David, that idea was on my brain, but I think that make a polygon of that size take memory. And thanks to that man who answers my other mail: Anybody? (I deleted it, and I don=B4t remember your name, sorry). Thanks, Red Knight
17. Thanks
- Posted by =?iso-8859-1?B?2AQ=?= <mwfch at MWEB.CO.ZA> Nov 01, 2000
- 600 views
------=_NextPart_000_0031_01C043E3.250E3860 charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Thank you for everyone who helped me lately with my questions ! Cheers Ferdinand Greyling ------=_NextPart_000_0031_01C043E3.250E3860 charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META content=3D"text/html; charset=3Diso-8859-1" = http-equiv=3DContent-Type> <META content=3D"MSHTML 5.00.2614.3500" name=3DGENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=3D#ffffff> <DIV><FONT face=3DArial>Thank you for everyone who helped me lately with = my=20 questions !</FONT></DIV> <DIV> </DIV> <DIV>Cheers</DIV> ------=_NextPart_000_0031_01C043E3.250E3860--
18. Thanks
- Posted by Sid Sidebottom <sid.sidebottom at ST.COM> Nov 21, 2000
- 608 views
Hi All, Thanks to all the responses to my (somewhat dumb) question. I now have my csv routine fine. Only trouble is, excel can't handle more than 256 columns Ne'er mind, cheers anyway. Sid
19. Thanks
- Posted by pete_stoner at btconnect.com Jun 17, 2003
- 696 views
This is a multi-part message in MIME format. ------=_NextPart_000_00A9_01C334DD.3D9927D0 charset="Windows-1252" Hi All Like Ray I am also a 'Newbie' to Euphoria, I've been playing with it = for about 3 months now (I've even paid for the full version so I must like it!!), however unlike him I am not a programmer. = My only previous experience is a few=20 things (very few!) written in Rexx for both VM and OS/2. I particularly = liked the fact that although it is an interpreted language I could generate an exe file with little overhead on size = (compared to REXX for example). Like Ray I took a=20 while to get into it, I found that there are so many help files that it = can get confusing, so I often resorted to=20 seeing how the sample programs were done. I really wanted to say a big **THANK YOU** to everyone in the = Euphoria community - Especially Derek for the Win32Lib.. The best thing I've found with Euphoria is not only it's ease of use but = the fact there are *so* many example programs=20 (not to mention all the include files.. Thanks to everyone who have = provided these) with their source code available for download.=20 This makes it much easier (when you find an example of what you want to = do) to see what code is needed.. As I always tend to do I just jumped feet first into Euphoria,(no = trial programs first!!). I am a service engineer working on printers,=20 we have field engineers with laptops who often have to connect to a = printer via Ethernet (many of our printers have a web page interface for testing), few of them understand how to switch IP addresses around = in Windows and with many of our offices on dynamic=20 addressing the need for something was growing.. There are lots of = shareware type programs available for doing this but most=20 were too complicated for our purpose (or cost money!). =20 My program started as a 2 button GUI, one to switch to a fixed IP = address, the other sets it to DHCP (and also enables/disables Proxies and Socks in the background), then I added 2 more options - one = to ask them to enter a fixed address, the other gives a window they can do a 'Ping' from. I'm now just finishing some additions to it where they can LPR a = test print and they can also FTP (or LPR) a file to the printer (used for microcode updates)..With all the comments I've just = gone over the 1,000 line mark!! The initial version of the program has already been shipped to = engineers worldwide and I've had some great feedback=20 and I'm hoping for even better feedback on the new version (preferably = from management.. maybe money!! - I live in hope!!) I do have a question, there are times in my program where I am = running a windows command in the background and while waiting for this to complete I just want to show some kind of = 'Busy'. I am using progress bars (just as timers really) and 'Please Wait' messages but I would like to show the usual busy = cursor when the mouse is over the programs window and I haven't been able to figure this out. Can anyone help? Regards Pete. ------=_NextPart_000_00A9_01C334DD.3D9927D0 Content-Type: text/html; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=3DContent-Type content=3D"text/html; = charset=3Dwindows-1252"> <META content=3D"MSHTML 6.00.2800.1170" name=3DGENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=3D#ffffff> <DIV><FONT face=3DArial size=3D2> <DIV><FONT face=3DArial size=3D2>Hi All</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2> Like Ray I am also a = 'Newbie' to=20 Euphoria, I've been playing with it for about 3 months now (I've even = paid for=20 the full</FONT></DIV> <DIV><FONT face=3DArial size=3D2>version so I must like it!!), however = unlike him I=20 am not a programmer. </FONT><FONT face=3DArial size=3D2>My only previous = experience=20 is a few </FONT></DIV> <DIV><FONT face=3DArial size=3D2>things (very few!) written in Rexx for = both VM and=20 OS/2. I particularly liked the fact that although it is an=20 interpreted</FONT></DIV> <DIV><FONT face=3DArial size=3D2>language I could generate an exe file = with little=20 overhead on size (compared to REXX for example). </FONT><FONT = face=3DArial=20 size=3D2>Like Ray I took a </FONT></DIV> <DIV><FONT face=3DArial size=3D2>while to get into it, I </FONT><FONT = face=3DArial=20 size=3D2>found that </FONT><FONT face=3DArial size=3D2>there = </FONT><FONT face=3DArial=20 size=3D2>are so many help files that it can get confusing, so I often = resorted to=20 </FONT></DIV> <DIV><FONT face=3DArial size=3D2>seeing how the sample programs were = </FONT><FONT=20 face=3DArial size=3D2>done.</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2> I really wanted to = say a big=20 **THANK YOU** to everyone in the Euphoria community - Especially Derek = for the=20 Win32Lib..</FONT></DIV> <DIV><FONT face=3DArial size=3D2>The best thing I've found with Euphoria = is not only=20 it's ease of use but the fact there are *so* many example programs = </FONT></DIV> <DIV><FONT face=3DArial size=3D2>(not to mention all the </FONT><FONT = face=3DArial=20 size=3D2>include files.. Thanks to everyone who have provided = these) with=20 their </FONT><FONT face=3DArial size=3D2>source code available for = download.=20 </FONT></DIV> <DIV><FONT face=3DArial size=3D2>This makes it much easier (when you = find an example=20 of what you want to do) to see what code is needed..</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2> As I always tend to = do I just=20 jumped feet first into Euphoria,(no trial programs first!!). I am a = service=20 engineer working on printers, </FONT></DIV> <DIV><FONT face=3DArial size=3D2>we have field </FONT><FONT face=3DArial = size=3D2>engineers with laptops who often have to connect to a = printer via=20 Ethernet (many of our printers have a web page interface</FONT></DIV> <DIV><FONT face=3DArial size=3D2>for testing), few of them understand = </FONT><FONT=20 face=3DArial size=3D2>how to switch IP addresses around in Windows and = with many of=20 our offices on dynamic </FONT></DIV> <DIV><FONT face=3DArial size=3D2>addressing the need for something was=20 growing</FONT><FONT face=3DArial size=3D2>.. There are lots of shareware = type=20 </FONT><FONT face=3DArial size=3D2>programs available for doing this but = most=20 </FONT></DIV> <DIV><FONT face=3DArial size=3D2>were too complicated for our = purpose (or cost=20 money!). </FONT> </DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2> My program started = as a 2 button=20 GUI, one to switch to a fixed IP address, the other sets it to DHCP (and = also=20 enables/disables</FONT></DIV> <DIV><FONT face=3DArial size=3D2>Proxies and Socks in the background), = then I added=20 2 more options - one to ask them to enter a fixed address, the=20 other</FONT></DIV> <DIV><FONT face=3DArial size=3D2>gives a window they can do a 'Ping'=20 from.</FONT></DIV> <DIV><FONT face=3DArial size=3D2> I'm now just = finishing some=20 additions to it where they can LPR a test print and they can also FTP = (or LPR) a=20 file to the</FONT></DIV> <DIV><FONT face=3DArial size=3D2>printer (used for microcode = updates)..With all the=20 comments I've just gone over the 1,000 line mark!!</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2> The initial version = of the=20 program has already been shipped to engineers worldwide and I've had = some great=20 feedback </FONT></DIV> <DIV><FONT face=3DArial size=3D2>and I'm hoping for even better feedback = on the new=20 version (preferably from management.. maybe money!! - I live in=20 hope!!)</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2> I do have a = question, there are=20 times in my program where I am running a windows command in the = background=20 and</FONT></DIV> <DIV><FONT face=3DArial size=3D2>while waiting for this to complete I = just want to=20 show some kind of 'Busy'. I am using progress bars (just as timers=20 really)</FONT></DIV> <DIV><FONT face=3DArial size=3D2>and 'Please Wait' messages but I would = like to show=20 the usual busy cursor when the mouse is over the = programs</FONT></DIV> <DIV><FONT face=3DArial size=3D2>window and I haven't been able to = figure this out.=20 Can anyone help?</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2> Regards=20 ------=_NextPart_000_00A9_01C334DD.3D9927D0--
20. Re: Thanks
- Posted by pete_stoner at btconnect.com Jun 17, 2003
- 598 views
Thanks Jonas That does what I want - almost.. Maybe I'm being stupid (it happens!!) I notice that if I set the busy mouse for a window, it only shows the busy in 'unused' areas of the window i.e moving the mouse over any defined fields (Buttons etc) makes it revert to normal then back to busy when I'm off a button. I also found that when I use it within a button click procedure (even as the first statement) it doesn't kick into life till after the following code (which rather defeats the object!). I even tried putting it in on down event for the button and on the open event for my 'Please Wait'.... Help! Regards Pete ----- Original Message ----- From: "Jonas Temple" <jtemple at yhti.net> To: "EUforum" <EUforum at topica.com> Sent: Tuesday, June 17, 2003 3:30 PM Subject: RE: Thanks > Pete, > > Welcome to the community! > > In Win32Lib V59.1 there's setMousePointer() to change the pointer used > so if you're wanting to show that you're busy then you could: > > setMousePointer(MyWindow, WaitPointer) > -- some code here > -- Don't forget to set it back! > restoreMousePointer(MyWindow) > > HTH, > > Jonas > > I do have a question, there are times in my program where I am running a > > windows command in the background and > > while waiting for this to complete I just want to show some kind of > > 'Busy'. I am using progress bars (just as timers really) > > and 'Please Wait' messages but I would like to show the usual busy > > cursor when the mouse is over the programs > > window and I haven't been able to figure this out. Can anyone help? > > > > Regards Pete. > > > > TOPICA - Start your own email discussion group. FREE! > >
21. Re: Thanks
- Posted by Ray Tomes <rtomes at ihug.co.nz> Jun 17, 2003
- 597 views
pete_stoner at btconnect.com wrote: > Like Ray I am also a 'Newbie' to Euphoria, I've been playing with it > for about 3 months now (I've even paid for the full > version so I must like it!!), however unlike him I am not a programmer. ... > I really wanted to say a big **THANK YOU** to everyone in the > Euphoria community - Especially Derek for the Win32Lib.. > The best thing I've found with Euphoria is not only it's ease of use but > the fact there are *so* many example programs > (not to mention all the include files.. Thanks to everyone who have > provided these) with their source code available for download. > This makes it much easier (when you find an example of what you want to > do) to see what code is needed.. Hi Pete Let me add my thanks too. And now that I have found the demos and all the documentation I am very impressed. This is a very friendly place to come to and I very much appreciate the number of helpful replies to my many questions. I have found one other forum that is equally friendly and that is the NoteTab one. I see that there are a few notetab users here because there are notetab clips for Euphoria and for Win32Lib. For those that don't know NoteTab, it is a text editor with knobs on! The clipbook feature allows easily built sets of commands that are clicked to generate, for example, program command sequences with the correct syntax and indentation and asking the relevant variables and putting them in the right places. If you don't use NoteTab for editing your Euphoria programs, I recommend that you try it, but do a search on Euphoria site for the two NoteTab clips and install these too. Best wishes Ray Tomes
22. Re: Thanks
- Posted by Pete Lomax <petelomax at blueyonder.co.uk> Jun 17, 2003
- 594 views
On Tue, 17 Jun 2003 17:46:35 +0000, Jonas Temple <jtemple at yhti.net> wrote: >I've noticed the same things but haven't really given it too much=20 >thought. =20 > >Maybe what should happen is in setMousePointer if you pass a window it=20 >should set the mouse pointer for ALL child controls of that window? I've noticed this in many diverse apps (non Eu, non win32lib); the eggtimer cursor changes back as you move round the window. Most times I agree with this behaviour. Can anyone post an example of it going badly wrong (and/or proof it got worse since 0.55/57)? Pete
23. Re: Thanks
- Posted by Pete Lomax <petelomax at blueyonder.co.uk> Jun 17, 2003
- 593 views
On Tue, 17 Jun 2003 17:46:35 +0000, Jonas Temple <jtemple at yhti.net> wrote: >that the mouse pointer doesn't get updated unless you stick a few=20 >doEvents() in the code=20 Well, obviously, if you are running any kind of code beyond just instant reaction to gui events, you really really MUST litter it with doEvents() calls. If you, or anyone else, does not understand this, you do need to spend some time thinking about it, otherwise you will never EVER understand event-driven code. My apologies for being blunt. Pete
24. Re: Thanks
- Posted by jbrown105 at speedymail.org Jun 17, 2003
- 617 views
On Tue, Jun 17, 2003 at 11:21:19PM +0100, Pete Lomax wrote: > > > On Tue, 17 Jun 2003 17:46:35 +0000, Jonas Temple <jtemple at yhti.net> > wrote: > > >that the mouse pointer doesn't get updated unless you stick a few > >doEvents() in the code > > Well, obviously, if you are running any kind of code beyond just > instant reaction to gui events, you really really MUST litter it with > doEvents() calls. > > If you, or anyone else, does not understand this, you do need to spend > some time thinking about it, otherwise you will never EVER understand > event-driven code. My apologies for being blunt. > > Pete > That makes sense with cooperative multitasking. Preemptive multitasking doesn't really need this however. Also the need to release the cpu is present in all OSes which allow multitaskingm not just event driven programs. I write this because I don't understand why one must litter the code with doEvent() calls. I've never had to do this with GUI programming in Linux. (In fact, aside from sleep(), Linux seems to not even HAVE a doEvents() equivelent, tho I haven't looked very hard for one.) I know that doEvents() comes from Win 3.1, which was a cooperative OS, but why do more modern Windoze OSes need it? Very curious, jbrown > > > TOPICA - Start your own email discussion group. FREE! > > -- /"\ ASCII ribbon | http://www.geocities.com/jbrown1050/ \ / campain against | Linux User:190064 X HTML in e-mail and | Linux Machine:84163 /*\ news, and unneeded MIME | http://verify.stanford.edu/evote.html
25. Re: Thanks
- Posted by Pete Lomax <petelomax at blueyonder.co.uk> Jun 18, 2003
- 602 views
On Tue, 17 Jun 2003 19:09:09 -0400, jbrown105 at speedymail.org wrote: >That makes sense with cooperative multitasking. Preemptive multitasking >doesn't really need this however. You may well be right >why do more modern Windoze OSes need it? now there's an oxymoron ;-0 Pete
26. Re: Thanks
- Posted by gertie at visionsix.com Jun 18, 2003
- 583 views
On 17 Jun 2003, at 19:09, jbrown105 at speedymail.org wrote: > > > On Tue, Jun 17, 2003 at 11:21:19PM +0100, Pete Lomax wrote: > > > > > > On Tue, 17 Jun 2003 17:46:35 +0000, Jonas Temple <jtemple at yhti.net> > > wrote: > > > > >that the mouse pointer doesn't get updated unless you stick a few > > >doEvents() in the code > > > > Well, obviously, if you are running any kind of code beyond just > > instant reaction to gui events, you really really MUST litter it with > > doEvents() calls. > > > > If you, or anyone else, does not understand this, you do need to spend > > some time thinking about it, otherwise you will never EVER understand > > event-driven code. My apologies for being blunt. > > > > Pete > > > > That makes sense with cooperative multitasking. Preemptive multitasking > doesn't really need this however. > > Also the need to release the cpu is present in all OSes which allow > multitaskingm not just event driven programs. > > I write this because I don't understand why one must litter the code with > doEvent() calls. I've never had to do this with GUI programming in Linux. > (In fact, aside from sleep(), Linux seems to not even HAVE a doEvents() > equivelent, tho I haven't looked very hard for one.) > > I know that doEvents() comes from Win 3.1, which was a cooperative OS, but > why do more modern Windoze OSes need it? Because they lay on the olde reliable dos code, and apprently it is difficult for the 32bit protected mode OS to get the cpu back from the 16bit code. Sleep(0) has the most effect when used in short disk access loops, no matter what the program... you can tie up the cpu and crash winmodem in mirc and Eu, the OS won't be responding to pci interrupts. Ethernet will be nuked too. Kat
27. Re: Thanks
- Posted by jbrown105 at speedymail.org Jun 18, 2003
- 615 views
On Tue, Jun 17, 2003 at 09:30:39PM -0500, gertie at visionsix.com wrote: <snip> > Because they lay on the olde reliable dos code, and apprently it is difficult > for > the 32bit protected mode OS to get the cpu back from the 16bit code. > Sleep(0) has the most effect when used in short disk access loops, no > matter what the program... you can tie up the cpu and crash winmodem in > mirc and Eu, the OS won't be responding to pci interrupts. Ethernet will be > nuked too. > > Kat > But that is just completely false for the WinNT and WinXP OSes. Well it doesn't matter, since Martin answered it in another posting. jbrown -- /"\ ASCII ribbon | http://www.geocities.com/jbrown1050/ \ / campain against | Linux User:190064 X HTML in e-mail and | Linux Machine:84163 /*\ news, and unneeded MIME | http://verify.stanford.edu/evote.html