system_object - system object to query
query_id - property to query object for |
QueryObject is a mechanism to get at platform specific handles within platform neutral Blitz objects.
query_id can be one of: 1 : Win32 HWND (for use with gadgets) 2 : Win32 Client HWND (use this instead if you're after a 'parent' hwnd - some gadgets use 2 hwnds) 3 : Win32 HFONT (for use with fonts) |
window=CreateWindow( "My Window",0,0,640,480 )
hwnd=QueryObject( window,1 ) ;returns windows HWND Notify "Win32 HWND="+Hex$(hwnd) |