Re: [DUG]: Processing Messages (Application.ProcessMessages)

2000-09-24 Thread Matt Powell
The delphi equivalent does not work, it says 'Operator not applicable to this operand type' Could there be another one equivalent to the C/C++ version??. The lpMidiBuffer is a dword It *says* that, but my guess is it's really a pointer, and therein lies your problem. The C++ statement

Re: [DUG]: CASE tools

2000-09-13 Thread Matt Powell
Richard Vowles wrote: What would the students want on their CV? I think that probably answers your question. --- Richard Vowles Senior Systems Engineer Inprise New Zealand, [EMAIL PROTECTED] - Original Message - From: [EMAIL PROTECTED] To: "Multiple recipients of list delphi"

Re: [DUG]: HTML CSS JAVA

2000-09-13 Thread Matt Powell
Does anyone know how I can place a javascript in a style sheet for HMTL help. I dont want to place the code for this function in each html file. JavaScript Style Sheets (JSS) are Netscape-only at the moment, so you may be SOL. - Matt

Re: [DUG]: Collections or Array of Objects

2000-09-07 Thread Matt Powell
[EMAIL PROTECTED] wrote: What do you think is better a collection of objects, or an array of objects ? Collections seem to be res. complicated, where as an array of objects is simple as. Anyone have any thoughts ? It depends if you know exactly how many objects you're going to need. It can

Re: [DUG]: TCollections...

2000-07-21 Thread Matt Powell
Also, when I create my TCollection object, I pass the TCollectionItem class I wish to use, is it possible to have different Item classes in one collection? I was thinking of something like: (snip) Yes, it's eminently possible, and it's one of those wonderful OO things. The secret lies in

Re: [DUG]: Hot Site

2000-07-11 Thread Matt Powell
CHECK OUT THIS HOT NEW SITE AT www.busty-smoking-babes.com - THE HOTTEST CIGARETTE AND CIGAR SMOKING BIG BUSTED BABES ON THE NET!! What the HELL? - Matt --- New Zealand Delphi Users group - Delphi List - [EMAIL

Re: [DUG]: MSHTML

2000-07-10 Thread Matt Powell
There was an article in the Delphi Informant (August 1999), plus associated example, that shows the basics of integrating this active-x control into a Delphi App. You can try hunting around www.delphizine.com for the article and example. Already found it :)

[DUG]: MSHTML

2000-07-09 Thread Matt Powell
Has anybody had any experience with using the MSHTML editor in Delphi? - Matt --- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz

Re: [DUG]: Gradient Fills

2000-06-25 Thread Matt Powell
Hi all, just wondering how everyone else does gradient fills... do you do it manually or is there a fast function... Here's a routine I built in about 10 minutes. It certainly isn't optimal (it has a comparison inside a loop when the result of the comparison is constant for the duration of the

Re: [DUG]: RES in Delphi EXE

2000-05-25 Thread Matt Powell
Is it possible to query/search an EXE for all the resources in it? if so how? Try the Delphi/Demos/Resxplor example project. HTH, - Matt --- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]

Re: [DUG]: Packing Problem

