Changing WINDOWSTATE and MESUREMENTS of access window (vb.net)

A

Antinsh

Hi!

I cant find how to to change window state of access window(like minimaze,
maximaze) from access application object. Also there isnt any width and
height either. So if anyone have found where these properties are hidden
please tell me.

P.S.
I'm developing in visaula basic.net (2 framework) so please dont bother
writting answers like "...and so you put your mouse cursor right where this
button is...". As helpful as it may seem it doesn't help me much.
 
P

Pieter Wijnen

Use standard Windows API calls
The Hwnd can be retrieved through Application.hWndAccessApp

Public Declare Function IsIconic Lib "user32.dll" (ByVal hWnd As Long) As
Long
Public Declare Function IsZoomed Lib "user32" (ByVal hWnd As Long) As Long
Public Declare Function MoveWindow Lib "user32" (ByVal hWnd As Long, ByVal X
As Long, ByVal Y As Long, ByVal dx As Long, ByVal dy As Long, ByVal fRepaint
As Long) As Long
Public Declare Function ShowWindow Lib "user32" (ByVal hWnd As Long, ByVal
NewState As Long) As Long

HtH
Pieter
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top