Board index » delphi » DIRECT DRAW SURFACE VS. DELPHI FORM
pilleux
![]() Delphi Developer |
Tue, 28 May 2002 03:00:00 GMT
DIRECT DRAW SURFACE VS. DELPHI FORM
In an endless loop of the main program, I want to display one "full"
screen, out of two existing. Commuting from one screen to another, and vice-versa, is done with F1 key : -- Screen # 1 is a DirectDraw Surface where direct memory write is performed after using the Lock instruction, as speed of display is paramount. Assembler routines are used to clear screen and draw pixels and lines. This part is working fine and, I believe, extremely fast. -- Screen # 2 is a Delphi Form, in its specific Unit, with a menu, comboboxes, radiobuttons, etc ... , designed to modify parameters that will affect display of Screen # 1. When modifications are done, pressing key F1 goes back to Screen # 1. My problem is to integrate this Delphi form at execution time. I tried By the way, I am a newcomer on Delphi, after years with good old Turbo |