For Programmers: Free Programming Magazines  


Home > Archive > Visual Basic > March 2004 > How to press the simulate command button pressed on screen









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author How to press the simulate command button pressed on screen
Kahn Berry

2004-03-31, 11:30 pm

Good day,
I would like to show the user that command button pressed on screen
using code without actually clicking on it.
Something like the calculator in Windows.

Tia



Randy Birch

2004-03-31, 11:30 pm

Assuming you have the hwnd of the button ...
http://vbnet.mvps.org/code/intrinsic/buttonpress.htm

--

Randy Birch
MVP Visual Basic
http://vbnet.mvps.org/
Please respond only to the newsgroups so all can benefit.


"Kahn Berry" <kahn@kahn.com> wrote in message
news:h32n60pja88kjjs34beo9l4ic3bn8ujvu2@
4ax.com...
: Good day,
: I would like to show the user that command button pressed on screen
: using code without actually clicking on it.
: Something like the calculator in Windows.
:
: Tia
:
:
:


Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com