nSonic Homepage
> yes, but what is the virtual-key code for ALT+F? > There ain’t one, this is a key *combination*, not a single keystroke.…
Run a routine by name
[code lang=”delphi”]type TExecute = procedure of object; procedure TForm1.ExecuteRoutine(Instance: TObject; Name: string); var Routine: TMethod; Execute: TExecute; begin Routine.Data := Pointer(Instance); Routine.Code :=…
Sleep
Sleep Delay Wait Pause [code lang=”delphi”]procedure TForm1.msSleep(ms : Integer); Var tmpTime : Integer; tmpMs : Integer; Begin tmpMs := ms; tmpTime := GetTickCount…
General: Stop a Loop with ALT+S but ignore any other User action
Sanford Aranoff wrote: > I would like to prevent any user action during the loop except for a > menu Alt S, which…
Mouse: How to “HotTrack” any control
[code lang=”delphi”]// We have to override the WndProc procedure procedure WndProc(var Message : TMessage); override; procedure TForm1.WndProc(var Message : TMessage); begin // Here…
Mouse: How to get the MousePosition
[code lang=”delphi”]var ThePoint: TPoint; begin GetCursorPos(ThePoint); end; [/code] [tags]Delphi, Misc, Mouse[/tags]
Mouse: How to get the MousePosition (D4)
In Delphi 4 you can use the Mouse global variable. [code lang=”delphi”]begin x := Mouse.CursorPos.X; y := Mouse.CursorPos.Y; end; [/code] [tags]Delphi, Misc, Mouse[/tags]
Packages: PlugIn Framework (Links)
> Is there any article talking about the packages and DLL, does Packages can > support the library advantages, > e.g. > 1.…
Records: How to define a ‘constant record’?
How to define constant-Records? What if you like to have a set of constants collected into a record structure? Well, it looks crazy…
bring up the standard windows dial up box
> I want to fire an internet connection, i do not want my own dial up. > > I just want to bring…