Click here to Skip to main content
15,887,410 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: How do you create a transparent label on a gradient colored form? Pin
The Man from U.N.C.L.E.8-Dec-04 3:31
The Man from U.N.C.L.E.8-Dec-04 3:31 
GeneralRe: How do you create a transparent label on a gradient colored form? Pin
David M J9-Dec-04 6:59
David M J9-Dec-04 6:59 
GeneralRe: How do you create a transparent label on a gradient colored form? Pin
The Man from U.N.C.L.E.10-Dec-04 0:57
The Man from U.N.C.L.E.10-Dec-04 0:57 
GeneralRe: How do you create a transparent label on a gradient colored form? Pin
David M J10-Dec-04 22:36
David M J10-Dec-04 22:36 
GeneralCrystal reports"Numbers to words" Pin
anom2m6-Dec-04 0:19
anom2m6-Dec-04 0:19 
GeneralUrgent: Killing Threads Pin
cwayman5-Dec-04 23:02
cwayman5-Dec-04 23:02 
GeneralHook Messages or ... Pin
rdges5-Dec-04 21:50
rdges5-Dec-04 21:50 
GeneralRe: Hook Messages or ... Pin
Dave Kreskowiak6-Dec-04 4:07
mveDave Kreskowiak6-Dec-04 4:07 
If it's hidden, no. This is because in order to receive input, like clicking on buttons, the app, and the target control, has to have the focus. In order to have the focus, the form must be visible.

If the app has shortcut keys (ALT-something) assigned to the buttons, then you can just use SendKeys to send the appropriate keystrokes that do the same thing as clicking the button. If not, it's MUCH more difficult, because now you have to know the coordinates of the button within the form and use the Win32 API function SendInput to send formatted mouse button messages to the target window.

Reading the text boxes will also not be easy. You must get the window handle of the textbox, send it the appropriate window message, I think it's WM_GETTEXT, and a pointer to a data structure that the textbox can write it's information to.



RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome

GeneralProgress Bar Pin
nitin_ion5-Dec-04 18:59
nitin_ion5-Dec-04 18:59 
GeneralRe: Progress Bar Pin
Tom John7-Dec-04 5:37
Tom John7-Dec-04 5:37 
GeneralDifference between DHTML and Web Controls Pin
iamalik5-Dec-04 18:27
professionaliamalik5-Dec-04 18:27 
GeneralRe: Difference between DHTML and Web Controls Pin
Dave Kreskowiak6-Dec-04 4:01
mveDave Kreskowiak6-Dec-04 4:01 
GeneralDisplay report base on value from list view Pin
Mekong River5-Dec-04 15:19
Mekong River5-Dec-04 15:19 
GeneralHelp please.... Pin
simiyah5-Dec-04 10:26
simiyah5-Dec-04 10:26 
GeneralRe: Help please.... Pin
Pablo.ar5-Dec-04 15:25
Pablo.ar5-Dec-04 15:25 
GeneralRe: Help please.... Pin
Pablo.ar7-Dec-04 0:36
Pablo.ar7-Dec-04 0:36 
GeneralProtecting executable files Pin
matrixcine5-Dec-04 7:28
matrixcine5-Dec-04 7:28 
GeneralRe: Protecting executable files Pin
Dave Kreskowiak6-Dec-04 3:41
mveDave Kreskowiak6-Dec-04 3:41 
GeneralRunning executables from VB Pin
Programmer_Chris5-Dec-04 5:29
Programmer_Chris5-Dec-04 5:29 
GeneralRe: Running executables from VB Pin
jlawren75-Dec-04 6:23
jlawren75-Dec-04 6:23 
GeneralRe: Running executables from VB Pin
Member 15546336-Dec-04 13:24
Member 15546336-Dec-04 13:24 
GeneralRe: Running executables from VB Pin
Dave Kreskowiak6-Dec-04 3:56
mveDave Kreskowiak6-Dec-04 3:56 
GeneralRe: Running executables from VB Pin
Programmer_Chris6-Dec-04 6:29
Programmer_Chris6-Dec-04 6:29 
GeneralRe: Running executables from VB Pin
Dave Kreskowiak6-Dec-04 7:34
mveDave Kreskowiak6-Dec-04 7:34 
GeneralRe: Running executables from VB Pin
Programmer_Chris6-Dec-04 7:52
Programmer_Chris6-Dec-04 7:52 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.