Changeset 12 for trunk/Apps/UClock.pas


Ignore:
Timestamp:
Sep 6, 2017, 6:47:49 PM (7 years ago)
Author:
chronos
Message:
  • Modified: Separate API command to be kernel and user space. Execute API command through single callback function.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Apps/UClock.pas

    r11 r12  
    3636  Message := TIPCMessage.Create;
    3737  WindowId := API.WindowCreate;
    38   API.WindowSetAttr(300, 200, True);
     38  API.WindowSetAttr(Point(300, 200), True);
    3939  while not Task.Terminated do begin
    4040    API.WriteText('test');
     
    6565  Message := TIPCMessage.Create;
    6666  WindowId := API.WindowCreate;
    67   API.WindowSetAttr(300, 200, True);
     67  API.WindowSetAttr(Point(300, 200), True);
    6868  while not Task.Terminated do begin
    6969    API.WriteText('test2');
Note: See TracChangeset for help on using the changeset viewer.