Futurebasic/Language/Reference/usr wptr2wnum
Syntax
editWindowID% = Usr WPtr2WNum(WindowPtr&)
Description
editIf WindowPtr& is the pointer to the window record of a FutureBASIC-created window, Usr WPtr2WNum returns the windowÕs ID number (this is the number that your program assigned to the window in the Window statement). Usr WPtr2WNum is the inverse of the Get Window statement and the Window(_wndPointer) function. If WindowPtr& does not point to a window record, or it points to a window record of a window that was created by other means than the Window statement, the Usr WPtr2WNum function returns zero.
See Also
editGet Window; Window function