That's true Adobe does do that. But the thing is that you're having to work around or fight the system. In doing so you're causing a hassle for yourself and for the folks at Microsoft. Go read some of the articles at the "Old New Thing" - it's full of stuff like this. What if Microsoft changes the ID? Then your code is broken. Or they change to a different technique or control? All I'm saying is that, unless there's an easy way to do this, and I don't think there is (I could be wrong), that you're fighting something and spending your time on stuff that could likely be more profitably spent doing something else.
¡El diablo está en mis pantalones! ¡Mire, mire!
Real Mentats use only 100% pure, unfooled around with Sapho Juice(tm)!
A very easy solution is to put a static control right above your progress control that indicates what 100% is. If you want to actually write on the progress control, however, you'll need to look at creating your own. Source code is plentiful, here for example.
"Love people and use things, not love things and use people." - Unknown
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
I have a Win32 application and I would like to retrieve the command line arguments passed to another application. I'm actually trying to get the command line arguments used to start each instance of svchost.exe.
Is there an API for this or do I have to implement a complex machanism? I thought of OpenProcess and different "query process information" functions after that but I could not find any solution... Can anyone help?
i have got the following questin:
I have a SDI Project with a RichTextControl and an editbox in the toolbar.
I want to pass the value in the editboc(user input) to a funktion in the document.cpp.
I want to load some data in the document and then i want to update te view with this datas.
I know how to update the view with datas coming fram the document, but i don't know the right way to pass a value from the editbox in my toolbar to the document !!!???