I’m trying to drag a SDL window by using (MS) window
handle.
http://bcbcaq.freeservers.com/move_client.html
I chose method 2. But it doesn’t work
So far I understand, ‘window’ of SDL_SysWMinfo returns
the handle. I’m using SDL_GetWMInfo() to retrieve it.
WMInfo.window returns a value of 1. But I thought the
handle is a kind of pointer?
It returns the same value even when I comment
SDL_SetVideoMode() out, i.e. no window generated.
Currently, I’m not sure whether the routine of moving
window is wrong or the handle is not valid. My
questions:
- Does WMInfo.window return the window handle (for MS
Windows implementation)? - Does it make any difference where I call
SDL_GetWMInfo(), whether before or after a SDL window
is generated? - Is the handle a counter or a pointer alike value?
thanks
Phuoc Can HUA=====
/_/_/_/_/_/_
www.huaonline.com
My Homepage is my Castle
Find local movie times and trailers on Yahoo! Movies.
http://au.movies.yahoo.com