|
Post by aurel on Oct 23, 2021 10:51:15 GMT -6
I appologize if i do something wrong but looks to me strange that randomizeTimer() close window ? Is this some sort of quirk or bug ?
sys : win7_32bit
look into example
'skeleton code for rc_basic xmax = 640 ymax = 480 w=0 title$ = "" center_x = windowpos_centered center_y = windowpos_centered WindowOpen(w,title$,center_x,center_y,xmax,ymax,WindowMode(1,0,0,0,0),1) SetWindowAutoClose(1, 0) ' <<<<<<<<<=========== 1,0 window#1 0,0 window#0 CanvasOpen(1,xmax,ymax,0,0,xmax,ymax,0) ClearCanvas
'randomize(timer) ' uncomment this line close window ?
while WindowExists(w) > 0 ' (1) window#1 (0) window#0 'While Not Key(K_ESCAPE) update() wend
end
|
|
|
Post by johnno56 on Oct 23, 2021 15:00:28 GMT -6
There is no bug. Please read my response in "ROKART". This is a skeleton that I use to save on typing.... It is not designed to run by itself...
|
|
|
Post by aurel on Oct 24, 2021 1:06:23 GMT -6
Yes i see ..heh funny
when executed it produces a window and immediately closes. ok j56 that is a small template but i think that is whole with loop ok ..so false alarm.
|
|
|
Post by rosy on Oct 24, 2021 12:45:22 GMT -6
If it does, it is a mistake. Apparently RC is not working well with Win 7 right now.
|
|