Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: japhy
  • Order by date
  1. japhy

    Looking for Opinions: .NET/MFC

    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...
  2. japhy

    Problem with Vector-Type Member Variable

    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...
  3. japhy

    Bit Question from a Newbie

    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
  4. japhy

    Sort by Date Modified

    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
  5. japhy

    CFileDialog question

    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
  6. japhy

    Help Drawing Bitmaps

    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 }...
  7. japhy

    JPEG to &quot;Pixel&quot; Data

    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,
  8. japhy

    Change Menu Text Dynamically

    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
  9. japhy

    New Dialog Windows

    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...
  10. japhy

    2 bits off a word

    Thanks very much
  11. japhy

    2 bits off a word

    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
  12. japhy

    copy file to new directory

    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

Part and Inventory Search

Back
Top