Platforms to show: All Mac Windows Linux Cross-Platform
FAQ.How to get the size of the frontmost window on Windows?
Feedback.
Answer: Try this code:
Notes:
Make yourself a class for the WindowRect with four properties:
Bottom As Integer
Left As Integer
Right As Integer
Top As Integer
Add the following method to your class:
Sub GetWindowRect(windowhandle As Integer)
dim err as integer
dim mem as memoryBlock
Feedback.
Answer: Try this code:
Notes:
Make yourself a class for the WindowRect with four properties:
Bottom As Integer
Left As Integer
Right As Integer
Top As Integer
Add the following method to your class:
Sub GetWindowRect(windowhandle As Integer)
dim err as integer
dim mem as memoryBlock
Links
MBS Realbasic Plugins - Nachhilfe Nickenich