First  |  Prev |  Next  |  Last
Pages: 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41
Displaying Animated Cursor
Hello, I am trying to display an animated cursor. I found several examples, but none of the examples seem to work in my SDI app. When I use the anmiated cursor, the cursor completely vanishes. How can I display an animated cursor in an SDI app? VS2008 MFC BOOL CMyFormView::OnSetCursor(CWnd* pWnd, UINT nH... 11 Apr 2010 16:49
strsafe.lib
A few weeks ago Joe enlightened me as to the usage of StringCchCopy instead of strcpy. Well I had some other things come up and had to put all that on hold, but now I am back to that. I downloaded the correct PlatformSDK 2003 that says it is supposed to work with my VC pro v.6. sp5, I then extracted the whole... 12 Apr 2010 08:07
DeleteFile shows as DeleteFileA
I have a class (common class, not derived from MFC) that has a DeleteFile() memeber function. But in the class view, it shows as DeleteFileA(), and if I declare a instance of this class and call DeleteFileA(), it works. In the debugger, it goes into DeleteFile(). Why is it so? Thanks. ... 14 Apr 2010 15:35
Setting PropertySheet Title (Wizard mode)
Hi, I have a Wizard style property sheet, and when I try to set its title using SetTitle in its constructor, the title doesn't show up. Before that, I've added pages to the property sheet, which have the Title Bar" of all the pages set to True, but nothing in the "Caption" property. If I add a string to the... 8 Apr 2010 15:12
GetAsyncKeyState(VK_LBUTTON) true after DoModal()
Hi, Here is a small description of what I am trying to do. I have simplified it to... // ---------------------------------- MyDlg dlg; if( IDOK != dlg.DoModal() ) { return; } .... bool left_button = ((GetAsyncKeyState(VK_LBUTTON) & 0x8000) == 0x8000 ); assert( false == left_button ); // << left_bu... 7 Apr 2010 16:55
MSMQ problem
I posted the following question first to a CSAHRP NG but actually I was wrong-its an MFC problem and I hope someone here can really help me... I use the following code in a CSHARP project where I craete an MSMQ. It works fine if I send messages from another CSHARP project. UDP_Dll_Que = new MessageQueue(".\\Priv... 5 Apr 2010 11:39
CImage trouble on Windows 7
I'm wondering if anyone has seen something like this. I have been using this for years, for lots of stuff: void CPrinter::PrintImageMetric( LPCTSTR imagePath, LPRECT rect ) { CImage img; img.Load( imagePath ); if( ! img.IsNull( ) ) img.StretchBlt( pDC->GetSafeHdc( ), *rect ); } And all of a sudden,... 8 Apr 2010 20:51
Writing a huge file with MFC - is it possible
I'm not aware of any restrictions. You said that writing it chunks "might not be possible", do you have a good reason for that? Typically no one really writes an entire file out all at once, 90% of the time the file is written out in chuncks. How do you keep 750GB if data in memory to begin with? To ans... 2 Apr 2010 11:31
Time
Hi All, I would like to use the multimedia timer in my MFC application in order to update a certain area of my UI. From what I understand, a multimedia timer is implemented basically using a high priority thread. In this case, is it ok to interact with UI elements via a pointer to my dialog class from inside ... 2 Apr 2010 11:31
MFC and JNI
Hi, I'm using JNI to display a java JFrame into a C++ program. It works well except when I add this JFrame into a CTabCtrl. In this case, when the mouse entered the JFrame the CPU increases, and if I click it's exactly the same but my C++ application loose the handle. The only way to regain the control is to... 7 Apr 2010 16:55
First  |  Prev |  Next  |  Last
Pages: 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41