I am trying to build a C++ MFC stand-alone application that doesn't required an installation procedure, and I'd like to not HAVE to include DLLs with the application.
I have accomplished th...
I have an application that under certain circumstances pops up a window for people to enter information into. I have an installation out in the field where they want that window to always be ...
Hi there-
I've got this MFC app -- full of UI and stuff. I want to run as a service, and I need some advice.
What would it take to convert to service?
1) Can I run as an interactive s...
Hi,
I have a function in a DLL: initialize(const TCHAR key[])
How i can make a char[35] "XXXXXX-XXXXXX-XXXXXX-XXXXXX-XXXXXX"
To a Unicode Char (widechar) to give it to the DLL?
Thanks,...
Hi Experts,
I've created a separate dll which holds my string table and dialogs that I want to translate. I loaded this library and properly set it as my resource handle with AfxSetResourc...
Hiya
Is it possible to draw a font in a view so that anything that is "underneath" it can be seen through it. That is, the font is semi transparent?
Can anybody supply some sample code t...
Hiya
I have declared an array of objects i.e.
CArray <CMyClass*, CMyClass*> my_array;
I would like to pass this array into a function. How do I do this i.e. what is the function decla...
Hi,
I have a CPropertySheet with three Pages (tabs).
In the first two pages the Help button is enabled.
In the third page, the Help button is disabled.
Hello Zoppo,
again me.....
When I fill up the MultiColumnComboBox I got this error...stop at:
output.c
something in my string str_Zahlungsbedingungentext makes this error.
I don“t know wh...
I have created a MFC tabbed dialog. During the main dialog's OnInitDialog(), child windows are created and initialized for each tab.
m_ChildDlg.Create(IDD_CHILD_DIALOG, this);
At the ...
Hi Experts,
I have a png image which honors the transparent background on 1 PC, but on the other, it shows up as a light cyan color. The image is being displayed in a Windows Explorer contro...
I have two CBitmapButtons. One is dragable by the mouse, the other is static on the screen. It is essentially a slider control made just from CbItmapButtons.
In, OnInitDialog() I call,
Bu...
Hello,
I am having a little trouble with the CDockablePane class.
When I am hiding the panes on the size of my application using the small pin, then the panes are correctly hidden on the sid...
Hello Zoppo,
one last question. From the start I had to REM this
code in DrawButton(CDC * pDC, CRect r, BOOL bDown):
/*
CBitmap bitmapOEM;
//if (bitmapOEM.LoadOEMBitmap(OBM_COMBO))
...
Hello everyone,
I have a question regarding the :: operator and what it does in the background.
I have a class CStdioFileEx that is a child of CStdioFile.
I re-wrote the function WriteStrin...
I have made an application and making a installation wizard using Visual Studio 2005 Setup Wizard project. Now, I need:
1. Client PC install Sql 2005 Express, if not, setup wizard will guild ...
Hi Experts,
I have code working on one machine but not the other. I am loading a dll in which the full path is specified as a parameter to LoadLIbraryA:
On one machine I always get the er...
How do you SetItemData in a CTreeCtrl
My Code:
strItems[0]= _T("Reports");
strItems[1]= _T("Construction");
strItems[2]= _T("Materials");
HTREEITEM hReportsItemRoot= m_cTree.Inser...
I have the following exception not always when i try to open a recordset table with visual c++.
out of memory.
I give the exact code in the txt file
How is it possible to disable internal scrollbar control to manage keyboard accelerators (like arrow left, arrow right, ...) ?
I want that the scrollbar can only be used with the mouse.
I have a CTreeCtrl with checkboxes.
I have already a message handler:
The checkbox of a single item can be toggled by
NM_CLICK notification and CListCtrl::SetCheck(..)
But when i perform...
Hi Experts,
Let us suppose that I have two user accounts in my PC (XP or Vista) -- UserA (admin) and UserN (normal non-admin user). And I am logon windows as UserN. At the same time, I know...
Windows 7 (pro)
VS2008 (pro)
MFC code.
When the focus is in a CEdit control and F1 is pressed.
Windows 7 pops up a message that .... .hlp file could not be found.
I trapped VK_F1 in P...
Hi Experts,
I would like to ask a few question, I will put them in one thread because they all are related to my issue. I would like to choose one solution, but not sure if some of them are...
Is there a way of running VB lines in MFC? Just like system() is used for MS DOS commands?