Originally Posted By: Realspawn

put some window start code in sounds simple yet it is not.
I tried superku's example code saved the wdl with the same name
as script then with publish i select starter and then
errors grin


There's some example code in the manual
Code:
WINDOW WINSTART
{
  TITLE "My Simulator";
  SIZE 480,320;
  MODE IMAGE;	
  BG_COLOR RGB(240,240,240);
  FRAME FTYP1,0,0,480,320;
  BUTTON BUTTON_START,SYS_DEFAULT,"Start",400,288,72,24;
  BUTTON BUTTON_QUIT,SYS_DEFAULT,"Abort",400,288,72,24;
  SET FONT "Arial", RGB(255,255,255);
  TEXT "Get ready...", 0,0;
  TEXT_STDOUT "Arial",RGB(0,0,0),10,10,460,280;
  PROGRESS RGB(0,0,255), 10, 0, 300, 400, 20;
  COMMAND "-diag";
}



The reason you got the error from his code is this line
Code:
BG_PATTERN <starter_sk.bmp>,OPAQUE;



It needs starter_sk.bmp exists to be able to compile the wdf laugh

Last edited by Florastamine; 12/12/15 17:09.