Click here to Skip to main content
15,887,214 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralGetting version no. from resource Pin
Poul Haahr Klemmensen1-Oct-02 0:51
Poul Haahr Klemmensen1-Oct-02 0:51 
GeneralRe: Getting version no. from resource Pin
jmkhael1-Oct-02 1:29
jmkhael1-Oct-02 1:29 
GeneralRe: Getting version no. from resource Pin
Nick Parker1-Oct-02 1:35
protectorNick Parker1-Oct-02 1:35 
GeneralRe: Getting version no. from resource Pin
Jon Hulatt1-Oct-02 1:44
Jon Hulatt1-Oct-02 1:44 
GeneralRe: Getting version no. from resource Pin
Poul Haahr Klemmensen1-Oct-02 3:33
Poul Haahr Klemmensen1-Oct-02 3:33 
GeneralIPAddress control in a combo box Pin
Sluice1-Oct-02 0:20
Sluice1-Oct-02 0:20 
GeneralRe: IPAddress control in a combo box Pin
jmkhael1-Oct-02 0:44
jmkhael1-Oct-02 0:44 
GeneralSending messages to another application Pin
Richard Lewis1-Oct-02 0:06
Richard Lewis1-Oct-02 0:06 
Hi!

I was implementing the On-screen keyboard application that comes with Windows. I have two queries regarding this:

1. I have made my app 'always on top', but the problem is setting focus to the application just below this one. I am aware that SetFocus is useless in this case. I want to find a way to this using GetNextWindow

2. Let's assume notepad is going to be receiving keystrokes via this on-screen keyboard app. Can anyone send me code to this. I have tried something like:

DWORD dwProcessID;
::GetWindowThreadProcessId(hForeground,&dwProcessID);

::PostThreadMessage(dwProcessID, WM_KEYDOWN, 65, 1);
::PostThreadMessage(dwProcessID,WM_CHAR, 65,1);
::PostThreadMessage(dwProcessID, WM_KEYUP, 65,1);

But this doesnt help.


Any help will be greatly appreciated.
Thanks for your time


Richard
GeneralRe: Sending messages to another application Pin
jmkhael1-Oct-02 0:25
jmkhael1-Oct-02 0:25 
GeneralRe: Sending messages to another application Pin
jmkhael1-Oct-02 0:26
jmkhael1-Oct-02 0:26 
GeneralRe: Sending messages to another application Pin
Richard Lewis1-Oct-02 0:34
Richard Lewis1-Oct-02 0:34 
GeneralRe: Sending messages to another application Pin
jmkhael1-Oct-02 0:42
jmkhael1-Oct-02 0:42 
QuestionWin32 WinSock tutorial anyone? Pin
Redeemer-dk30-Sep-02 23:52
Redeemer-dk30-Sep-02 23:52 
AnswerRe: Win32 WinSock tutorial anyone? Pin
carrie1-Oct-02 0:44
carrie1-Oct-02 0:44 
QuestionIs it possible to rename a project in VC .NET? Pin
Anonymous30-Sep-02 23:40
Anonymous30-Sep-02 23:40 
GeneralMicrosoft form 2.0 Label Pin
mzakarni30-Sep-02 23:03
mzakarni30-Sep-02 23:03 
GeneralRe: Microsoft form 2.0 Label Pin
Nitron1-Oct-02 3:11
Nitron1-Oct-02 3:11 
GeneralRe: Microsoft form 2.0 Label Pin
mzakarni1-Oct-02 21:16
mzakarni1-Oct-02 21:16 
GeneralAttaching multiple controls to the system image list Pin
Woody Green30-Sep-02 22:44
Woody Green30-Sep-02 22:44 
General'open with' using shell Pin
steffo230-Sep-02 22:27
steffo230-Sep-02 22:27 
GeneralRe: 'open with' using shell Pin
Stephane Rodriguez.30-Sep-02 22:43
Stephane Rodriguez.30-Sep-02 22:43 
GeneralArray of CArray Pin
ooosawaddee330-Sep-02 21:55
ooosawaddee330-Sep-02 21:55 
GeneralRe: Array of CArray Pin
jmkhael30-Sep-02 22:02
jmkhael30-Sep-02 22:02 
GeneralRe: Array of CArray Pin
30-Sep-02 22:52
suss30-Sep-02 22:52 
GeneralRe: Array of CArray Pin
jmkhael30-Sep-02 23:02
jmkhael30-Sep-02 23: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.