pSDIDoc=this; (or I don’t understand the question :confused:)
dtr1
Posts
-
Pointer to Doc class of SDI -
ALT codeDon't forget to release the ALT key with : keybd_event(VK_MENU,0xb8,KEYEVENTF_KEYUP,0);
-
ALT codeuse this: keybd_event(VK_MENU,0xb8,0,0);
-
ALT codeI answered WM_SYSKEYDOWN if you use it in PreTranslateMessage, not VK_something. But you want to simulate. -- modified at 6:43 Saturday 10th November, 2007
-
_beginthread, can we create a thread in a class? [modified]There is no cast to non-member function pointer.
-
ALT codeWM_SYSKEYDOWN.If u use it in PreTranslateMessage: BOOL CTest::PreTranslateMessage(MSG* pMsg) { if (pMsg->message == WM_SYSKEYDOWN && pMsg->wParam == VK_..something..) { // TO DO:.... } return CDialog::PreTranslateMessage(pMsg); }
-
audio recordingWas not really a question. I try to suggest why not answers: it is a c++ forum
-
check for decimal in numerical stringUsing "Add memmer variable wizard", add a variable (Category=value) and set ‘Max chars’ to n. Or, DDV_MaxChars(pDX, yourVar, 10); -- modified at 3:50 Saturday 10th November, 2007
-
audio recordingVB code ?
-
_beginthread, can we create a thread in a class? [modified]Just to explain this behavior see: http://www.parashift.com/c++-faq-lite/pointers-to-members.html. Briefly, the type of pointer-to-member-function is different from pointer-to-function .There is not cast (new in VC++2005).
-
How to create resizable controlsSee this article on codeproject: http://www.codeproject.com/csharp/ResizeControlsRuntime.asp[^]
-
Can't find Excel Interop assemblyFrom http://msdn2.microsoft.com/en-us/library/kh3965hw(VS.80).aspx : During a Typical installation of Microsoft Office, the primary interop assemblies are set to be installed on first use IF the .NET Framework IS INSTALLED. This installation option works on development computers during project creation and on end user computers when an end user runs a Microsoft Office solution. Redistributable Primary Interop Assemblies Package The primary interop assemblies for Microsoft Office products are also available in a redistributable Microsoft Windows Installer package: The package for Microsoft Office 2003 is available for download from the Microsoft Download Center (http://go.microsoft.com/fwlink/?LinkId=50479). The package for the 2007 Microsoft Office system is available for download from the Microsoft Download Center (http://go.microsoft.com/fwlink/?LinkId=72637).