03-23-2003, 01:10 AM
What do you use to make the Caps lock automaticly come on at the start of a Program and then come off before the Program terminates
Caps Locks within a program
|
03-23-2003, 01:10 AM
What do you use to make the Caps lock automaticly come on at the start of a Program and then come off before the Program terminates
03-23-2003, 02:02 AM
hmm.... you can poke something to change the status of caps lock, and all that. i'll look for it on glenn's page, though i think one of the poke examples had that very button.
aha! here it is! from qb's help (defsg_ex.bas) Code: ' *** DEFSG_EX.BAS ***
i]"I know what you're thinking. Did he fire six shots or only five? Well, to tell you the truth, in all this excitement, I've kinda lost track myself. But being as this is a .44 Magnum ... you've got to ask yourself one question: 'Do I feel lucky?' Well, do ya punk?"[/i] - Dirty Harry
03-23-2003, 03:05 AM
i.e., turn it on if it's off or turn it off if it's on:
DIM BYTE AS INTEGER DEF SEG = 0 BYTE = PEEK(&H417) XOR 64 POKE &H417, BYTE DEF SEG
ravelling Curmudgeon
(geocities sites require copying and pasting URLs.) I liked spam better when it was something that came in a can. Windows should be defenestrated. |
« Next Oldest | Next Newest »
|