Type: Posts; User: VictorN
Search took 0.28 seconds.
[moved thread aт reяуест of OP]
It is because you do not break the inner loop after finding the first number being smaller, but continue the search and comparison until the end of array.
You could try ON_COMMAND_RANGE macro rather than ON_COMMAND in your message map.
I don't understand the part where the MDI child window is the parent of the frame window. Can you explain that?[/QUOTE]
There was I guess a typo.
OReubens seemed to mean:
"MDI document window is...
April 17th, 2015, 04:10 PM
Check it out:
Surviving the Release Version
April 17th, 2015, 01:46 PM
What is the reason of such a strange design?
April 17th, 2015, 01:44 PM
April 17th, 2015, 01:07 AM
April 16th, 2015, 02:34 PM
Please, start a new thread and describe your problem more clear.
April 16th, 2015, 12:04 PM
April 16th, 2015, 08:05 AM
I do use MFC.
And I definitely use PostThreadMessage to post messages to the worker threads having message queue (the threads that Microsoft calls UI threads).
But using PostThreadMessage to post...
April 16th, 2015, 07:45 AM
unmanaged C++ is called native C++.
April 16th, 2015, 05:42 AM
And what is "rand"? :confused:
I know the c++ function rand:
int rand (void);
nut you seem to mean something rather others... What?
Perhaps, you mean the plain C-string (or the character array,...
April 16th, 2015, 05:21 AM
What is "raw string" in this context?
April 16th, 2015, 05:00 AM
I would prefer
string s = "some rand string";
s += argv;
s += "some rand string1";It is more clear and also easier to debug.
April 15th, 2015, 08:12 AM
You probably meant "post the thread message" (using PostThreadMessage function)?
April 15th, 2015, 05:48 AM
And why do you start your string with null character?
April 15th, 2015, 04:54 AM
No, it is NOT a solution for the "add-in application with commandbar button for Outlook" that Kargo had.
Your code has nothing to do with it!
April 15th, 2015, 03:57 AM
Are you sure Kargo still needs your example? After almost five years? :confused:
AFAIK, he disáppeared after having posted his question... :cool:
April 15th, 2015, 03:51 AM
It is not clear to which thread(s) belong these windows.
Note that preferable way for multithreaded applications is:
1. Create all GUI objects (windows, menus, ...) in the main thread.
2. Put all...
April 15th, 2015, 01:18 AM
The answer is simple and you got it already: no!
However, if you described more clear what your real problem is then we would try to help you in finding some "workaround".
PS: please, don't post...
April 14th, 2015, 07:31 AM
Then why do you post to the Managed C++ and C++/CLI forum? :confused:
April 14th, 2015, 03:45 AM
Do you want to handle only left mouse button click? Or, perhaps, the setting focus on the control independently on how it was done?
If the latter - then you could handle EN_SETFOCUS notification.
March 24th, 2015, 05:08 AM
March 19th, 2015, 09:04 AM
Have you already looked at the links in the post#2?
Click Here to Expand Forum to Full Width
This is a CodeGuru survey question.