Anyway, I was wondering whether it would be possible to disable an entire window, so that we can have modal style functionality (ie open window A, click on a button and open window B. Window B is made sticky, window A is disabled)
Ideally, if the disabled window could be optionally dimmed / greyed out to indicate it's state, that would be great
If this is possible / desirable, I propose the following syntax to keep it in line with other Disable commands:
Code: Select all
DisableWindow(#Window, state [, Flags])
#Window is the integer window number that the window was created with
state is either #True or #False
Flags (optional): #PB_Window_Dim
Or add a new flag to the list allowed on OpenWindow(): #PB_Window_DimOnDisabled