Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Download
Standard view
Full view
of .
Look up keyword
Like this
0Activity
0 of .
Results for:
No results containing your search query
P. 1
Keyboard Stroke

Keyboard Stroke

Ratings: (0)|Views: 0 |Likes:
Published by ahmadfiroz

More info:

Published by: ahmadfiroz on Nov 12, 2010
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as DOC, PDF, TXT or read online from Scribd
See more
See less

05/12/2014

pdf

text

original

WRITE A PROGRAM IN VC++ TO READ KEYSTROKES FROM THE
KEYBOARD
HOW TO
1.SETTING UP STORAGE FOR OUR KEYBOARD DATA
OPEN DOCUMENT CLASS
INTIALIZE THE STRING
WRITE CODE SHOWN IN THE SNAPSHOT
2. INITIALIZE EMPTY STRING IN CONSTRUCTOR OF DOCUMENT CLASS
WRITE CODE SHOWN IN SNAPSHOT
3. READING KEYSTROKE
ADD WM_CHAR MESSAGE
HOW::--- VIEW->CLASS WIZARD->SET CLASS NAME TO VIEW->FIND OBJECT
ID AS WM_CHARDOUBLE CLICK ON THAT (U WILL SEE IT WILL APPEAR
IN FRONT OF ON_CHARCLICK OK
4. RECORDING CHAR IN OUR DOCUMENT
FIND ON_CHAR( ) METHOD IN VIEW CLASS(LEFT SIDE OF YOUR CODE
WINDOW)
WRITE THE CODE SHOWN IN SHAPSHOT IN ON_CHAR METHOD BY DOUBLE
CLICKING IT
5.OPEN ON_DRAW() METHOD OF VIEW CLASS AND WRITE THE CODE
SHOWN IN SNAPSHOT
PROGRAM NO
WRITE A PROGRAM IN VC++ TO READ KEYSTROKES FROM THE
KEYBOARD
STEP 1
SETTING UP STORAGE FOR OUR KEYBOARD DATA
2.INITIALIZING EMPTY STRING IN CONSTRUCTOR OF DOC CLASS
3. READING KEYSTROKE
ADD WM_CHAR MESSAGE FROM CLASS WIZARD
4. RECORDING CHAR IN OUR DOCUMENT
CODING IN ON_CHAR OF VIEW CLASS

You're Reading a Free Preview

Download
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->