Search:

Type: Posts; User: Shag

Search: Search took 0.01 seconds.

  1. Replies
    3
    Views
    3,592

    Forget that - I've sussed it :)

    Forget that - I've sussed it :)
  2. Replies
    3
    Views
    3,592

    Thanks for that. Can you also explain how to...

    Thanks for that.

    Can you also explain how to add the manifest as a resource? I've tried following the MSDN examples, but I get error messages whenever I run the app without the manifest present....
  3. Replies
    3
    Views
    3,592

    Windows XP visual styles in C#?

    How do I go about enabling Windows XP visual styles when using C#?

    Is there a simple solution to this?

    Regards
  4. Changing Text/Background colours for window controls ...

    I'm making class wrappers for various window controls such as edit, static, progress etc. Similar in a way to the CEdit class etc - but much simplified.

    I've subclassed the winprocs in class...
  5. Replies
    3
    Views
    1,763

    Trouble is, it's not the end of the edit ...

    Trouble is, it's not the end of the edit ...
  6. Replies
    1
    Views
    7,118

    Basically the difference between the functions if...

    Basically the difference between the functions if the resolution (accuracy) of the returned value.

    GetTickCount only update every 11 milliseconds or so, whereas the resolution of timeGetTime is...
  7. Replies
    3
    Views
    1,763

    Subclassing edit control - slight problem

    OK ... I've subclassed an edit control to intercept the tab key (to move the focus to another edit control). This works fine apart from one small problem - everytime I hit the tab key the program...
  8. Replies
    1
    Views
    2,778

    Dialog resources as child windows ...

    Before I start, I'm using MS VC 6.0, and straight C + API only.

    I have created a very basic window - WS_EX_APPWINDOW + WS_OVERLAPPEDWINDOW - no other creation paramerters.

    What i want to do is...
  9. I finally got a machine to acturately test the...

    I finally got a machine to acturately test the two returning methods:

    VC++6 ... No optomisation, no inlining

    Worst case - the two were identical
    Best case - version two about 60% faster.
    ...
  10. Function calling - which is better, and why? ...

    OK ... which of these two is better, and why?

    Example 1


    void CHighResolutionTimer::SecondsElapsed(double *ElapsedTime)
    {
    QueryPerformanceCounter((LARGE_INTEGER*) &m_i64_ElapsedTime);...
  11. Thread: OpenGL

    by Shag
    Replies
    11
    Views
    1,554

    Besides ... about the most lengthy piece of code...

    Besides ... about the most lengthy piece of code in there sets up the PIXELFORMATDESCRIPTOR ... bearing in mind that ZeroMemory has already cleared most of it, you can reduce that piece of code to...
  12. Thread: OpenGL

    by Shag
    Replies
    11
    Views
    1,554

    It's nothing to do with OpenGL ... it's to do...

    It's nothing to do with OpenGL ... it's to do with creating an OpenGL window within the Microsoft Windows Operating System! And other OS's are much the same. What Eber is saying, is that he has a...
  13. Thread: OpenGL

    by Shag
    Replies
    11
    Views
    1,554

    Hi Eber! But that looks awfully like GLUT to...

    Hi Eber!

    But that looks awfully like GLUT to me! Which is a BAD thing! ... just my opinion though.
  14. Thread: OpenGL

    by Shag
    Replies
    2
    Views
    1,285

    eh? BTW - loose the daft signature!

    eh?

    BTW - loose the daft signature!
  15. Thread: floppy drives...

    by Shag
    Replies
    39
    Views
    7,106

    Poll: 5 1/4" floppy disks make great frisbies ....

    5 1/4" floppy disks make great frisbies ....
  16. Thread: glut

    by Shag
    Replies
    3
    Views
    1,907

    http://www.opengl.org/developers/documentation/glu...

    http://www.opengl.org/developers/documentation/glut.html
  17. Thread: OpenGL

    by Shag
    Replies
    11
    Views
    1,554

    Seeing as no one answered, this will look like...

    Seeing as no one answered, this will look like crap, but here goes


    HINSTANCE hInstance;
    HWND hWnd;
    HDC hDC;
    HGLRC hRC;
  18. Thread: glut

    by Shag
    Replies
    3
    Views
    1,907

    You need to download the glut headers, and put...

    You need to download the glut headers, and put then into your include/gl folder in you MSDEV driectory ... (search on google)

    But a word of advice - don't use glut unless you have too - too much...
  19. Thread: OpenGL

    by Shag
    Replies
    11
    Views
    1,554

    This is my first night on this board - how do I...

    This is my first night on this board - how do I post source formatted code?
  20. Thread: OpenGL

    by Shag
    Replies
    11
    Views
    1,554

    How do you mean? Using the Win32 API or maybe...

    How do you mean? Using the Win32 API or maybe Glut?

    Need more info ...
Results 1 to 20 of 20