S
Stewart Berman
I need to be able to either disable or hide the Minimum/Maximum/Close on the Access Runtime
application window. Those are the items in the top left corner of the Access application window not
the ones on a form.
I have tried using the Get/SetWindowLong API calls to get the current Window Style, turn off the
bits associated with the Minimum/Maximum/Close and then set the Window Style to the new value. This
only works for the minimize button. The other two, maximize and close are unaffected no matter what
bits I turn off.
I am using Application.hWndAccessApp as the window handle for the Get/SetWindowLong API calls.
How do I get around this?
application window. Those are the items in the top left corner of the Access application window not
the ones on a form.
I have tried using the Get/SetWindowLong API calls to get the current Window Style, turn off the
bits associated with the Minimum/Maximum/Close and then set the Window Style to the new value. This
only works for the minimize button. The other two, maximize and close are unaffected no matter what
bits I turn off.
I am using Application.hWndAccessApp as the window handle for the Get/SetWindowLong API calls.
How do I get around this?