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 SkipVought 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: *

  1. cjwinter

    Synchronisation ????

    Don't know if this would be any good. Check out QueryPerformanceCounter and when you know how it works you could do a check in the main loop in you prog if timepassed == 192,000th of a second then read next 64bytes from the file. Thats the only thing I can think of off the top of my head, and...
  2. cjwinter

    DirectX Books

    I've spent hundreds on books, The best I've found for a beginner to intermediate introduction to direct3D is The Zen of Direct3D Programming by Peter Walsh. You can buy it at Amazon.Com. Very clear and very helpful in the push to picking up Direct3D and it's main concepts quickly. Focuses on DX8.0
  3. cjwinter

    Texture Coordinate Assignment - Help

    I have almost finished my own 3D Modeler but am having some problems with assigning texture coords I have wrote some routines to assign texture coords but none apply the way I want to my object. Basically the problem is this. I have used vertex and index buffers to build my objects from my own...
  4. cjwinter

    User interfaces in C++

    Go to http://www.amazon.com. Look under the books section for the following. Programming Windows (Fifth Edition), The Definitive guide to the Win32 API Charles Petzold - Dec 1998. IT's Definitly worth the money and will give you all the info you need to start you off and keep you going for a...
  5. cjwinter

    Reading integers from a file.

    Oops forget to check for the comma between the two numbers within the braces but I'm sure you can work that bit out by adding extra character checks. HINT when checking for the closing brace check for both the comma and the closing brace and when checking for an opening brace check for both an...
  6. cjwinter

    Reading integers from a file.

    Try this. Not saying it's perfect but it'll help you get started thinking about it. Havn't tested though so may have bugs. Hope not. Look correct Personally when designing a file format I would know how big each piece of data is in the file and pad it in with spaces where it is too short then I...
  7. cjwinter

    Can you add a Propsheetpage to a tabctrl??

    Not sure if this is possible. I know how to use PROPSHEETHEADER and PROPSHEETPAGE structures to create a tabcontrol dialog box, but want to attach this to a Dialog page with other controls. I know the other method in the dialog box designer is you can add a tabctrl onto your page using the...
  8. cjwinter

    New to C++, can't get GETWINDOWTEXT to work at all!!

    Hi issahar, I think your getting confused. Amandak wrote the original message saying GetWindowText didn't work. He mentioned he wanted to extract data from a text box. I thought I'd help out and advise that he uses GetDlgItemText as it's better for extracting from controls as you can use...
  9. cjwinter

    New to C++, can't get GETWINDOWTEXT to work at all!!

    It's easier to use GetDlgItemText // At the top of your prog define this #define MAX_CHAR 32 // In your function make a sting variable for storage char szTempString[MAX_CHAR]; // Read the text from the control GetDlgItemText(hDlg,ID_CONTROL, szTempString, (MAX_CHAR-1)); The first member is...
  10. cjwinter

    Can you add a Propsheetpage to a tabctrl??

    Not sure if this is possible. I know how to use PROPSHEETHEADER and PROPSHEETPAGE structures to create a tabcontrol dialog box, but want to attach this to a Dialog page with other controls. I know the other method in the dialog box designer is you can add a tabctrl onto your page using the...

Part and Inventory Search

Back
Top