Click here to Skip to main content
15,908,626 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Generalsystem tray popup menu problem Pin
skpanda12-Jan-04 21:46
skpanda12-Jan-04 21:46 
GeneralRe: system tray popup menu problem Pin
Roger Allen13-Jan-04 1:03
Roger Allen13-Jan-04 1:03 
GeneralGets file through proxy with autorization Pin
Eugene Pustovoyt12-Jan-04 21:22
Eugene Pustovoyt12-Jan-04 21:22 
GeneralRe: Gets file through proxy with autorization Pin
murali_utr13-Jan-04 0:11
murali_utr13-Jan-04 0:11 
GeneralRe: Gets file through proxy with autorization Pin
Eugene Pustovoyt13-Jan-04 1:11
Eugene Pustovoyt13-Jan-04 1:11 
GeneralRe: Gets file through proxy with autorization Pin
murali_utr13-Jan-04 1:41
murali_utr13-Jan-04 1:41 
GeneralRe: Gets file through proxy with autorization Pin
Eugene Pustovoyt13-Jan-04 2:27
Eugene Pustovoyt13-Jan-04 2:27 
GeneralRe: Gets file through proxy with autorization Pin
murali_utr13-Jan-04 17:41
murali_utr13-Jan-04 17:41 
GeneralRe: Gets file through proxy with autorization Pin
Eugene Pustovoyt13-Jan-04 18:10
Eugene Pustovoyt13-Jan-04 18:10 
GeneralDownload Management Pin
abhinarulkar12-Jan-04 21:22
abhinarulkar12-Jan-04 21:22 
GeneralRe: Download Management Pin
Mike Dimmick13-Jan-04 2:13
Mike Dimmick13-Jan-04 2:13 
GeneralRe: Download Management Pin
abhinarulkar14-Jan-04 3:40
abhinarulkar14-Jan-04 3:40 
GeneralImporting JPEG in MFC Pin
hurr1can312-Jan-04 21:04
hurr1can312-Jan-04 21:04 
GeneralRe: Importing JPEG in MFC Pin
l a u r e n12-Jan-04 21:17
l a u r e n12-Jan-04 21:17 
GeneralRe: Importing JPEG in MFC Pin
Selvam R12-Jan-04 22:02
professionalSelvam R12-Jan-04 22:02 
GeneralRe: Importing JPEG in MFC Pin
Prakash Nadar13-Jan-04 0:18
Prakash Nadar13-Jan-04 0:18 
QuestionIs there such a API function for thread? Pin
zhaopzhi12-Jan-04 20:33
zhaopzhi12-Jan-04 20:33 
GeneralOdd CEdit Pin
AntonGogolev12-Jan-04 20:30
AntonGogolev12-Jan-04 20:30 
GeneralRe: Odd CEdit Pin
Paul Hooper12-Jan-04 21:34
Paul Hooper12-Jan-04 21:34 
GeneralModify Registry Data Pin
SiddharthAtw12-Jan-04 20:06
SiddharthAtw12-Jan-04 20:06 
Generalreferer url. Pin
murali_utr12-Jan-04 19:37
murali_utr12-Jan-04 19:37 
GeneralI Got it Pin
murali_utr12-Jan-04 20:12
murali_utr12-Jan-04 20:12 
GeneralWh_Getmessage hook Pin
percyvimal12-Jan-04 19:26
percyvimal12-Jan-04 19:26 
I have done Wh_getmessage hook.
In my filter function i have typecast the Wm_char message

like Say if Char 'A' is pressed i send the char 'A' as it is to the application.

NOw if user press 'B' then what i am doing is changing the Char 'B' to BackSpace character.

TO this point the application is working properly in all application for it is a system wide hook , where pressing of B removes 'A' for B is a backspace character

A , B->backspace

out put = NUll

Now what i am doing is using PostMessage api i am sendging 2 characters to that application which is active

Say POSTMESSAGE(C ,D)

I got these problems:
1. The character C when posted to the application , my filter function is called again and( i have defined a rule for C where if the user type
C then change to E) and i expected C to be printed in the application , but instead E is coming.
I have to find a way how to prevent this ie the postmessage which i have send to the application looping through my filter funcion again and again.

___________________________________________________________________________
2. If i declare like this

A , B->backspace character , Postmessage(C,D)

Expected output
CD

Output obtained in notepad and photoshop
AC and D is removed(Wrong)

Output obtaied in all other application
CD(correct)
_________________________________________________________________________
3. So i tried this method
A , B->NULL , Postmessage(backSpace,C,D)

Expected output
CD
Output obtained in notepad and photoshop
CD(correct)


Output obtaied in all other application
AC and D is removed(Wrong)




Could anyone tell me how i can overcome these problems

Thanks in advance

with regards
vimal

GeneralFace Facial Detection Pin
Goh Hui Beng12-Jan-04 19:21
Goh Hui Beng12-Jan-04 19:21 
GeneralRe: Face Facial Detection Pin
l a u r e n12-Jan-04 21:19
l a u r e n12-Jan-04 21:19 

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.