The TProgressBar Delphi component displays a simple progress bar. Progress bars provide users with visual feedback about the progress of a procedure within an application.
In most applications all (top level) menu items are aligned at the left side of the menu bar. I'm sure you have seen applications with at least one item aligned on the right side. In most cases this was the "Help" menu item.
In some applications you must draw the line where each pixel is some shape. The MS Windows allows to draw line of such type - you must use the LineDDA funtion. This function needs a callback function that is called for each pixel drawing. Of course in this callback function you can realize the any drawing routines.
// Put a TApplicationEvents component on your form and assign a OnMessage event handler:
procedure TfrmMyBrowser.ApplicationEvents1Message(var Msg: tagMSG; var Handled: Boolean); begin // check if Ctrl-N pressed if (GetKeyState(VK_CONTROL) < 0) and (Msg.Message = WM_KEYDOWN) and (Msg.wParam = Ord('N')) then begin Handled := True; end; end;