Page 1 of 1

Posted: Fri Aug 04, 2006 4:22 pm
by MrMat
Here's another way:

Code: Select all

OpenWindow(0, 0, 0, 240, 100, "Modal frame", #PB_Window_SystemMenu | #PB_Window_TitleBar | #PB_Window_ScreenCentered | #PB_Window_Invisible)
SetWindowLong_(WindowID(0), #GWL_EXSTYLE, GetWindowLong_(WindowID(0), #GWL_EXSTYLE) | #WS_EX_DLGMODALFRAME)
HideWindow(0, 0)

Repeat
Until WaitWindowEvent() = #PB_Event_CloseWindow

Posted: Fri Aug 04, 2006 8:55 pm
by klaver
@MrMat

Thanks a lot, this works great.

Posted: Sat Aug 05, 2006 11:07 am
by srod
Doh! :D