Now I am developing an application which will use many technology about OLE. But I know little about it. I often meet the problems. When I seek the answer in MSDN, I notice that a document named 'OLE specification' is often be referenced. I try to find it. But nothing can be found through google. Is here somebody know it? If somebody know, I hope you could be kind to tell me the web-link of it, or send it to me by email. Thank you!
There is some white cloud floating on the blue sky. That's the landscape I like.
I create one CDockablePane wnd and dock it in the bottom of the parent wnd. But the default CDockablePane height is too short and I want to resize the height of the CDP. But don't find any workable method to do.
Btw, if the CDP is docked in the left/right side of the parent wnd, it works well when setting new width.
Another question is how to make the CDP floating when initialized. The CDP is initially docked in one side when created. But I want to make it floating after it is created in the target position and with a initial size. How to do it ?
I feel very hard to control the CDP programmatically, like floating, resizing and moving with MFC. I found one artical from MS website about docking window management programmatically. But it is for C# Winform, not for MFC.
For setting the focus to the new window, i've written the following code, pWndNewFocus->SetFocus();
Incidentally the window that is set to receive the focus is a CButton. I have an OK button which is default button and a Cancel button. OK button is dithered. So the pWndNewFocus will be my Cancel button. When SetFocus is getting called on that, i'm not able to see the focus [dotten line around the caption] on the button.
Could you let me know the reason for this error? The same code when I execute it from VC++ 6.0, the focus is correctly getting set to the button. But when i execute the code in VC++ 10, i'm getting this issue.
My MSAA Hook dll is expected to be loaded into all process's memory. in 32 bits Win7 it works.
But in win7 64 bits some process can load MSAAHook.dll 64 bits cannot be loaded into some 64 bits process. Why does this happens?
Currently, "exiting" (pressing upper right-hand corner's "X") WMP closes the WMP window but allows WMP sound to continue. How can this WMP "exiting\termination" event be caught or trapped programmatically so as to enable clean and thorough shutdown of Windows Media Player? Can the WMP ATL's OnOpenStateChange possess a Dispatch Identifier (known as DISP) that can catch this closure and termination event?
I converted old C++ project to VS.Net 2010 with 4.0 Framework.
error C2440: 'static_cast' : cannot convert from 'void (__thiscall CChatView::* )(WPARAM,LPARAM)' to 'LRESULT (__thiscall CWnd::* )(WPARAM,LPARAM)'