Search Results - CodeGuru Forums
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: TDM

Page 1 of 24 1 2 3 4

Search: Search took 0.03 seconds.

  1. Replies
    5,488
    Views
    687,593

    Re: The "last one to post on this thread wins" Thread

    Number 9.....Number 9...Number 9.....
  2. Thread: Fear the Turtle

    by TDM
    Replies
    37
    Views
    1,810

    Re: Fear the Turtle

    ....Does Maryland still have a basketball team?
  3. Replies
    2
    Views
    407

    Re: UNICODE with CString...

    Try CStringT
  4. Re: DrawText Problem Figuring Out the Size of a Radio Button

    Resizing controls can be tricky. The following may be helpful.

    Sometimes the GetSystemMetrics function can help. For instance the height of a combo box is the same as the arrows on a scroll bar...
  5. Replies
    4
    Views
    1,009

    Re: Question for Bitmap Decoding

    The number of bytes in each line in the bitmap must be evenly divisible by 4, if it isn't windows will pad the the line with either 1, 2 or 3 bytes to make it evenly divisible by 4.

    In the bitmap...
  6. Replies
    2
    Views
    888

    Re: ReadFile() interferes in WriteFile()

    Overlapped IO
  7. Replies
    5,488
    Views
    687,593

    The limit of hysteresis as the percent cell...

    The limit of hysteresis as the percent cell approaches 100 is zero. :eek:
  8. Replies
    7
    Views
    765

    Hi, A better choice might be to pass a pointer...

    Hi,

    A better choice might be to pass a pointer to the CStatic rather than declare a whole new CStatic. For example :


    CGameConsoleDlg:DoIt(CStatic *X,int SERIAL)

    and then to call the...
  9. Thread: Changing cursor

    by TDM
    Replies
    2
    Views
    689

    RE: Cursoresis

    One method might be to process the WM_SETCURSOR message (OnSetCursor )if you want to change the cursor according to events in the program:


    BOOL CGraphWnd::OnSetCursor(CWnd* pWnd, UINT nHitTest,...
  10. Replies
    5,488
    Views
    687,593

    Am I still here? :sick:

    Am I still here? :sick:
  11. Replies
    5,488
    Views
    687,593

    m_RootLine->NextLine=m_SelectedLine->NextLine;...

    m_RootLine->NextLine=m_SelectedLine->NextLine;
    m_SelectedLine->NextLine->PrevLine=m_RootLine;
    delete m_SelectedLine;
    m_SelectedLine=m_RootLine->NextLine;
    m_SelectedSeg=m_SelectedLine->LastSeg;
  12. Replies
    8
    Views
    678

    I had a similar problem. I have a progragram...

    I had a similar problem. I have a progragram where the user can dump the client to a BMP file. But it would capture the file dialog. So what I did was basically do the DoModal for the file dialog...
  13. Replies
    8
    Views
    678

    Here are 2 functions that are useful. DumpClient...

    Here are 2 functions that are useful. DumpClient copys the client contents to a member Bitmap and RestoreClient takes the copies the member bitmap (m_ClientBmp) back to the client. The contents of...
  14. Since you specified different item's height ,I am...

    Since you specified different item's height ,I am guessing you used ownerdraw variable and not owner draw fixed? In the DrawItem function (or other places) you can use SetItemHeight to set the height...
  15. ....and after looking at the code I see that you...

    ....and after looking at the code I see that you have used char Test[25]. So.....


    void ConvertTest(char *input)
    {
    double usDollar=0.0;
    double test=atof(input);
    printf("test =...
  16. Try atof(): double Num=atof(Test[0]); ...

    Try atof():


    double Num=atof(Test[0]);

    This assumes that Test is an array of strings (ex. char *Test[10], char **Test or similar).

    TDM
  17. The attachment in this...

    The attachment in this thread might provide some insight.

    TDM
  18. Replies
    3
    Views
    1,198

    The original post indicated the sum of the bytes...

    The original post indicated the sum of the bytes and also indicated checksum. I always understood the checksum to be the 2's complement of the sum of the bytes. Therefore the checksum is actually...
  19. Thread: Get Substring

    by TDM
    Replies
    3
    Views
    2,562

    RE: Get substring

    If you have VC.net which uses the "new" CSimpleStringT you can use Tokenize which works like the old strtok. Otherwise you can do it with CString::Find, CString::Mid and a while loop.

    TDM
  20. Replies
    11
    Views
    12,245

    Yes, Since my original responses in this thread I...

    Yes, Since my original responses in this thread I have investigated different serial ports and different operating systems. The behavior of the DTR line differed with different UARTS and operating...
  21. Actually, to get the arrow keys you need to...

    Actually, to get the arrow keys you need to process the WM_KEYDOWN message and the WM_GETDLGCODE message. You should be aware that if an edit box has keyboard focus, the any keypresses will be...
  22. Replies
    938
    Views
    37,612

    TDM's words of wisdom volume 1: Always verify...

    TDM's words of wisdom volume 1:

    Always verify that there are plenty of crackers before you start cutting the cheese.
  23. Thread: timer question

    by TDM
    Replies
    4
    Views
    396

    It is unlikely that you will be able to achieve...

    It is unlikely that you will be able to achieve an accurate 10us pulse from Windows. It would be fairly simple to generate this with a simple hardware setup consisting of a suitable timer and a FET...
  24. Replies
    18
    Views
    1,334

    One method might be to greate a button on the...

    One method might be to greate a button on the dialog. Then after you type the string you want in the edit box, press the button to add the string to the list box. Create a handler for the button...
  25. Replies
    938
    Views
    37,612

    Made you look! BTW - I prefer definition 2-b....

    Made you look!

    BTW - I prefer definition 2-b.

    P.S. I swear I wasn't speeding ossifer.

    TDM
Results 1 to 25 of 591
Page 1 of 24 1 2 3 4


Azure Activities Information Page

Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center