[Resolved] Window resized - How to find out...

Mac OSX specific forum
garretthylltun
Enthusiast
Enthusiast
Posts: 346
Joined: Wed Oct 26, 2005 2:46 am
Contact:

[Resolved] Window resized - How to find out...

Post by garretthylltun »

How do I find out if the user has resized the window of my app on OSX?

I looked through the "Window" section of the docs, but only thing I
could find was how to resize the window from within my own code.

Thanks,
-Garrett
Last edited by garretthylltun on Tue Jan 17, 2006 2:27 am, edited 2 times in total.
SEO
Enthusiast
Enthusiast
Posts: 178
Joined: Fri Dec 09, 2005 11:42 pm
Location: Sweden
Contact:

Post by SEO »

Code: Select all

Case #Float_Window
   Select Event_WindowEvent
      Case #PB_Event_CloseWindow    : CloseWindow(#Float_Window)
      Case #PB_Event_ActivateWindow : Set_ActiveWindow(#Float_Window)
      Case #PB_Event_SizeWindow     : Resize_Main_Gadgets()        
   EndSelect ; Event_WindowEvent
garretthylltun
Enthusiast
Enthusiast
Posts: 346
Joined: Wed Oct 26, 2005 2:46 am
Contact:

Post by garretthylltun »

Thank you. :-) I didn't see the #PB_Event_SizeWindow in the docs.

Thanks again,
-Garrett
Post Reply