I work for a company that wants to do Sybase ODBC SQL traffic over the Internet using HTTP transactions. I've developed HTTP tunneling software to enable this. The tunnel software works grea...
I am trying to develop an application using Visual Studio 2008. I am writing it in C++, and I chose a Windows Forms solution to develop it. Windows Forms apps use managed code, so I am unable ...
I'm trying to put an icon on a button in MFC (VC++ 2008). To do this I use CMFCButton class for a control variable. It has SetImage method for this (code snippet below).
The icon is displaye...
I have created a ATL dll that must wrap an existing MFC dll so that I create a resultant COM interface.
The mfc dll's lib has been properly referenced etc. etc.
The error I get on linking is...
Hi experts I need to have a SDI and a Dialog with OpenGL at the same time in Microsoft Visual 6.0 c++.
Any good tutorial of how to do it? I tried http://www.ddj.com/cpp/184403581;jsessionid=...
Hi Experts,
I am writing small VC++/MFC application,
Application has edit box controls for Username, Password, and Path of Folder.
Now i wants to protect that folder with Username and Passw...
How do I add files to the "My Recent Documents" list from within an MFC Windows C++ program ?
Whenever I Open/Save a file using the CFileDialog, it adds it OK. Whenever I open my applicatio...
Dear Sirs,
I am able to get the following MAS90 VI job to run from the command prompt
"C:\Program Files\Sage Software\MAS 90\Version4\MAS90\Home\pvxwin32.exe" ..\launcher\sota.ini "...
Hi All,
Greetings...
I m new to visual c++. I have two different applications. once is MFC application and the other is win32 console application. i want to get the data from MFC application...
I am finding myself in a situation where I have a main dialog with children dialogs , such as tabs pages etc, where there is some sort of variable in the main dialog in which the children dial...
I use CListCtrl with report style to list some text with grids.
I would like to change the background color for some cells.
For example, if the user push button A, the background for the cel...
Hi,
anyone here who can give me a short sample of how to paint a rectangle, filled with grey, and a 1 pixel black border on a dialog with GDI+? I use VS 2005 and try it on a dialogbased ap...
Hi,
I have a dialog box which has a combo box on main page, and tabs below the combo box (tabs are implemented using sheet and page)
refer to this:
http://www.experts-exchange.com/Programmi...
None of the implicit linking methods work in this situation.
I have assembled a small sample solution that I desperately need an expert to look at.
The projects are Device, DevWrap and TestB...
Hi,
I am really having trouble understanding why the List changed functions of listbox and listctrl behave differently.
In my application i have 2 controls, a listbox and a list control.
fo...
Hiya
I have an object which I want to create an array of e.g. 5 objects. I want to create these objects on the heap (rather than the stack). The object has a constructor which takes two int...
Hello,
I have a CTreeView in my application. I'd like to move its CTreeCtrl a little bit - at the moment, it is in the upper left hand corner of then CTreeView. I'd prefer to have a bit of ...
Ok here's the scenario:
I have a custom combo box with Owner Draw being set to variable. In my DrawItem Function, I used dc.DrawText() to draw the text in my combo box. I have implemented...
Hi Experts,
I end my program but the debugger doesn't exit - there is something causing my code to wait - and only when I do a certain sequence of events. However, I appear to be destructi...
I have an MFC Dialog application with an outline of the code shown in the code snippet below. Conceptually, I display a Login Dialog, when login is successful, I display a splash screen while...
Hiya
Is there a way to make an existing font bold without creating a new font?
That is, suppose I have a font called fontA, can I modify it to be bold or create a copy of it but make it ...
Ah hello.
I have a very simple dialog application, and am trying to accomplish two tasks with tooltips:
1 ) Get the tooltip to track with the mouse movement,i.e. follow the mouse cursor ...
I often declare/define an Empty() member function for my classes, to make sure it's in a known
state with all held resources released.
I call this Empty() member in my constructors and des...
I have tried to implement the editable CListCtrl by browsing some solutions on the internet.
In one solution, it coded:
void CEditableList::OnLButtonDblClk(UINT nFlags, CPoint point)
{
....
I am using eVC along with MFC for Windows CE 5.0. I would like to be able to resize a textbox and have the font resize along with it.
I already know how to change a font for a textbox, what...