Click here to Skip to main content
15,891,704 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Generalproblem with Oleacc Pin
spsharma22-Dec-04 16:02
spsharma22-Dec-04 16:02 
GeneralRe: problem with Oleacc Pin
John R. Shaw22-Dec-04 16:18
John R. Shaw22-Dec-04 16:18 
GeneralRe: problem with Oleacc Pin
spsharma22-Dec-04 16:33
spsharma22-Dec-04 16:33 
Questioncan i got the item index from the item lparam? Pin
lowiq22-Dec-04 13:39
lowiq22-Dec-04 13:39 
AnswerRe: can i got the item index from the item lparam? Pin
Michael Dunn22-Dec-04 17:30
sitebuilderMichael Dunn22-Dec-04 17:30 
GeneralRe: can i got the item index from the item lparam? Pin
lowiq22-Dec-04 20:58
lowiq22-Dec-04 20:58 
AnswerRe: can i got the item index from the item lparam? Pin
David Crow23-Dec-04 3:52
David Crow23-Dec-04 3:52 
Generalsend key to window Pin
Spiritofamerica22-Dec-04 11:49
Spiritofamerica22-Dec-04 11:49 
Hello

How do I send a specific key to a winow?
I tryed using the SendMessage function like this:

SendMessage(hwnd,WM_KEYDOWN,'A',0x2701);

I think it doesn't work because of the 4th parameter and I don't understand that parameter very well.Can anyone explain it to me, it is supposed to be some kind of a value that identifies the repeat count, scan code, extended-key flag, context code, previous key-state flag, and transition-state flag, as shown in the following table. But I don't understand this.

I also tryed sending a hotkey message to the window as I think that the letter I send is actually a hotkey because it is underlined. I tryed doing that like this:

SendMessage(hwnd,WM_HOTKEY,IDHOT_SNAPWINDOW,'A');

But it didn't work. Why?

Is there some other way that I can press a button on this window programaticly? The buttons on this window keep changing every time you run it and they have no names just handles so that would be pretty hard.
GeneralRe: send key to window Pin
Antti Keskinen22-Dec-04 12:29
Antti Keskinen22-Dec-04 12:29 
GeneralConverting 2s complement to signed int Pin
Wheatbread22-Dec-04 10:39
Wheatbread22-Dec-04 10:39 
GeneralRe: Converting 2s complement to signed int Pin
Tim Smith22-Dec-04 11:09
Tim Smith22-Dec-04 11:09 
GeneralAnyone know of a pluggin... Pin
Ian Bowler22-Dec-04 9:47
Ian Bowler22-Dec-04 9:47 
GeneralRe: Anyone know of a pluggin... Pin
RChin22-Dec-04 23:18
RChin22-Dec-04 23:18 
GeneralTesting Client socket is alive Pin
kalicharan22-Dec-04 8:39
kalicharan22-Dec-04 8:39 
GeneralRe: Testing Client socket is alive Pin
Henry miller22-Dec-04 9:58
Henry miller22-Dec-04 9:58 
Generalfixup error Pin
nainakhawaja22-Dec-04 8:37
nainakhawaja22-Dec-04 8:37 
GeneralRe: fixup error Pin
David Crow22-Dec-04 9:10
David Crow22-Dec-04 9:10 
GeneralDragging rectangle Pin
Anonymous22-Dec-04 8:19
Anonymous22-Dec-04 8:19 
GeneralRe: Dragging rectangle Pin
David Crow22-Dec-04 9:03
David Crow22-Dec-04 9:03 
GeneralRe: Dragging rectangle Pin
Anonymous22-Dec-04 11:45
Anonymous22-Dec-04 11:45 
GeneralRe: Dragging rectangle Pin
John R. Shaw22-Dec-04 16:05
John R. Shaw22-Dec-04 16:05 
GeneralVC6 function template problems Pin
peterchen22-Dec-04 7:47
peterchen22-Dec-04 7:47 
GeneralRe: VC6 function template problems Pin
Antti Keskinen22-Dec-04 13:04
Antti Keskinen22-Dec-04 13:04 
GeneralRe: VC6 function template problems Pin
peterchen22-Dec-04 19:53
peterchen22-Dec-04 19:53 
GeneralSetWindowText gives me headache Pin
toxcct22-Dec-04 7:02
toxcct22-Dec-04 7:02 

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.