Hi all,
Is there anyone that knows for sure if buttons in Access are window objects, as they are in VB, or a custom control containing just lines and shading that alter upon 'clicking'.
I have a need to use some window-specific api's on buttons, which were easy in VB, since the hwnd is a native property of a vb button. However, I've looped through all system windows (using a nested loop of GetWindow, finding each parent and looping through each child) looking for the button's hwnd on my Access form, and they don't appear to be answering to any hwnd on the entire system. Does anyone know if buttons are windows in Access, and if so, a very easy way to get the hwnd? Thanks,
--Jim
Is there anyone that knows for sure if buttons in Access are window objects, as they are in VB, or a custom control containing just lines and shading that alter upon 'clicking'.
I have a need to use some window-specific api's on buttons, which were easy in VB, since the hwnd is a native property of a vb button. However, I've looped through all system windows (using a nested loop of GetWindow, finding each parent and looping through each child) looking for the button's hwnd on my Access form, and they don't appear to be answering to any hwnd on the entire system. Does anyone know if buttons are windows in Access, and if so, a very easy way to get the hwnd? Thanks,
--Jim