2000-04-18 Thread Matt Powell
Just another newbie lack-of-knowledge problem: What is the best way to communicate a bunch of strings through udp? I thought of concatenating them altogether with some symbol between (say ), but how would I go about unpacking it? procedure UnpackString(S: String; Sym: Char; StrList:

Re: [DUG]: Asynchronous Procedure Calls

2000-04-18 Thread Matt Powell
Has anybody got any examples using the win32 APC's? (Asynchronous Procedure Calls). Glad you clarified that. I thought you meant Armoured Personnel Carriers. - Matt --- New Zealand Delphi Users group - Delphi List -

Re: [DUG]: thread definition.

2000-04-12 Thread Matt Powell
Further to the MAN - WOMAN analogy it is due to a physiological difference between men and women. Women have their left and right sides of the brain linked by more neurons so they can multiprocess Men can't because they have a limitation in their left to right hemispere communication (Feel

Re: [DUG]: printing data.

2000-04-10 Thread Matt Powell
NB There has been no testing other than a run (which produced a nice list of fonts)... It has no resource protection so if your default printer is incorrect or a problem occurs during print, things get ugly... A while ago I was asked to write a program to print pages of musical staves

Re: [DUG]: printing data.

2000-04-10 Thread Matt Powell
Actually as demonstrated inhouse it is possible to have a printer installed incorrectly and have some functions cause AVs but not others... EG a lookup into the Printer.Fonts list caused an AV even though Word could print fine... For a professional app all resource accesses that can throw

Re: [DUG]: ComboBox with bitmaps and text

2000-04-04 Thread Matt Powell
and it worked very well, but now i have to put in the same form, another ComboBox and add new bitmaps and new texts. When the program runs, only one of the ComboBoxes display it's content (bitmap and text) and the other one only shows the text (why ?) Make sure the style of the second

Re: [DUG]: D5 being problematic - anyone got ideas.

2000-03-29 Thread Matt Powell
1/ Where you d/click in the error window, it doesnt jump to window/line with the error 2/ It doesnt recognise unit has been edited unless you do explicit save on the unit. 3/ When debugging, the step function doesnt navigate a cursor through the source after the first unit. (but the correct

[DUG]: Fried Brain

2000-02-23 Thread Matt Powell
I have a small but annoying problem. I'm trying to write one of those apps that provides "Virtual Desktops" [1]. I'm at the stage where I know what to do (maintain a list of windows that are visible on each desktop, and show/hide the relevant ones when the user switches) but I'm not sure of the

Re: [DUG]: Icons bitmaps etc

2000-02-21 Thread Matt Powell
Wilfred Verkley wrote: I do this often, but mostly with "standard" images that seem to apear in many application from different vendors ie (send, save, print, etc). The legality of copying just any image, especially if its specific to an application/vendor, is questionable though, isnt

Re: [DUG]: Bitmaps for toollbar

2000-02-18 Thread Matt Powell
Can somebody advice on where to get a free collection of bitmaps representing commonly used actions such as Copy,paste,refresh,save etc. It is for use with tool bar buttons. /me opens Word /me presses Ctrl-PrintScrn /me opens Photoshop - Matt

Re: [DUG]: Pirateing

2000-02-15 Thread Matt Powell
1stscan.txt Resetlog.txt Anybody know what those 2 above are used for? IIRC, Windows Setup runs ScanDisk before installing, so that might explain 1stscan.txt. But I wouldn't count on these files being available for all versions of Windows. Can't you get the volume date from the HDD? - Matt

Re: [DUG]: VB Like Case statement

2000-02-14 Thread Matt Powell
This has its good and bad points, BUT ofcourse in Delphi it pretty much has to me an integer etc. Does anyone have any ideas how this could be implemented in Delphi, OR if Delphi has a simlilar type of thing You could convert each string to its (7-bit ASCII-encoded) numerical

Re: [DUG]: Streams

2000-02-13 Thread Matt Powell
Hmm, but will the no. of bytes required to represent the offset number be bigger than the stream you are compressing? :-) Oh ye of little faith! - Matt --- New Zealand Delphi Users group - Delphi List - [EMAIL

Re: [DUG]: Kylix and other cough medicines

2000-01-31 Thread Matt Powell
Simply because Linux has a command line utilities doesn't mean in was designed that way No, the fact that Linux was designed that way means that it has a command-line interface ;) Linux was designed as a free alternative to Unix, and as such has to provide a lot of the functionality of Unix.

Re: [DUG]: Delphi 3 not working for unknown reasons

2000-01-23 Thread Matt Powell
So, it's the number of components in Delphi.. hmmm... I thouth maybe this could be the problem, but I concidered that this never happened before... well nevermind, I'll buy D4 in a couple of weeks anyway... I think that when you upgrade to Win98, some system file changes ever-so-slightly, and

Re: [DUG]: Delphi 3 not working for unknown reasons

2000-01-21 Thread Matt Powell
Two weeks ago I changed my HDD from 4,2 to 10 Gb, and installed Win98 on it. After configuring the whole system, installing the standard programs (Office 2000, Real, Netscape 4) I installed Delphi 3 Client/Server. I started Delphi and started installing the components, but when I got to RX

Re: [DUG]: I've had it up to here with TEdit descendants

1999-12-20 Thread Matt Powell
The Topaz Delphi database (.dbf) library is also advertised as having really good edit mask capabilities (compatible with the old DBase way of doing it). What I'd like to see is a MaskEdit-type thing with a RegExp mask interface (instead of Delphi's blank-digit-digit-blank style mask, which is

[DUG]: Good deal

1999-12-13 Thread Matt Powell
If you're in Christchurch (like me), you might want to check out East's Bookshop in High Street. They've got a book called "Delphi 3 Superbible" (Waite Group Press, 1996) for $11.95. I know D3 seems like ages ago now, but it's still 1310 pages of very useful info on the VCL - and a CD-ROM! -

Re: [DUG]: Knob type controls

1999-12-13 Thread Matt Powell
Hi all. I have been searchig and searching for some controls act like and look like volume knobs on a stereo. I did have some, but lost them somewhere. can anyone help ? I wrote a simple one designed to blend into a background image (TImage) by using an 8-bit greyscale mask. The result