|
Getting menu handle from a floating menu bar Hi All, I am launching many applications from my application in background. Say I launched MS Word. Now, I want the handle of the launched application. I have the handle to the mainframe window of newly launched application. I am able to get the menu pointer using CWnd::GetMenu() from the mainframe pointer. B... 24 Feb 2005 03:37
Really simple questions re CSliderCtrl Using SetSelection() I can get a CSliderCtrl to display a highlighted selection ... but so what? What use is it other than to look pretty? Which of the following is possible, and how do I do them? (1) Prevent the user from moving the thumb outside the highlighted range. (This seems to be what the documentation ... 17 Feb 2005 14:09
learning MFC Hi there, where can I find some online tutorials to learn MFC programming? Thnx alot! ... 19 Feb 2005 19:50
Problem adding property sheet in a dialog! Hello, I have put a Property sheet in a dialog box. There are some controls on each page of property sheet. When only property sheet is there in the dialog, it works fine. After that I added some other controls (button, listbox, etc., which are common to all pages in the property sheet)in the remaining area of... 17 Feb 2005 11:35
Add Items to MSFlexGrid Hi, I need to add items into the MSFlexGrid control in background. Means I need to add 1 lakh records to my MSFlexGrid Control, but it is taking 10 min. to fill the data. So, I have placed the filling functionality into the worker thread and now I can able to work with MSFlexGrid. But when I scroll or click on ... 17 Feb 2005 11:35
MSComm function I use the following routines to send(works fine) and receive(not working) to send and receive binary data. bool CPSMDlg::SendChar() { CByteArray btArray; btArray.Add (DataByte); COleVariant var(btArray); m_comm.SetOutput(var); return true; } bool CPSMDlg::GetChar() { COleVariant myVar; ... 16 Feb 2005 23:36
Minimal Example of Printing a CBitmap I want to avoid Document/View. I would prefer that the example involves only a single page. It would be even better if this Example would scale the Bitmap to fill the page as much as possible while retaining the aspect ratio. I found the example below that almost fits the bill. http://codeproject.com/printing/g... 16 Feb 2005 22:35
listCtrl Hi there, It's me again. I am still struggling with listCtrl. I put a listCtrl and a button in a dialog. It works when I click the button first, but never thereafter. So today I tried to close the dialog by clicking OK or Cancel and then enter the dialog again, but I still get the error message: The exceptio... 16 Feb 2005 21:34
Can't Show Client Edge I need to create controls dynamically in an app. I wrote the following test code but can't get the dynamically created CEdit control to show the client edge (WS_EX_CLIENTEDGE). The dialog has a CEdit defined in the dialog editor with a member variable m_edit. the code is as follows: BOOL CEditCtrlDlg::OnIni... 17 Feb 2005 03:10
Stopping a Thread In my application I have some list controls that load fairly large amounts of data, a few thousand records, or the query to get the records just take a really large amount of time. So I created threads to load the list controls instead of locking up the front end while it tries to load and it works like a cham... 16 Feb 2005 23:06 |