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!

Search results for query: *

  • Users: BM
  • Content: Threads
  • Order by date
  1. 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
  2. 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
  3. 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
  4. 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
  5. 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...
  6. BM

    Maths functions

    Anyone know of a header file which contains functions for secant/cosecant? Barry M
  7. 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
  8. 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
  9. 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
  10. 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
  11. 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
  12. BM

    Win32 API Comm sample TTY - Porting to MFC format

    I am trying to port the TTY sample program to the MFC environment(having given up on the VCTERM sample) and am getting a type cast fault in the CreateThread statement.<br>Has anyone out there tried this port or can throw any light on the fault.&nbsp;&nbsp;I would be happy to send more details of...
  13. BM

    Missing ? library file when compiling VCTERM

    Hi,<br>I am trying to compile the Sample file VCTERM and am getting the message &quot;cannot open mfc40.lib&quot; at the linking stage.&nbsp;&nbsp;Anyone had this problem and solved it?<br><br>Thanks<br><br>Barry<br>
  14. BM

    CDC::SetTextColor always gives black. (must be Henry Ford)!

    Hi all<br>I am trying to set a text color to red and keep getting black, this also happens when I try to create a pen in red.&nbsp;&nbsp;Is this a palette fault? If not anyone know what it is?<br><br>Thanks<br><br>Barry
  15. BM

    Setting pathname for CFileDialog box

    I would like to set the pathname for a CFileDialog box so that the directory is the same as that in which the .exe file resides.&nbsp;&nbsp;Is there a neat way of setting up the pathname in the CFileDialog statement to avoid the default?<br><br>Barry M<br>
  16. BM

    Moving an image across a background

    I am trying to implement a program based on the DIBDEMO program.&nbsp;&nbsp;I have tried to introduce scolling into the program but although the image goes to the correct place it is 'clipped' progressively smaller.&nbsp;&nbsp;I suspect that this has to do with DP & LP coords but cannot see how...

Part and Inventory Search

Back
Top