1. Question about Win32lib Tutor Program
- Posted by sid.sidebottom at st.com Oct 17, 2001
- 415 views
Hi, This is for Wolf, although anyone can feel free to reply / flame me. I tried running the tutor and came up with a few probs. Firstly, a couple of general q's about version numbers: According to the archives, it has been updated to run with the latest win32lib, although what the archive calls 'latest' is another matter. So, the first question obviously is - which version of win32lib should I be using? Next question - I've just downloaded the latest win32lib (v.55?) from wherever the archive said - sorry to be vague but I am at work just now - so if I needed an earlier version to run the tutor could I just stick it in a different folder (ie, it wouldnt interfere with the latest version)? K, on with the problems: On first running, tutor3 bins out with: Line 156: linkProc not declared. this is something to do with zMessageBeep, so I figure I can run without it, comment out the line (also had to remove the comma from the constant declaration line above) Next run: 295: zMessageBeep not declared. heh, np - just commented it out 3rd run: 129: Bad routine number (524403) in proc centrewin. This is calling a c_func(xGetSystemMetrics). At this point (it being fairly late and me being kinda tired), I stopped commenting stuff out and thought I'd ask for a wee tad of help. So - any ideas, or should I just go back to dos and exoticax? Cheers Sid
2. Re: Question about Win32lib Tutor Program
- Posted by Derek Parnell <ddparnell at bigpond.com> Oct 17, 2001
- 382 views
This tutorial has not been updated to be compatible with newer versions of win32lib. I've downloaded a copy of the tutorial tonight and I'll bring it up to a usable state again. ------------- Derek. ----- Original Message ----- From: <sid.sidebottom at st.com> To: "EUforum" <EUforum at topica.com> Subject: Question about Win32lib Tutor Program > > Hi, > > This is for Wolf, although anyone can feel free to reply / flame me. > > I tried running the tutor and came up with a few probs. > > Firstly, a couple of general q's about version numbers: > According to the archives, it has been updated to run with the latest > win32lib, although what the archive calls 'latest' is another matter. > So, the first question obviously is - which version of win32lib should I > be using? > Next question - I've just downloaded the latest win32lib (v.55?) from > wherever the archive said - sorry to be vague but I am at work just now > - so if I needed an earlier version to run the tutor could I just stick > it in a different folder (ie, it wouldnt interfere with the latest > version)? > > K, on with the problems: > > On first running, tutor3 bins out with: > > Line 156: linkProc not declared. > this is something to do with zMessageBeep, so I figure I can run without > it, comment out the line (also had to remove the comma from the constant > declaration line above) > > Next run: > 295: zMessageBeep not declared. > heh, np - just commented it out > > 3rd run: > 129: Bad routine number (524403) in proc centrewin. > This is calling a c_func(xGetSystemMetrics). > At this point (it being fairly late and me being kinda tired), I stopped > commenting stuff out and thought I'd ask for a wee tad of help. > > So - any ideas, or should I just go back to dos and exoticax? > > Cheers > > Sid > > >
3. Re: Question about Win32lib Tutor Program
- Posted by sid.sidebottom at st.com Oct 17, 2001
- 417 views
Cheers Derek Derek Parnell wrote: > > > This tutorial has not been updated to be compatible with newer versions of > win32lib. I've downloaded a copy of the tutorial tonight and I'll bring it > up to a usable state again. > ------------- > Derek. Sid
4. Re: Question about Win32lib Tutor Program
- Posted by brian_keene at yahoo.com Oct 17, 2001
- 417 views
Derek: I hate to be a pest. But since your updating the tutor program anyway. Could you see if you could make the program accept the default colors of the desktop its running on? I really wanted to use this tutor program & found that as usual it forces a white background with black text which I can't use at all. Also, did you ever find out how to make the text color in win32lib dialogs boxes the windows default? Regards Brian Keene --- Derek Parnell <ddparnell at bigpond.com> wrote: > > This tutorial has not been updated to be compatible with newer > versions of > win32lib. I've downloaded a copy of the tutorial tonight and I'll > bring it > up to a usable state again. > ------------- > Derek. > > ----- Original Message ----- > From: <sid.sidebottom at st.com> > To: "EUforum" <EUforum at topica.com> > Sent: Wednesday, October 17, 2001 8:44 PM > Subject: Question about Win32lib Tutor Program > > > > Hi, > > > > This is for Wolf, although anyone can feel free to reply / flame > me. > > > > I tried running the tutor and came up with a few probs. > > > > Firstly, a couple of general q's about version numbers: > > According to the archives, it has been updated to run with the > latest > > win32lib, although what the archive calls 'latest' is another > matter. > > So, the first question obviously is - which version of win32lib > should I > > be using? > > Next question - I've just downloaded the latest win32lib (v.55?) > from > > wherever the archive said - sorry to be vague but I am at work just > now > > - so if I needed an earlier version to run the tutor could I just > stick > > it in a different folder (ie, it wouldnt interfere with the latest > > version)? > > > > K, on with the problems: > > > > On first running, tutor3 bins out with: > > > > Line 156: linkProc not declared. > > this is something to do with zMessageBeep, so I figure I can run > without > > it, comment out the line (also had to remove the comma from the > constant > > declaration line above) > > > > Next run: > > 295: zMessageBeep not declared. > > heh, np - just commented it out > > > > 3rd run: > > 129: Bad routine number (524403) in proc centrewin. > > This is calling a c_func(xGetSystemMetrics). > > At this point (it being fairly late and me being kinda tired), I > stopped > > commenting stuff out and thought I'd ask for a wee tad of help. > > > > So - any ideas, or should I just go back to dos and exoticax? > > > > Cheers > > > > Sid > > > > > >
5. Re: Question about Win32lib Tutor Program
- Posted by Derek Parnell <ddparnell at bigpond.com> Oct 17, 2001
- 396 views
Hi Brian, ----- Original Message ----- From: <brian_keene at yahoo.com> To: "EUforum" <EUforum at topica.com> Subject: Re: Question about Win32lib Tutor Program > > Derek: > I hate to be a pest. But since your updating the tutor program anyway. > Could you see if you could make the program accept the default colors > of the desktop its running on? > > I really wanted to use this tutor program & found that as usual it > forces a white background with black text which I can't use at all. This is a bug deep in the bowels of the library and there is no simple one-line fix to it. I have repaired it in the next version. However, while writing this reply I think I can do a small change to the current version that might help. I'll try it out later today (its 6:35am as I write this and I'm just about to leave for the office). > Also, did you ever find out how to make the text color in win32lib > dialogs boxes the windows default? I'm not sure if I understand this question. Are you trying to change the Windows global color scheme from within a Euphoria program? ------ Derek
6. Re: Question about Win32lib Tutor Program
- Posted by brian_keene at yahoo.com Oct 18, 2001
- 408 views
--- Derek Parnell <ddparnell at bigpond.com> wrote: > === Brian Keene <brian_keene at yahoo.com> wrote: > > Also, did you ever find out how to make the text color in win32lib > > dialogs boxes the windows default? > > I'm not sure if I understand this question. Are you trying to change > the Windows global color scheme from within a Euphoria program? Sorry, after re-reading my question I can see your confusion. What I was trying to ask was whether you had figured out how to make the colors in a Euphoria program using win32lib the same as the windows default by somehow taking the color scheme from the system & using it in the program. But the previous part of your reply seems to say that you have, & that it will be in the next release. I'll be anxiously waiting for the new version so that I can actually do some meaningful coding. I'm looking to write an automated installer front-end to our present system. But I haven't done anything yet because of the color problem. Regards Brian Keene
7. Re: Question about Win32lib Tutor Program
- Posted by euman at bellsouth.net Oct 18, 2001
- 395 views
When you say color scheme are you commenting about the 256 color palette and image display? If so, there is a work around to this. If your talking about control colors like listview column headers that always seems to remain gray then there is a work around to this as well. What are you talking about? Euman euman at bellsouth.net From: <brian_keene at yahoo.com> > --- Derek Parnell <ddparnell at bigpond.com> wrote: > > === Brian Keene <brian_keene at yahoo.com> wrote: > > > Also, did you ever find out how to make the text color in win32lib > > > dialogs boxes the windows default? > > > > I'm not sure if I understand this question. Are you trying to change > > the Windows global color scheme from within a Euphoria program? > > Sorry, after re-reading my question I can see your confusion. What I > was trying to ask was whether you had figured out how to make the > colors in a Euphoria program using win32lib the same as the windows > default by somehow taking the color scheme from the system & using it > in the program. > > But the previous part of your reply seems to say that you have, & that > it will be in the next release. I'll be anxiously waiting for the new > version so that I can actually do some meaningful coding. I'm looking > to write an automated installer front-end to our present system. But I > haven't done anything yet because of the color problem. > > Regards > Brian Keene
8. Re: Question about Win32lib Tutor Program
- Posted by brian_keene at yahoo.com Oct 20, 2001
- 420 views
Hi Euman: A typical example would be when I create a window, and then create a button in that window. I can change the background color of the button to whatever I want, but no matter what I do the foreground text color remains black. Since I want to make the background color a dark green. The black lebel text becomes almost invisible against the background. Regards Brian Keene --- euman at bellsouth.net wrote: > > When you say color scheme are you commenting about the 256 color > palette > and image display? If so, there is a work around to this. > > If your talking about control colors like listview column headers > that always seems > to remain gray then there is a work around to this as well. > > What are you talking about? > > Euman > euman at bellsouth.net > > From: <brian_keene at yahoo.com> > > --- Derek Parnell <ddparnell at bigpond.com> wrote: > > > === Brian Keene <brian_keene at yahoo.com> wrote: > > > > Also, did you ever find out how to make the text color in > win32lib > > > > dialogs boxes the windows default? > > > > > > I'm not sure if I understand this question. Are you trying to > change > > > the Windows global color scheme from within a Euphoria program? > > > > Sorry, after re-reading my question I can see your confusion. What > I > > was trying to ask was whether you had figured out how to make the > > colors in a Euphoria program using win32lib the same as the windows > > default by somehow taking the color scheme from the system & using > it > > in the program. > > > > But the previous part of your reply seems to say that you have, & > that > > it will be in the next release. I'll be anxiously waiting for the > new > > version so that I can actually do some meaningful coding. I'm > looking > > to write an automated installer front-end to our present system. > But I > > haven't done anything yet because of the color problem. > > > > Regards > > Brian Keene > > >