Search:

Type: Posts; User: EmbeddedC

Search: Search took 0.01 seconds.

  1. Replies
    2
    Views
    1,943

    CEditView, how to display text on open

    I am creating an MDI app. Basically, the app will open binary files, and display the information contained in those files as text. The child windows are CEditView windows.

    I want the text to...
  2. Replies
    4
    Views
    2,267

    Thank you. I got it to work with: void...

    Thank you. I got it to work with:


    void CMDITest2View::OnLButtonDown(UINT nFlags, CPoint point)
    {
    CClientDC dc(this);
    CRect rect;
    CString string;

    string = "Hello World!";
  3. Replies
    4
    Views
    2,267

    Displaying Text on MDI child windows

    I am trying to display text on child windows. I made a handler for double clicks to display "hello world" on the current window, but it doesn't work. I have tried both DrawText and TextOut functions....
  4. Replies
    8
    Views
    1,335

    Hey thanks guys. This is just one of those...

    Hey thanks guys. This is just one of those questions interviewers ask. Appreciate the help.
  5. Replies
    8
    Views
    1,335

    Anyone know why....

    I ran the following program using the VC++ 6.0 compiler. The result is 14

    Can anyone please explain? I thought it would evaluate the expression as (6 + 7) which should have printed out 13.


    ...
Results 1 to 5 of 5