MFC/Win32 is nothing like VB... you cannot just drop a scrollbar on a dialog/control/window and expect it to scroll the window for you. You need to do all of this yourself. You will need to have the parent window that owns the scrollbar handle the WM_VSCROLL message. You will then need to scroll the window yourself.
External program used excel, if you click on the click of a button to send a message through the simulation, excel this call can not be started.
If my program is A.exe I need to simulate an external program control after clicking B.exe this B.exe a button click can not call excel
Case 1: B.exe manually click a button in excel can be a normal call! --OK!
Case 2: using the SendMessage function to send a message with A.exe analog control click on the button in excel B.exe call fails, and pop-up "can not start Excel server!"! --NG!
Messages sent using SendMessage is successfully sent, message "Unable to start Excel server!"! Also shows that the message was sent successfully, but it is not up calls excel!
Question: permissions problem? Or anything else that needs to feed?
2. Be specific! Don't ask "can someone send me the code to create an application that does 'X'. Pinpoint exactly what it is you need help with.
11. If you have a school or university assignment, assume that your teacher or lecturer is also reading these forums.
0. Split your array into four parts (use the pointer to determine where you're doing the split, don't make another copy of the data)
1. Create worker threads to sum each with their portion (pointer to the beginning and size).
2. Wait for all threads to finish, sum their results.
If this was a program that needed to do this over and over again, I'd also create a "thread pool" that is precreated. Creating threads on the fly is actually a pretty slow process, you want to do it sparingly.
You may either want to use the circular buffer for holding the pointers of the actual strings or, more likely, for holding the strings themselves.
In the first case coding is pretty straightforward (you may use Wikipedia's circular buffe[^]r page for inception).
On the other hand, the second case is bit more complex, since you have to explicitely manage blocks of bytes (the strings) in the circular buffer.
THESE PEOPLE REALLY BOTHER ME!! How can they know what you should do without knowing what you want done?!?!
-- C++ FQA Lite