It will placed in an application that calls the old app. It will reset the desktop when the old app closes and returns control to the new app.
Do you see an issue I am missing?
Type: Posts; User: JustMax
It will placed in an application that calls the old app. It will reset the desktop when the old app closes and returns control to the new app.
Do you see an issue I am missing?
DeadPlanet,
I added this line between the CreateProcess and the keybd_event :
WaitForSingleObject( pi.hProcess, (DWORD)5000 );
and it appears to be working. Thanks for the help.
That doesn't seem to work. I know the window has keyboard focus because it responds to both the escape and enter keys when I press them.
I have a legacy application that, on occasion, causes the windows fonts to screw up. I have found that, if I simply reset the desktop, it fixes the problem. I do not have the authority, knowledge,...
Finally, an answer instead of a question or a debate! Thank you so much.
brewbuck,
How would I set the control to use the correct codepage?
I do appreciate your eagerness to discuss this and I am sure that you would prove your point very well. That is not, however what I am after. Once again, I am simply asking if it is possible to send...
Any debate is avoidable. Watch . . . .
Thanks for the example. I have adapted it to my application:
//build top line of the form
int chars;
char topLeftCorner = '┌';
char topRightCorner = '┐';
char bottomLeftCorner = '└';
char...
Vart,
Thanks for pointing that out. When I change them to the single quotes, I get:
'strcat' : cannot convert parameter 2 from 'const char' to 'const char *'
at my strcpy and strcat lines. (I...
Sorry, the missing key was a poor attempt at humor. Actually, the ASCII character set was extended, according to (www.asciitable.com):
"As people gradually required computers to understand...
Seriously, Every time I try to send these characters to a RichEdit control, I just get + or -. I know that it has to have something to do with the UTF mode but I can't find any good documentation.
...
Can you tell me which key I press for the top left corner of a box outline? My keyboard doesn't seem to have any of these keys :
I am sure this must be simple but I cannot find a way to do it:
I have a Rich Text control in a C application (non-MFC) and I want to draw boxes around some of the text in a form. How do I insert...
I have been tasked with reproducing a report form and filling it with test data that is stored in a text file.
I can't seem to get my hands around how to use Crystal Reports with C programming and...
There is a legacy app on the "box" and a receiver side is running on our XP PCs. The receiver portion expects to read data on COM1. The portion in the "box" is Win 95.
Nope. The app runs inside a box that we simply connect to our XP boxes via USB. That "box" connects to sensors and it collects readings that I need to retrieve and monitor.
The application we are dealing with reads and writes to a device via COM1. I do not have control over the code and I am not able to convince my counterparts to make code adjustments on an application...
Since XP allows you to go into device manager and reassign comm ports, I am assuming that it can be don at the OS level. I was just wondering if anyone has an idea of how and what the Device Manager...
I am using a USB device that emulates a serial port. I need the device to be assigned to COM1 everytime it is plugged in. Is there a way to programmatically clear COM1 and then reassign my device to...
Thanks adeyblue! Got it going.
I have a dialog control with two list controls. One contains a directory listing of a drive and the other has the listing of another drive. I am successful in using MoveFileEx() to move an entire...
I found it. I had left out a '}' and the compiler didn't catch it. I guess I should be more precise. Thanks for you interest.
I have a dialog box with two listbox controls. Both of them display disk directories and function well (with one exception. I can move from drive to drive, directory to directory perfectly.
Now,...
I have taken the option of creating my own dialog to restrict where the user can go. It seems to work well but I would like to divide the display into two listboxes (one with directory structure...