Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() userform1.show After the following code ,and then I want to be focused with mouse pointer to the specific button(for example, commandbutton1) automatically. Maybe, it would seem be used win32Api. *** Sent via Developersdex http://www.developersdex.com *** |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Look at the GetCursorPos and SetCursorPos API's.
RBS "tom taol" wrote in message ... userform1.show After the following code ,and then I want to be focused with mouse pointer to the specific button(for example, commandbutton1) automatically. Maybe, it would seem be used win32Api. *** Sent via Developersdex http://www.developersdex.com *** |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
thanks, but i want to how to know the handle of the commandbutton1 on a
userform1. *** Sent via Developersdex http://www.developersdex.com *** |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I don't think command buttons on Userforms have window handles.
You will have to work out the position of the button and move the cursor accordingly. RBS "tom taol" wrote in message ... thanks, but i want to how to know the handle of the commandbutton1 on a userform1. *** Sent via Developersdex http://www.developersdex.com *** |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
No userform, runs from module, want to change mouse pointer | Excel Programming | |||
Userform and mouse pointer | Excel Programming | |||
move mouse pointer to a default button(Enter) in messagebox | Excel Programming | |||
mouse pointer . . . again! | Excel Programming |