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: abing
  • Order by date
  1. abing

    circle

    Or make half a quadrant and mirror across the line x=y ie. xmirror = y ymirror = x So only 1/8 of the points on a circle need trig/floating point calculation, the other 7/8 are reflections. abing734@yahoo.com
  2. abing

    circle

    make one quadrant... for (theta = 0; theta <= PI/2; theta+= delta) { x = radius * Cos(theta); y = radius * Sin(theta); [ or y = sqrt(rr - x * x) ] ... the other quadrants are -x,y x,-y -x,-y } abing734@yahoo.com
  3. abing

    Hide PAssword characters - How?

    OK, Just check the &quot;Password&quot; box, that wasnt so hard abing734@yahoo.com
  4. abing

    Dialog based application scoping problem

    Send a Message back to the Application Dialog. see http://www.codeproject.com/dialog/messagehandling2.asp BUT I got along fine doing this for &quot;PrintME&quot; - I send a message from a child dialog to the main dialog, which knows the CWnd of the child and so can print it. However one day...
  5. abing

    Hide PAssword characters - How?

    How do I get User input of password as *********** - Is there an easy way, apart from GetChar or somesuch- ever since DOS died Wind has has indigestion over character input - please dont ask me to trap PreTranslate or some other Wind mumbo-jumbo. abing734@yahoo.com
  6. abing

    Adding a column to DataGrid ...

    I used DataGrid then I discovered they only work in MDAC 2.6 Change to MDAC 2.7 and MFC++ drops them, [this is an irreversable change...] I believe VB still has them. (Basic is becomming the Data access language, C++ is being orphaned.. our beloved founder evidently has fond memories of Basic)...
  7. abing

    HOW DOES ONE USE THE SRAND AND RAND() FUNCTIONS

    using rand: Do this Once only: LARGE_INTEGER gint; QueryPerformanceCounter(&gint); // srand(gint.LowPart); Do this every time you need a random number 2..10 int p = (rand() % 9) + 2 ;
  8. abing

    Creaky: Message &amp; Modal Dialog

    So far I have MFC: 1) sending a &quot;Delete&quot; message when the &quot;Close&quot; button is clicked. So I cant rely on a component giving the correct msg 2) spawning CScroll messages when the scroll is dragged [case SB_THUMBTRACK] despite a modal dialog box being shown. So I cant rely...
  9. abing

    MFC creaky in Messages &amp; Modal Dialogs

    sorry, wrong forum I should be in Microsoft Visual C++ NOT C++ ; Microsoft....
  10. abing

    MFC creaky in Messages &amp; Modal Dialogs

    So far I have MFC: 1) sending a &quot;Delete&quot; message when the &quot;Close&quot; button is clicked. So I cant rely on a component giving the correct msg 2) spawning CScroll messages when the scroll is dragged [case SB_THUMBTRACK] despite a modal dialog box being shown. So I cant rely...
  11. abing

    VS6 insists on HTML &quot;Do You Wish to Debug&quot;

    I got this from MSoft newsgrp: from &quot;Max[MS]&quot; <max@online.microsoft.com> 1. Open IE, click Tools->Internet Options. 2. In the Advanced tab, check Browsing/Disable script debugging. I dont know for sure, but I bet it works... abing
  12. abing

    C++ Random Number Generator?

    Seed: LARGE_INTEGER gint; QueryPerformanceCounter(&gint); srand(gint.LowPart ); QueryPerformanceCounter is much better than the clock (ticks millions of times/second)
  13. abing

    VS6 insists on HTML &quot;Do You Wish to Debug&quot;

    Since I Installed Visual Studio 6 it finds errors in half the Web pages I visit, & flashes &quot;An error has occurred Do You Wish to Debug&quot; - how can I kill this fatuous toad? abing734@yahoo.com

Part and Inventory Search

Back
Top