>>273

;パレットモードのウィンドウの中にフルカラーのウィンドウを配置
#include "user32.as"
    screen 0,640,480
    a=hwnd
    repeat 10
    hsvcolor cnt*19,255,255
    boxf 0,cnt*48,640,cnt*48+47
    loop

    bgscr 2,320,240,2,160,120
    repeat 10
    hsvcolor cnt*19,255,255
    boxf 0,cnt*24,320,cnt*24+23
    loop
    SetParent hwnd,a
    gsel 2,1

こんな感じ?