Click here to Skip to main content
16,011,538 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralIn Activex control, child windows are not painted correctly while scrolling IE. Pin
S.Maharajan20-Jun-03 1:41
S.Maharajan20-Jun-03 1:41 
GeneralForm Problem Pin
Anonymous20-Jun-03 0:43
Anonymous20-Jun-03 0:43 
GeneralRe: Form Problem Pin
Joan M20-Jun-03 1:15
professionalJoan M20-Jun-03 1:15 
Generaldetecting exceptions in threads Pin
Chris Eatough20-Jun-03 0:20
Chris Eatough20-Jun-03 0:20 
GeneralRe: detecting exceptions in threads Pin
Ryan Binns20-Jun-03 2:12
Ryan Binns20-Jun-03 2:12 
GeneralRe: detecting exceptions in threads Pin
Chris Eatough20-Jun-03 3:51
Chris Eatough20-Jun-03 3:51 
GeneralRe: detecting exceptions in threads Pin
Jonathan Craig20-Jun-03 3:58
Jonathan Craig20-Jun-03 3:58 
GeneralMouse wheel emulation Pin
Rage20-Jun-03 0:08
professionalRage20-Jun-03 0:08 
Hi CPians!

I am currently trying to write an app that emulates the mousewheel functionnality. A third part software we often use (a kind of text editor) does not seem to handle mouse wheel messages, so i had the idea to set a hook on mouse messages, to identify the top window, and to send a message to that window.

The problem is, the top window does not respond to my PostMessage or SendMessage. If I use "direct" MFC functions (ShowWindow,ScrollWindow), it works fine, but not when using messages. And the vertical scroll functionnality is only available using a message :

pWndChild->PostMessage(WM_VSCROLL,SB_LINEUP);
has no effect at all.

I've also tried to send WM_KEYUP/KEYDOWN messages (trying to make the app react "as if" the user had hit several times the up or down arrow, or pgup/pgdn), but no way.

My pWndChild which is a CWnd* is alright, because it works fine with functions like ShowWindow,GetWindowText...

Any idea ?

~RaGE();
GeneralRe: Mouse wheel emulation Pin
KaЯl20-Jun-03 2:15
KaЯl20-Jun-03 2:15 
GeneralRe: Mouse wheel emulation Pin
Ryan Binns20-Jun-03 2:18
Ryan Binns20-Jun-03 2:18 
GeneralBitmap Pin
Anonymous19-Jun-03 23:34
Anonymous19-Jun-03 23:34 
GeneralRe: Bitmap Pin
KaЯl20-Jun-03 2:23
KaЯl20-Jun-03 2:23 
GeneralRe: Bitmap Pin
Anonymous20-Jun-03 2:54
Anonymous20-Jun-03 2:54 
GeneralRe: Bitmap Pin
KaЯl20-Jun-03 3:08
KaЯl20-Jun-03 3:08 
GeneralRe: Bitmap Pin
Anonymous20-Jun-03 11:06
Anonymous20-Jun-03 11:06 
GeneralRe: Bitmap Pin
KaЯl20-Jun-03 11:50
KaЯl20-Jun-03 11:50 
GeneralRe: Bitmap Pin
Anonymous21-Jun-03 0:37
Anonymous21-Jun-03 0:37 
GeneralRe: Bitmap Pin
KaЯl22-Jun-03 21:19
KaЯl22-Jun-03 21:19 
Generaltrying to redefine an int array as a double array Pin
avenhor19-Jun-03 23:12
avenhor19-Jun-03 23:12 
GeneralRe: trying to redefine an int array as a double array Pin
Anonymous19-Jun-03 23:36
Anonymous19-Jun-03 23:36 
GeneralRe: trying to redefine an int array as a double array Pin
David Crow20-Jun-03 4:21
David Crow20-Jun-03 4:21 
QuestionForbid execution ? Pin
The TaZ19-Jun-03 22:56
The TaZ19-Jun-03 22:56 
AnswerRe: Forbid execution ? Pin
RicoH20-Jun-03 0:27
RicoH20-Jun-03 0:27 
AnswerRe: Forbid execution ? Pin
David Crow20-Jun-03 4:25
David Crow20-Jun-03 4:25 
Generaldatetime class in vc++ 6.0 Pin
FrancisNicole19-Jun-03 22:24
FrancisNicole19-Jun-03 22:24 

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.