>>掘木さん
やはり仕様でしたか。
もう一つお聞きしたいのですが、SetParentとSeWindowLongで子ウィンドウ化したウィンドウでredraw 1を行うとウィンドウオブジェクトの表示がおかしくなるのは仕様でしょうか?
以下サンプルです。
#include "user32.as"
#const global GWL_STYLE $FFFFFFF0
#const global WS_CHILD $40000000
screen 0
h=hwnd
bgscr 1
width ,,0,0
SetParent hwnd,h
SetWindowLong hwnd, GWL_STYLE, WS_CHILD
gsel 1,1
pos 0,0
string="abcd"
mesbox string,200,200
combox comb,100,"a\nb"
*main
gsel 1
redraw 0
color 255,0,0
boxf
color
pos 200,0
mes i
i++
redraw 1
await 16
goto *main
子ウィンドウに描画を行いたい場合はどうすれば良いでしょうか。