How to Stop Your Program For a Period of Time

Posted December 15th @ 9:32 pm by m3Rlin

This procedure will let your programs process Windows messages. The only thing is that this function may stop only this procedure while not stopping the rest

var
dtNow: TDateTime;
begin
{ Before pause }
dtNow := Now;
repeat
Application.ProcessMessages; { Process Windows messages }
until dtNow + [...]

How to Snap a Window to the Screen Edge

Posted December 15th @ 2:00 pm by m3Rlin

WinAMP has this very useful feature. If you drag it to the edge of the screen it will automatically position itself. Sometimes you want to make room on the screen but you don’t want to minimize your program and again you want to see it in full. The only way is the put it in [...]

« Previous Entries