First  |  Prev |  Next  |  Last
Pages: 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727
clistctrl with a NON-SCROLLING background image
How do you make a clistctrl (or a subclassed derivative of one) not scroll its background image? I've been using something similiar to this to load the image: LVBKIMAGE image; // If no background image is set for the list view control if (m_list.GetBkImage(&image) && (bki.ulFlags == LVBKIF_SOURCE_NO... 23 Mar 2005 15:10
IMPLEMENT_SERIAL_T and the like
Hi, I want to implement a template class and use IMPLEMENT_SERIAL_T2 but it throws a whole lot of compile errors. Anybody succeeded using any of these macros intended for template classes? TIA, Stefan ... 22 Mar 2005 12:32
Date Time Picker - Blank Date
I have a Date Time Picker control with the None property set to true .... that displays a checkbox in the date time picker which allows the user to uncheck the checkbox to ignore the datetimepicker value.. My problem is that I don't know how to get the value of this check box ... When I call GetWindowText ... I g... 22 Mar 2005 15:40
insert ActiveX into MFC without resource file
Hi, I try to insert ActiveX to my program as following: class MyWnd:public CFrameWnd { public: MyWnd() { CString strControlProgid; strControlProgid="mscal.calendar.7"; m_Control.DestroyWindow(); RECT rc; ::GetClientRect... 25 Mar 2005 23:32
Problem In SDI Splitter(FormView&TabView)
In SDI, spilter into two parts, top is a formview and bottom is a framewnd, the framewnd only has a tabview, I want to dynacially create a htmlview in the tabview, but can not show anything, below is the code, Who can help me. BOOL CMainFrame::OnCreateClient(LPCREATESTRUCT /*lpcs*/, CCreateContext* pContext)... 21 Mar 2005 00:18
CDateTimeCtrl formatting
I have a CDateTimeCtrl on my dialog. It is valid to leave this blank (no entry) so I want to be able to allow this. I have added the FORMAT event handler for formatting it to the empty string if the underlying COleDateTime is 0.0, or the short date. I also added the FORMATQUERY handler to try to allow no input... 20 Mar 2005 16:35
Access CList across other modules
Being a newbie at MFC, I am trying to use the MFC collection CList. It works fine where I declared the structure in my class module. Although, how can I access my CList in another class module or any module? Apprecaite your help. Thanks, JT ... 20 Mar 2005 01:39
Parent Detecting When Modeless Dialog Closes?
Hi, I'm using VC++ 6. Is it possible for a parent to detect when a modeless (child) dialog closes? I couldn't find any event for this, and even tried a work-around where the child sent a message to the parent as it was closing -- but for some reason the message would not go through. Here is a snippet of ... 19 Mar 2005 12:16
PostMessage and keyboard commands (specifically control)
We're using PostMessage to send a keyboard command to a window. It works great, until we start needing to send something which requires the control key. More specifically: PostMessage ( handle, WM_KEYDOWN, VK_SPACE, NULL ); send "space" to the window. How do you send Ctrl-[ or Ctrl-] or Ctrl-P ??? T... 19 Mar 2005 12:16
Help on CString to char*
Being a newbie to MFC, I am having problems on copying CString to a char* Below is my attempt but I getting this error below: ===================================================== Debug Assertion Failed! Program: C:\geac\GEACstatusptt.exe File: dbgheap.c Line: 1044 Expression: _CrtIsValidHeapPointer(pUserD... 19 Mar 2005 12:47
First  |  Prev |  Next  |  Last
Pages: 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727