First  |  Prev |  Next  |  Last
Pages: 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86
Adding dynamically DHTML_EVENT to DHTML_EVENT_MAP
Hello, I use a DHTML dialog with dynamicallly constructed controls. I want to catch OnClick events on these controls but of course I don t know what will be their ids. ON_EVENT_RANGE is not working with BEGIN_DHTML_EVENT_MAP and I would not like to call a specific C++ function on my dialog box from the javascript... 20 Apr 2007 11:28
Not enough storage is available to process this command
Creation of CBitmap of certain size with CreateCompatibleBitmap and selecting it into memory DC is quite easy operation. However, since the bitmaps I want to create, are rather large I am getting ERROR_NOT_ENOUGH_MEMORY, or "Not enough storage is available to process this command" message. I was wondering if there... 11 Apr 2007 10:43
CStringT conversion issue
I have a dumb question... :-) I am converting an app to VS2005 and have inherited some legacy code that is a class inherited from CString. It references m_pchData quite a bit. I am trying to use GetString() instead but am running into variable conversion issues. LPTSTR lpsz, lpszRemainder = GetString()... 10 Apr 2007 20:34
"Detaching" a non-modal dialog from it's parent main frame
Hi, I need to "detach" a non-modal dialog within an MFC MDI-application from the mainframe. This means, it should no more activate the mainframe when it is beeing activated. Using SetWindowPos() with hWndInsertAfte = wndTopMost almost works (I can see the dialog on top of another application where effects of... 9 Apr 2007 12:05
Default beep when clicking in list control on Vista
Our application contains many CListCtrl objects with Report View style. When we run our application on a Vista machine, clicking (left or right mouse button) in the list control results in the default beep sound. This doesn't happen on XP or Windows 2000. We build with Visual Studio.Net 2002, and I noticed ... 3 Apr 2007 11:11
Visual C++ Book
Hello, As I have mentioned in some my other posts I am a beginner to MFC and VC++. Currently I am studing the book "Teach yourself Visual C++.NET in 21 Days" from Sams and I am finishing it. Can anyone suggest any other books, sites or tutorials to continue after that book? Thanks in advancce. ... 5 Apr 2007 18:38
DoModal Broken in Debug Mode in VS2005 SP1
A new test was added to dlgcore.cpp in SP1 that breaks the DoModal call in debugging mode. In the function CreateDlgIndirect() line 239: #ifdef _DEBUG if ( AfxGetApp()->IsKindOf( RUNTIME_CLASS( COleControlModule ) ) ) { TRACE(traceAppMsg, 0, "Warning: Creating dialog from within a COleControl... 29 Mar 2007 22:26
COleDropTarget not working in Vista
Hello all, I am trying to port an MFC application to Vista but I am encountering an issue with COleDropTarget. I need to configure a page of a property sheet as a drop target. In Windows XP, the code (see snippet below) works as expected but in Vista, despite the fact that the call to Register(this) succeed... 9 Apr 2007 04:39
Can step over in VC on Vista
I am using VC 6.0 on Vista when trying to step through the code get the error message box saying 'Administrator privileges required for OLE remote procedure call debugging: this feature will not work'. I never have this problem on XP or prior versions. Timmy ... 4 Apr 2007 01:44
Create a CBitmap from SAFEARRAY
Hi, I developed a component in .net which I call from an MFC program. A .net function called in my c++ program return a safearray ** (wich is a byte [] in .net). This function convert a string of binary data base64 encoded in a array of byte[]. Here is my .NET implementation: byte[] GetDecodedImage(Stri... 14 Mar 2007 15:54
First  |  Prev |  Next  |  Last
Pages: 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86