|
Well, let's try something new;)
There is the possibility to establish a sink for all document events. This seems to be quiet easy when using ATL. But as you've access to MSDN for sure I'll won't go into detail. Search MSDN for DIID_HTMLDocumentEvents and you should find an appropriate example .
|
|
|
|
|
ok thx !
i try to find something about DIID_HTMLDocumentEvents on MSDN.
i hope to succeed !
|
|
|
|
|
jeremysay wrote:
i hope to succeed !
Hmmm ... seems like my good heart ever wins ...
that's an interesting site I found on MSDN:
HOWTO: Sink HTML Document Events for WebBrowser Host
Q246247
|
|
|
|
|
thx again
it seems complex but i try to understand
|
|
|
|
|
Anyone has/knows a good library for creating performance counters? The SDK way is pretty cumbersome, and I am not willing to write a WMI high-performance provider.
Hints? Links? Ideas?
Holy Sh*t! I'm speechless. (hey, that's a first) Marc Clifton, The Lounge
|
|
|
|
|
Boy are you in for some fun times! I just went through this myself and it is NOT very straightforward. I ended up borrowing some code from MSJ August 1998 and even then the integration was a huge pain. I don't have a link for you, but you can try to search for this:
Module name: PrfData.cpp
Notices: Written 1998 by Jeffrey Richter
Description: C++ template classes for Performance Object data types.
Good luck, you're gonna need it!
|
|
|
|
|
Erik Juhl wrote:
Boy are you in for some fun times
Yes, I've noticed already
Thanks for the hints.
Anyway, I've started a integration library, it might develop to a article on CodeProject. Looks promising.
Holy Sh*t! I'm speechless. (hey, that's a first) Marc Clifton, The Lounge
|
|
|
|
|
Hi,
I have an MFC app and I want to create some Controls on the Fly!
The controls are member variables of an custom control class and
will be created in the OnPaint function of this customcontrol Class.
I have to apply a ID to them when creating(by using the Create function (...,UINT nID))
How do I create such an ID dynamically?
Thanks, Ingmar
|
|
|
|
|
ingi wrote:
OnPaint
You wanted to say OnCreate() ?
AFAIK, the controls created by your control are your controls childs, and they are not 'visible' to the outside (programatically spoken, they are, of course, visible on the screen) so you can assign them arbitrary numbers.
My opinions may have changed, but not the fact that I am right.
|
|
|
|
|
ingi wrote:
I have to apply a ID to them when creating(by using the Create function (...,UINT nID))
How do I create such an ID dynamically?
If you don't use the control ID (e.g. when you use HWND or CWnd* to access your childs), you dont need one, so the IDs can all be the same (meaningless) number.
Otherwise here are some IDs: 1 2 3 4 5 ....more?
|
|
|
|
|
I am adding bitmaptoolbar.I was added sucessfully in one row.I want add tools in the second row.How to write?
|
|
|
|
|
Hello
Is there any good libraries for XML out there?
Im programming in unmanaged C++ using Visual Studio 7 (the xml classes in .net is only for managed c++, or am I wrong?)
I do not use MFC.
|
|
|
|
|
Use XML DOM.
Search MSDN Library and you'll find good help!
Rickard Andersson@Suza Computing
C# and C++ programmer from SWEDEN!
UIN: 50302279
E-Mail: nikado@pc.nu
Speciality: I love C#, ASP.NET and C++!
|
|
|
|
|
Is that COM components? Or am I wong. I want to use libraries.
|
|
|
|
|
Verifier wrote:
I want to use libraries
Write your own library!
The best way to learn XML in C++!
Rickard Andersson@Suza Computing
C# and C++ programmer from SWEDEN!
UIN: 50302279
E-Mail: nikado@pc.nu
Speciality: I love C#, ASP.NET and C++!
|
|
|
|
|
If I wanted to do that, i wouldnt have asked, right?
|
|
|
|
|
Try those good article on CP (much easier to use than DOM)
Markup[^]
MarkupArchive[^]
Jonathan de Halleux.
|
|
|
|
|
|
|
How to get an IP address of a local computer?
Please send me any example/code/API.
Reply me soon
|
|
|
|
|
127.0.0.1
Best regards,
Alexandru Savescu
P.S. Interested in art? Visit this!
|
|
|
|
|
|
Is there a Shell or API function that I can specify a FullPath to a file, and have the shell open explorer and highlight the file.
Like when you perform a Find Target on a shortcut?
|
|
|
|
|
You can check out this article to get a code that will do it...
http://www.codeproject.com/shell/FoundInFolder.asp
Hope this helps.
|
|
|
|
|
thanks.
It certainly does... In fact even though the author said it only works in Win98, it still works properly in Win2k
|
|
|
|