MakeMoveable

Syntax:

MakeMoveable( WindowID , value )

Parameters:

WindowID

=

handle of the window ( WindowID() )

value

=

ON/OFF switch (#TRUE/#FALSE)


Description:

Allow/DisAllow mouse movement for the window.


ON = the user can move the window by using the mouse cursor (default).

OFF = the user can not move the window.


Example:

  OpenWindow(0,100,100,300,300,#PB_Window_SystemMenu,"Test")
  MakeMoveable( WindowID(), #FALSE )

Remarks:

You can only prevent window movement with MakeMoveable()

when the window has the CloseButton/SysMenu too!


Works for Standard and ToolWindows.



Supported OS:   Windows