Hi:
I have a rather large program written using Visual C++ 6.0. It is a dialog-based MFC application.
I've made the switch to Visual C++ .NET 2003 now, and would like some opinions on the following predicament:
I would like to use some third-party NET Winform objects...an Iocomp Software...
Hi all,
I've been using vectors of CStrings in various functions in my code. I'd like to make one of them a class member variable
In the function, I declare it as such:
vector<CString> vec(100,"");
where it has a size and is initialized.
when I attempt to put this same line under the...
Probably a very easy question...thanks for your patience in answering it.
I'm trying to combine two 16 bit words into 1 32 bit DWORD...the two 16 bit words are contained in unsigned ints.
which operator can combine these in this way?
Thanks very much
Hi again,
Does anyone know whether you can set the Windows File Dialog to show/sort by Date Modified programmatically using CFileDialog?
In other words, does CFileDialog have a flag to be set that defaults to a "Details" view when the DoModal is called?
Thanks for your help
Hi,
Does anyone know of a way to programmatically size the window created by calling a DoModal on a CFileDialog...
it opens to a default size and i need to make it bigger.
Thanks in advance,
DT
Hi,
I'm trying to draw some simple bitmaps onto a dialog based VC6 app.
I'd like to be able to set the color of individual pixels (and/or groups of pixels)
CDC *pDC;
pDC = (CDC*)&dc;
CBitmap Bmp;
CBrush brBits;
WORD wBits[] = { 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF }...
Hi,
I'm trying to write a C++ routine to read a JPEG and convert it into a 100x100 array with values proportional to the color (i.e. red = 100, white = 0).
Does anyone know of a bit of code or at least a resource?
Thanks,
Hi everyone,
I'm trying to change the menu text of a VC6 dialog application dynamically.
Basically i want to set the menu title itself to a string retreived from another bit of code. Anyone know how to do this?
Thanks in advance,
DT
Hi everyone, i need some help with dialog windows in Visual C++ 6.
I create a new dialog window under the resource view tab and call it from the code of a previous dialog window using:
CDialog dlg(IDD_MYSECONDDLG);
dlg.DoModal();
and that works fine, trouble is any buttons i insert in the new...
Hi, i'm fairly new to working with binary files
How can i strip the last TWO bits off a 32 bit word?
i was doing something like
void First12bits(unsigned short* memblock)
{
*memblock = (*memblock & 0x0FFF);
}
to get the first 12 bits previously,
Thanks for the help
Dan
hi there,
i'm fairly new to C++. I'm just trying to write code
that will copy a file to a new directory with a different name. I was trying to use CFile read and write commands but i can't seem to get the data from one file to appear in the other.
any suggestions are really appreciated.
thanks
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.