First  |  Prev |  Next  |  Last
Pages: 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766
CListCtrl Setting the Focus to a Row through Code
Hi i am taken a dialog based application. on the dialog i placed CListCtrl.i added 3 cols and 10 row to the list control. the first column is Checkbox. On the dialog box i placed two Buttons with captions "Next" and "Previous". when i run my application, when i Press "Next" Button the selection mark in the CLis... 28 Nov 2005 22:21
distinguish between CPropertyPage::OnApply and OnOK
I have some processing I want to do when the OK button of a CPropertySheet/CPropertyPage dialog box is pressed. Unfortunately, (for reasons that aren't clear to me) when the Apply button is pressed, the default handler, OnApply, calls OnOK. This same method(s) are also called when the OK button is pressed!? ... 27 Nov 2005 21:56
cheaderctrl problem
Hi There, I have a CWnd derived class, CMyCtrl that contains a member of type CQuickList* (a CListCtrl derived class). I also have a CHeaderCtrl derived class, CMyHeaderCtrl. In order to access methods in CMyHeaderCtrl, I should have a CMyHeaderCtrl member in either CMyCtrl or CQuickList, where? Also once I... 28 Nov 2005 11:24
how to block CAsyncSocket Receive
In a worker thread, I am using a CAsyncSocket to Send a data block which is successfully being received. On accept, the receiving code spawns a thread of its own to receive the data after which it sends a reply to the sender. I need the sender to block on Receive to wait for this reply and CAsyncSocket doesn't do t... 8 Dec 2005 10:48
Read text file problem (CStdio::ReadString())
I have created a function that reads a text file containing a list of servers. The code for this function is below but for some reason it doesn't retrieve any data from servers.pdd. My code below shows that ReadString() is returning 0. Any ideas? void CServersDlg::GetServerList() { TRY { CStdioFile... 23 Nov 2005 23:49
Learning MFC - how do I draw a game board
Hi Trying to learn MFC with VC++ 6.0 and I want to draw a simple game board. All I want is a 9 by 9 grid for the Suduko game. Each grid element should be able to hold a few characters. Would appreciate some ideas on how to create the grid using the dialogue creation parts of Visual Studio. Or, do I have to draw... 20 Nov 2005 11:44
Another unhandled exception
I get the following error message when I close my application: Unhandled exception at 0x7c22df1f (mfc71d.dll) in ClientV0.exe: 0xC0000005: Access violation reading location 0xcccccccc When the error occurs it breaks at the following line in wincore.cpp (CWnd): bResult = m_pCtrlSite->DestroyControl(); If... 18 Nov 2005 11:35
Internal error.. any help?
Can anybody please help me in fixing this link error that i get in my VC++ project? Linking... LINK : error : Internal error during ReadSymbolTable ExceptionCode = C0000005 ExceptionFlags = 00000000 ExceptionAddress = 0040ED6B NumberParameters = 00000002 Exceptio... 17 Nov 2005 15:21
Image with transparent background
Is it possible to have an image on a button in MFC with a transparent background? How do I do this? Also, how are images stored in MFC applications? Are they compiled into the exe? What is the compression like? ... 17 Nov 2005 04:12
Transparent Checkbox : How to
I have a checkbox on a dialog and I want the background portion of it (i.e. around the outside of the checkbox and behind the text label) to be transparent so that the underlying color of the dialog shows through. I handle the dialog's OnCtlColor method and return a hollow brush. This works just fine for plan... 18 Nov 2005 19:25
First  |  Prev |  Next  |  Last
Pages: 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766