No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
7 Posted Topics
It is just to count from 0 to a specified number and then convert all results so obtained into binary strings with enough heading 0s to make them of equal-length. The trouble is you can write fast codes with integer variables but you have to use float variables if the …
TomRandall, A simple way is to use the OnHint event of the Application global variable. You can easily fulfil your tasks in an event handler. The effect is much better than MouseMove event. A more general way is to build a separate thread to monitor mouse movement. You can manipulate …
airefrais, I think you may try Adobe Audition that can generate 32-bit sine waves and more complicated waves.
I think PollH is right. Suppose you have created a TPrinter object named P and B, contained in Form1, is the button you'd like to print , you may call the CopyRect method in this way: P.Canvas.CopyRect(Rect(0, 0, B.Width, B.Height), Form1.Canvas, B.BoundsRect); You have to make the P object ready …
A ShellExecute command (in ShellApi module) can make it: ShellExecute(0, 'open', PChar(S), nil, nil, SW_SHOW); S is a string variable containing 'mailto:' as leading characters. This command will open a new-mail window of the default mail processor no matter whether the processor is running.
I think a TMaskEdit control in Delphi can easily solve your problem if your program is allowed to run as a standard Windows application.
I appreciate snake's insight into the unique-instance problem. But I use a simpler method in the project source as follows. ----------------------------------------- [code]var hMutex: THandle; begin hMutex := CreateMutex(nil, True, 'AnyNameYouChoose'); if GetLastError <> Error_Already_Exists then begin Application.Initialize; Application.CreateForm(TMainFm, MainFm); Application.Run; end; ReleaseMutex(hMutex); end.[/code]
The End.
mediastar