Hi,
I wonder if some careful examiner of the bounds in which we must work has figured out SendMessage!
I would like to be able to make use of the SendMessage API call to get an MSAccess form to scroll continuously.
I've been able to achieve a similar outcome using VB, but VB has a built-in command for getting a form (or a control) to scroll in this way. What I'm trying for is a pixel-wise scroll. A bit like when you click your mouse-wheel, then drag it a touch to get a slow screen-scroll. In VB, I placed an large Image control within a smaller Panel control. Then i hooked up some code to scroll the panel, leading to a smooth scrolling of the contained image, which is actually my aim here .. scrolling of an image.
In MSAccess, it would perhaps also be OK if I could scroll an image control, but not sure that Image controls ever even have scroll bars or scroll ability ... nor if it is possible to contain an image control within some kind of containing control, and to scroll the containing control.
There's a fair bit or material on the web about SendMessage, and almost all the time I can find the solutions to my questions in the 'history' of so many questions posed and so many solutions provided. But somehow sendMessage has me puzzled.
Many thanks if anyone can show how to achieve this, or even if someone can declare definitely that it is not possible ... (in VBA).
SMR
I wonder if some careful examiner of the bounds in which we must work has figured out SendMessage!
I would like to be able to make use of the SendMessage API call to get an MSAccess form to scroll continuously.
I've been able to achieve a similar outcome using VB, but VB has a built-in command for getting a form (or a control) to scroll in this way. What I'm trying for is a pixel-wise scroll. A bit like when you click your mouse-wheel, then drag it a touch to get a slow screen-scroll. In VB, I placed an large Image control within a smaller Panel control. Then i hooked up some code to scroll the panel, leading to a smooth scrolling of the contained image, which is actually my aim here .. scrolling of an image.
In MSAccess, it would perhaps also be OK if I could scroll an image control, but not sure that Image controls ever even have scroll bars or scroll ability ... nor if it is possible to contain an image control within some kind of containing control, and to scroll the containing control.
There's a fair bit or material on the web about SendMessage, and almost all the time I can find the solutions to my questions in the 'history' of so many questions posed and so many solutions provided. But somehow sendMessage has me puzzled.
Many thanks if anyone can show how to achieve this, or even if someone can declare definitely that it is not possible ... (in VBA).
SMR