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 bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by BM

  1. BM

    Service packs for VStudio/VC++

    Thanks Monguse, I will try that. Barry
  2. BM

    Service packs for VStudio/VC++

    Hi all, Anyone know how to get service pack 5 for VStudio, in the UK, without downloading hundreds of Mbytes over the net. (very time consuming and expensive). There are smaller downloads but they appear not to contain CVC++ info. Thanks Barry
  3. BM

    FLOAT type number & Bytes

    Hi Matt, thanks for the reply, I will try that Barry
  4. BM

    FLOAT type number & Bytes

    Hi all, Anyone know a good clean way of extracting a FLOAT type number from four bytes in byte array? Thanks. Barry
  5. BM

    CDib class

    Hi all, I have used a CDib class in the past but on my new PC with Windows ME it causes problems, does anyone know if there is an up to date version or a good alternative, perhaps with the ability to load files other than .bmp? Thanks Barry
  6. BM

    Font list in windows

    Hi, Does anyone know where windows stores it's font list? I would like to print a sample of each font on my PC, is there a program around that does this already? Thanks Barry M
  7. BM

    CTreeView & CImageList

    Hi, I am using CTreeView to list some files and would like the root to have a different image to the rest of the Items. Also I would like the images to change on selection. How do I arrange the CImageList to do this and how do I access bitmaps in it from the insert statement, how do I change...
  8. BM

    Maths functions

    Anyone know of a header file which contains functions for secant/cosecant? Barry M
  9. BM

    Win32 & MFC window handles again

    Hi Pete, My piece of global code is using the HWND normally passed to WinProc; it uses it to perform a SetWindowLong for a structure. When I pass the result of AfxGetMainWnd to the code it crashes, am I using the wrong routine to get the HWND? The application is SDI. Thanks Barry
  10. BM

    Win32 & MFC window handles

    Hi, In a Win32 application CreatwWindow returns an HWND which can be utilised in the program, in the MFC window creation process this handle is not apparent, how do I access it? I know I should be using pointers but I am using some Win32 code chunks in the global area. Thanks Barry
  11. BM

    COM port cutting up incoming data

    Hi I am reading from the COM1 port, data at 4800 baud, and the mesages are being split into 8 char chunks after the initial message looks OK. I think that it may be a timing fault, any ideas ? Thanks Barry
  12. BM

    How do I activate the TRACE facility?

    Hi, I am trying to utilise the TRACE facility in VC++6.0. I have put TRACE statements in my program but have no output, does it print into the debug area or does it have a separate window or have I not activated it properly?? Barry M
  13. BM

    Accesing a View from a global Function

    Hi out there, How do I get a View to perform an OnDraw from a Global Function and what parameter do I need to pass to the Function? The function will be a Thread when I get it to work!! Barry M
  14. BM

    Win32 API Comm sample TTY - Porting to MFC format

    Hi Pete, Thanks for the reply, my first efforts were indeed in a Document but I had problems getting the thread class to accept the CommWatch function. Does this routine have to be global? I would appreciate any pointers as to how the CWinThread functions might be implemented. Thanks again Barry
  15. BM

    Win32 API Comm sample TTY - Porting to MFC format

    Hi again Pete, I have tried to do the threads on my own but have failed miserably. I have taken a standard MFC SDI application and tried to follow the TTY layout, Open Setup etc, inside the MainFrame Class, allowing Documents to access the input. Is this the best way to do it or is there a...

Part and Inventory Search

Back
Top